Class Company

java.lang.Object
org.cip4.lib.xjdf.schema.Company
All Implemented Interfaces:
Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public class Company extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

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 name="OrganizationalUnit" type="{http://www.CIP4.org/JDFSchema_2_0}textElement" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="CompanyID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
       <attribute name="DescriptiveName" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="OrganizationName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <anyAttribute processContents='lax' namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • organizationalUnit

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected List<String> organizationalUnit
    • companyID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String companyID
    • descriptiveName

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String descriptiveName
    • organizationName

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String organizationName
  • Constructor Details

    • Company

      public Company()
  • Method Details

    • getOrganizationalUnit

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public List<String> getOrganizationalUnit()
      Gets the value of the organizationalUnit 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 organizationalUnit property.

      For example, to add a new item, do as follows:

          getOrganizationalUnit().add(newItem);
       

      Objects of the following type(s) are allowed in the list String

    • getCompanyID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public String getCompanyID()
      Gets the value of the companyID property.
      Returns:
      possible object is String
    • setCompanyID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public void setCompanyID(String value)
      Sets the value of the companyID property.
      Parameters:
      value - allowed object is String
    • getDescriptiveName

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public String getDescriptiveName()
      Gets the value of the descriptiveName property.
      Returns:
      possible object is String
    • setDescriptiveName

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public void setDescriptiveName(String value)
      Sets the value of the descriptiveName property.
      Parameters:
      value - allowed object is String
    • getOrganizationName

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public String getOrganizationName()
      Gets the value of the organizationName property.
      Returns:
      possible object is String
    • setOrganizationName

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public void setOrganizationName(String value)
      Sets the value of the organizationName property.
      Parameters:
      value - allowed object is String
    • getOtherAttributes

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") 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
    • withOrganizationalUnit

      public Company withOrganizationalUnit(String... values)
    • withOrganizationalUnit

      public Company withOrganizationalUnit(Collection<String> values)
    • withCompanyID

      public Company withCompanyID(String value)
    • withDescriptiveName

      public Company withDescriptiveName(String value)
    • withOrganizationName

      public Company withOrganizationName(String value)
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
    • equals

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

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object