Class Person
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="{}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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BirthDateprotected ModifyDateprotected Nationalityprotected PersonIdprotected PersonNameprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the address property.Gets the value of the birthDate property.Gets the value of the modifyDate property.Gets the value of the nationality property.Gets the value of the personId property.Gets the value of the personName property.getSex()Gets the value of the sex property.getTele()Gets the value of the tele property.voidsetBirthDate(BirthDate value) Sets the value of the birthDate property.voidsetModifyDate(ModifyDate value) Sets the value of the modifyDate property.voidsetNationality(Nationality value) Sets the value of the nationality property.voidsetPersonId(PersonId value) Sets the value of the personId property.voidsetPersonName(PersonName value) Sets the value of the personName property.voidSets the value of the sex property.
-
Field Details
-
personName
-
personId
-
birthDate
-
address
-
tele
-
nationality
-
modifyDate
-
sex
-
-
Constructor Details
-
Person
public Person()
-
-
Method Details
-
getPersonName
Gets the value of the personName property.- Returns:
- possible object is
PersonName
-
setPersonName
Sets the value of the personName property.- Parameters:
value- allowed object isPersonName
-
getPersonId
Gets the value of the personId property.- Returns:
- possible object is
PersonId
-
setPersonId
Sets the value of the personId property.- Parameters:
value- allowed object isPersonId
-
getBirthDate
Gets the value of the birthDate property.- Returns:
- possible object is
BirthDate
-
setBirthDate
Sets the value of the birthDate property.- Parameters:
value- allowed object isBirthDate
-
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:
- The value of the address property.
-
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:
- The value of the tele property.
-
getNationality
Gets the value of the nationality property.- Returns:
- possible object is
Nationality
-
setNationality
Sets the value of the nationality property.- Parameters:
value- allowed object isNationality
-
getModifyDate
Gets the value of the modifyDate property.- Returns:
- possible object is
ModifyDate
-
setModifyDate
Sets the value of the modifyDate property.- Parameters:
value- allowed object isModifyDate
-
getSex
Gets the value of the sex property.- Returns:
- possible object is
String
-
setSex
Sets the value of the sex property.- Parameters:
value- allowed object isString
-