public class Employee extends ResourceType implements 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 List<CostCenter> |
costCenters |
protected String |
personalID |
protected List<Person> |
persons |
protected List<String> |
roles |
protected String |
shift |
| Constructor and Description |
|---|
Employee() |
| Modifier and Type | Method and Description |
|---|---|
List<CostCenter> |
getCostCenters()
Gets the value of the costCenters property.
|
String |
getPersonalID()
Gets the value of the personalID property.
|
List<Person> |
getPersons()
Gets the value of the persons property.
|
List<String> |
getRoles()
Gets the value of the roles property.
|
String |
getShift()
Gets the value of the shift property.
|
void |
setPersonalID(String value)
Sets the value of the personalID property.
|
void |
setShift(String value)
Sets the value of the shift property.
|
protected List<CostCenter> costCenters
protected String shift
protected String personalID
public 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 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 String getShift()
Stringpublic void setShift(String value)
value - allowed object is
Stringpublic List<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 String getPersonalID()
StringCopyright © 2012. All Rights Reserved.