public class Employee extends ResourceType implements java.io.Serializable
Java class for Employee complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Employee">
<complexContent>
<extension base="{http://www.CIP4.org/JDFSchema_2_0}ResourceType">
<sequence>
<choice>
<element ref="{http://www.CIP4.org/JDFSchema_2_0}Person" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.CIP4.org/JDFSchema_2_0}CostCenter" maxOccurs="unbounded" minOccurs="0"/>
</choice>
</sequence>
<attribute name="Shift" type="{http://www.CIP4.org/JDFSchema_2_0}string" />
<attribute name="Roles" type="{http://www.CIP4.org/JDFSchema_2_0}NMTOKENS" />
<attribute name="PersonalID" type="{http://www.CIP4.org/JDFSchema_2_0}shortString" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<CostCenter> |
costCenters |
protected java.lang.String |
personalID |
protected java.util.List<Person> |
persons |
protected java.util.List<java.lang.String> |
roles |
protected java.lang.String |
shift |
| Constructor and Description |
|---|
Employee() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CostCenter> |
getCostCenters()
Gets the value of the costCenters property.
|
java.lang.String |
getPersonalID()
Gets the value of the personalID property.
|
java.util.List<Person> |
getPersons()
Gets the value of the persons property.
|
java.util.List<java.lang.String> |
getRoles()
Gets the value of the roles property.
|
java.lang.String |
getShift()
Gets the value of the shift property.
|
void |
setPersonalID(java.lang.String value)
Sets the value of the personalID property.
|
void |
setShift(java.lang.String value)
Sets the value of the shift property.
|
protected java.util.List<CostCenter> costCenters
protected java.util.List<Person> persons
protected java.lang.String shift
protected java.util.List<java.lang.String> roles
protected java.lang.String personalID
public java.util.List<CostCenter> getCostCenters()
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 costCenters property.
For example, to add a new item, do as follows:
getCostCenters().add(newItem);
Objects of the following type(s) are allowed in the list
CostCenter
public java.util.List<Person> getPersons()
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 persons property.
For example, to add a new item, do as follows:
getPersons().add(newItem);
Objects of the following type(s) are allowed in the list
Person
public java.lang.String getShift()
Stringpublic void setShift(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<java.lang.String> getRoles()
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 roles property.
For example, to add a new item, do as follows:
getRoles().add(newItem);
Objects of the following type(s) are allowed in the list
String
public java.lang.String getPersonalID()
Stringpublic void setPersonalID(java.lang.String value)
value - allowed object is
StringCopyright © 2012. All Rights Reserved.