Class Company

  • All Implemented Interfaces:
    java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    public class Company
    extends java.lang.Object
    implements java.io.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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Company()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object object)  
      boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)  
      java.lang.String getCompanyID()
      Gets the value of the companyID property.
      java.lang.String getDescriptiveName()
      Gets the value of the descriptiveName property.
      java.util.List<java.lang.String> getOrganizationalUnit()
      Gets the value of the organizationalUnit property.
      java.lang.String getOrganizationName()
      Gets the value of the organizationName property.
      java.util.Map<javax.xml.namespace.QName,​java.lang.String> getOtherAttributes()
      Gets a map that contains attributes that aren't bound to any typed property on this class.
      int hashCode()  
      int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)  
      void setCompanyID​(java.lang.String value)
      Sets the value of the companyID property.
      void setDescriptiveName​(java.lang.String value)
      Sets the value of the descriptiveName property.
      void setOrganizationName​(java.lang.String value)
      Sets the value of the organizationName property.
      Company withCompanyID​(java.lang.String value)  
      Company withDescriptiveName​(java.lang.String value)  
      Company withOrganizationalUnit​(java.lang.String... values)  
      Company withOrganizationalUnit​(java.util.Collection<java.lang.String> values)  
      Company withOrganizationName​(java.lang.String value)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • organizationalUnit

        protected java.util.List<java.lang.String> organizationalUnit
      • companyID

        protected java.lang.String companyID
      • descriptiveName

        protected java.lang.String descriptiveName
      • organizationName

        protected java.lang.String organizationName
    • Constructor Detail

      • Company

        public Company()
    • Method Detail

      • getOrganizationalUnit

        public java.util.List<java.lang.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

        public java.lang.String getCompanyID()
        Gets the value of the companyID property.
        Returns:
        possible object is String
      • setCompanyID

        public void setCompanyID​(java.lang.String value)
        Sets the value of the companyID property.
        Parameters:
        value - allowed object is String
      • getDescriptiveName

        public java.lang.String getDescriptiveName()
        Gets the value of the descriptiveName property.
        Returns:
        possible object is String
      • setDescriptiveName

        public void setDescriptiveName​(java.lang.String value)
        Sets the value of the descriptiveName property.
        Parameters:
        value - allowed object is String
      • getOrganizationName

        public java.lang.String getOrganizationName()
        Gets the value of the organizationName property.
        Returns:
        possible object is String
      • setOrganizationName

        public void setOrganizationName​(java.lang.String value)
        Sets the value of the organizationName property.
        Parameters:
        value - allowed object is String
      • getOtherAttributes

        public java.util.Map<javax.xml.namespace.QName,​java.lang.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​(java.lang.String... values)
      • withOrganizationalUnit

        public Company withOrganizationalUnit​(java.util.Collection<java.lang.String> values)
      • withCompanyID

        public Company withCompanyID​(java.lang.String value)
      • withDescriptiveName

        public Company withDescriptiveName​(java.lang.String value)
      • withOrganizationName

        public Company withOrganizationName​(java.lang.String value)
      • equals

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

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.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 java.lang.Object