|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dozer.vo.jaxb.employee.EmployeeType
public class EmployeeType
Java class for EmployeeType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EmployeeType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="FirstName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="BirthDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
<element name="LastName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="Ids" type="{http://jaxb.vo.dozer.org/Employee}ListOfIds"/>
<element name="Subordinates" type="{http://jaxb.vo.dozer.org/Employee}EmployeeType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected XMLGregorianCalendar |
birthDate
|
protected String |
firstName
|
protected List<Integer> |
ids
|
protected String |
lastName
|
protected List<EmployeeType> |
subordinates
|
| Constructor Summary | |
|---|---|
EmployeeType()
|
|
| Method Summary | |
|---|---|
XMLGregorianCalendar |
getBirthDate()
Gets the value of the birthDate property. |
String |
getFirstName()
Gets the value of the firstName property. |
List<Integer> |
getIds()
Gets the value of the ids property. |
String |
getLastName()
Gets the value of the lastName property. |
List<EmployeeType> |
getSubordinates()
Gets the value of the subordinates property. |
void |
setBirthDate(XMLGregorianCalendar value)
Sets the value of the birthDate property. |
void |
setFirstName(String value)
Sets the value of the firstName property. |
void |
setLastName(String value)
Sets the value of the lastName property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String firstName
protected XMLGregorianCalendar birthDate
protected String lastName
protected List<Integer> ids
protected List<EmployeeType> subordinates
| Constructor Detail |
|---|
public EmployeeType()
| Method Detail |
|---|
public String getFirstName()
Stringpublic void setFirstName(String value)
value - allowed object is
Stringpublic XMLGregorianCalendar getBirthDate()
XMLGregorianCalendarpublic void setBirthDate(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic String getLastName()
Stringpublic void setLastName(String value)
value - allowed object is
Stringpublic List<Integer> getIds()
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 ids property.
For example, to add a new item, do as follows:
getIds().add(newItem);
Objects of the following type(s) are allowed in the list
Integer
public List<EmployeeType> getSubordinates()
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 subordinates property.
For example, to add a new item, do as follows:
getSubordinates().add(newItem);
Objects of the following type(s) are allowed in the list
EmployeeType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||