Class Person
-
- All Implemented Interfaces:
public class PersonJava 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="{}PersonName"/> <element ref="{}PersonId"/> <element ref="{}BirthDate" minOccurs="0"/> <element ref="{}Address" maxOccurs="unbounded" minOccurs="0"/> <element ref="{}Tele" maxOccurs="unbounded" minOccurs="0"/> <element ref="{}Nationality" minOccurs="0"/> <element ref="{}ModifyDate" minOccurs="0"/> </sequence> <attribute name="sex"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="M"/> <enumeration value="F"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description Person()
-
Method Summary
Modifier and Type Method Description PersonNamegetPersonName()Gets the value of the personName property. voidsetPersonName(PersonName value)Sets the value of the personName property. PersonIdgetPersonId()Gets the value of the personId property. voidsetPersonId(PersonId value)Sets the value of the personId property. BirthDategetBirthDate()Gets the value of the birthDate property. voidsetBirthDate(BirthDate value)Sets the value of the birthDate property. List<Address>getAddress()Gets the value of the address property. List<Tele>getTele()Gets the value of the tele property. NationalitygetNationality()Gets the value of the nationality property. voidsetNationality(Nationality value)Sets the value of the nationality property. ModifyDategetModifyDate()Gets the value of the modifyDate property. voidsetModifyDate(ModifyDate value)Sets the value of the modifyDate property. StringgetSex()Gets the value of the sex property. voidsetSex(String value)Sets the value of the sex property. -
-
Method Detail
-
getPersonName
PersonName getPersonName()
Gets the value of the personName property.
- Returns:
possibleobject is PersonName
-
setPersonName
void setPersonName(PersonName value)
Sets the value of the personName property.
- Parameters:
value- allowed object is PersonName
-
getPersonId
PersonId getPersonId()
Gets the value of the personId property.
- Returns:
possibleobject is PersonId
-
setPersonId
void setPersonId(PersonId value)
Sets the value of the personId property.
- Parameters:
value- allowed object is PersonId
-
getBirthDate
BirthDate getBirthDate()
Gets the value of the birthDate property.
- Returns:
possibleobject is BirthDate
-
setBirthDate
void setBirthDate(BirthDate value)
Sets the value of the birthDate property.
- Parameters:
value- allowed object is BirthDate
-
getAddress
List<Address> getAddress()
Gets the value of the address property.
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
setmethod for the address property.For example, to add a new item, do as follows:
getAddress().add(newItem);Objects of the following type(s) are allowed in the list Address
- Returns:
Thevalue of the address property.
-
getTele
List<Tele> getTele()
Gets the value of the tele property.
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
setmethod for the tele property.For example, to add a new item, do as follows:
getTele().add(newItem);Objects of the following type(s) are allowed in the list Tele
- Returns:
Thevalue of the tele property.
-
getNationality
Nationality getNationality()
Gets the value of the nationality property.
- Returns:
possibleobject is Nationality
-
setNationality
void setNationality(Nationality value)
Sets the value of the nationality property.
- Parameters:
value- allowed object is Nationality
-
getModifyDate
ModifyDate getModifyDate()
Gets the value of the modifyDate property.
- Returns:
possibleobject is ModifyDate
-
setModifyDate
void setModifyDate(ModifyDate value)
Sets the value of the modifyDate property.
- Parameters:
value- allowed object is ModifyDate
-
-
-
-