@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") public class Employee extends ResourceType implements Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
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>
<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"/>
</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}string" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<CostCenter> |
costCenter |
protected List<Person> |
person |
protected String |
personalID |
protected List<String> |
roles |
protected String |
shift |
| Constructor and Description |
|---|
Employee() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
List<CostCenter> |
getCostCenter()
Gets the value of the costCenter property.
|
List<Person> |
getPerson()
Gets the value of the person property.
|
String |
getPersonalID()
Gets the value of the personalID property.
|
List<String> |
getRoles()
Gets the value of the roles property.
|
String |
getShift()
Gets the value of the shift property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setPersonalID(String value)
Sets the value of the personalID property.
|
void |
setShift(String value)
Sets the value of the shift property.
|
Employee |
withCostCenter(Collection<CostCenter> values) |
Employee |
withCostCenter(CostCenter... values) |
Employee |
withPerson(Collection<Person> values) |
Employee |
withPerson(Person... values) |
Employee |
withPersonalID(String value) |
Employee |
withRoles(Collection<String> values) |
Employee |
withRoles(String... values) |
Employee |
withShift(String value) |
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") protected List<Person> person
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") protected List<CostCenter> costCenter
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") protected String shift
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") protected List<String> roles
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") protected String personalID
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") public List<Person> getPerson()
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 person property.
For example, to add a new item, do as follows:
getPerson().add(newItem);
Objects of the following type(s) are allowed in the list
Person
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") public List<CostCenter> getCostCenter()
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 costCenter property.
For example, to add a new item, do as follows:
getCostCenter().add(newItem);
Objects of the following type(s) are allowed in the list
CostCenter
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") public String getShift()
String@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") public void setShift(String value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") public 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
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") public String getPersonalID()
String@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") public void setPersonalID(String value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") public Employee withPerson(Person... values)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") public Employee withPerson(Collection<Person> values)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") public Employee withCostCenter(CostCenter... values)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") public Employee withCostCenter(Collection<CostCenter> values)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") public Employee withShift(String value)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") public Employee withRoles(String... values)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") public Employee withRoles(Collection<String> values)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") public Employee withPersonalID(String value)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class ResourceType@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") public boolean equals(Object object)
equals in class ResourceType@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class ResourceType@Generated(value="com.sun.tools.xjc.Driver", date="2016-04-20T01:26:59+02:00", comments="JAXB RI v2.2.11") public int hashCode()
hashCode in class ResourceTypeCopyright © 2016. All rights reserved.