Class Employee

java.lang.Object
org.cip4.lib.xjdf.schema.Employee
All Implemented Interfaces:
Serializable

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public class Employee extends Object implements Serializable

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="{http://www.CIP4.org/JDFSchema_2_0}Person" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="CostCenterID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
       <attribute name="PersonalID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
       <attribute name="Role" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
       <anyAttribute processContents='lax' namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • person

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected List<Person> person
    • costCenterID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected String costCenterID
    • personalID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected String personalID
    • role

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected String role
  • Constructor Details

    • Employee

      public Employee()
  • Method Details

    • getPerson

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public List<Person> getPerson()
      Gets the value of the person 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 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

      Returns:
      The value of the person property.
    • getCostCenterID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public String getCostCenterID()
      Gets the value of the costCenterID property.
      Returns:
      possible object is String
    • setCostCenterID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public void setCostCenterID(String value)
      Sets the value of the costCenterID property.
      Parameters:
      value - allowed object is String
    • getPersonalID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public String getPersonalID()
      Gets the value of the personalID property.
      Returns:
      possible object is String
    • setPersonalID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public void setPersonalID(String value)
      Sets the value of the personalID property.
      Parameters:
      value - allowed object is String
    • getRole

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public String getRole()
      Gets the value of the role property.
      Returns:
      possible object is String
    • setRole

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public void setRole(String value)
      Sets the value of the role property.
      Parameters:
      value - allowed object is String
    • getOtherAttributes

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public Map<QName,String> getOtherAttributes()
      Gets a map that contains attributes that aren't bound to any typed property on this class.

      the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

      Returns:
      always non-null
    • withPerson

      public Employee withPerson(Person... values)
    • withPerson

      public Employee withPerson(Collection<Person> values)
    • withCostCenterID

      public Employee withCostCenterID(String value)
    • withPersonalID

      public Employee withPersonalID(String value)
    • withRole

      public Employee withRole(String value)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object