@Generated(value="com.sun.tools.xjc.Driver", date="2014-02-21T04:13:17+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public class Persons extends ModelObject implements Cloneable
Java class for Persons complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Persons"> <complexContent> <extension base="{http://jomc.org/model}ModelObject"> <sequence> <element name="person" type="{http://jomc.org/model}Person" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Person> |
person |
authors, createDate, deprecated, documentation, MODEL_PUBLIC_ID, modelVersion
Constructor and Description |
---|
Persons()
Creates a new
Persons instance. |
Persons(Persons o)
Creates a new
Persons instance by deeply copying a given Persons instance. |
Modifier and Type | Method and Description |
---|---|
Persons |
clone()
Creates and returns a deep copy of this object.
|
List<Person> |
getPerson()
Gets the value of the person property.
|
getAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects, getAuthors, getCreateDate, getDocumentation, getModelVersion, isDeprecated, setAuthors, setCreateDate, setDeprecated, setDocumentation, setModelVersion
public Persons()
Persons
instance.public Persons(Persons o)
Persons
instance by deeply copying a given Persons
instance.o
- The instance to copy.NullPointerException
- if o
is null
.@Generated(value="com.sun.tools.xjc.Driver", date="2014-02-21T04:13:17+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public List<Person> getPerson()
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 person property.
For example, to add a new item, do as follows:
getPerson().add(newItem);
Objects of the following type(s) are allowed in the list
Person
@Generated(value="com.sun.tools.xjc.Driver", date="2014-02-21T04:13:17+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public Persons clone()
clone
in class ModelObject
Copyright © 2005–2014 The JOMC Project. All rights reserved.