public class PublicationStmt
extends java.lang.Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{}p" maxOccurs="unbounded"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
id |
protected java.util.List<P> |
p |
Constructor and Description |
---|
PublicationStmt() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
Gets the value of the id property.
|
java.util.List<P> |
getP()
Gets the value of the p property.
|
void |
setId(java.lang.String value)
Sets the value of the id property.
|
protected java.util.List<P> p
protected java.lang.String id
public java.util.List<P> getP()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the p property.
For example, to add a new item, do as follows:
getP().add(newItem);
Objects of the following type(s) are allowed in the list
P
public java.lang.String getId()
String
public void setId(java.lang.String value)
value
- allowed object is
String