Class Company
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.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.HashCode2Java 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
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringcompanyIDprotected java.lang.StringdescriptiveNameprotected java.util.List<java.lang.String>organizationalUnitprotected java.lang.StringorganizationName
-
Constructor Summary
Constructors Constructor Description Company()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)booleanequals(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.StringgetCompanyID()Gets the value of the companyID property.java.lang.StringgetDescriptiveName()Gets the value of the descriptiveName property.java.util.List<java.lang.String>getOrganizationalUnit()Gets the value of the organizationalUnit property.java.lang.StringgetOrganizationName()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.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetCompanyID(java.lang.String value)Sets the value of the companyID property.voidsetDescriptiveName(java.lang.String value)Sets the value of the descriptiveName property.voidsetOrganizationName(java.lang.String value)Sets the value of the organizationName property.CompanywithCompanyID(java.lang.String value)CompanywithDescriptiveName(java.lang.String value)CompanywithOrganizationalUnit(java.lang.String... values)CompanywithOrganizationalUnit(java.util.Collection<java.lang.String> values)CompanywithOrganizationName(java.lang.String value)
-
-
-
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
setmethod 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 isString
-
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 isString
-
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 isString
-
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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-