Class Contact
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.SpecificResource
-
- org.cip4.lib.xjdf.schema.Contact
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class Contact extends SpecificResource implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
Java class for Contact complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Contact"> <complexContent> <extension base="{http://www.CIP4.org/JDFSchema_2_0}SpecificResource"> <sequence> <element ref="{http://www.CIP4.org/JDFSchema_2_0}Address" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}ComChannel" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}Company" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}Person" minOccurs="0"/> </sequence> <attribute name="ContactTypeDetails" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" /> <attribute name="CostCenterID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="UserID" type="{http://www.w3.org/2001/XMLSchema}string" /> <anyAttribute processContents='lax' namespace='##other'/> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Addressaddressprotected java.util.List<ComChannel>comChannelprotected Companycompanyprotected java.util.List<java.lang.String>contactTypeDetailsprotected java.lang.StringcostCenterIDprotected Personpersonprotected java.lang.StringuserID
-
Constructor Summary
Constructors Constructor Description Contact()
-
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)AddressgetAddress()Gets the value of the address property.java.util.List<ComChannel>getComChannel()Gets the value of the comChannel property.CompanygetCompany()Gets the value of the company property.java.util.List<java.lang.String>getContactTypeDetails()Gets the value of the contactTypeDetails property.java.lang.StringgetCostCenterID()Gets the value of the costCenterID property.PersongetPerson()Gets the value of the person property.java.lang.StringgetUserID()Gets the value of the userID property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAddress(Address value)Sets the value of the address property.voidsetCompany(Company value)Sets the value of the company property.voidsetCostCenterID(java.lang.String value)Sets the value of the costCenterID property.voidsetPerson(Person value)Sets the value of the person property.voidsetUserID(java.lang.String value)Sets the value of the userID property.ContactwithAddress(Address value)ContactwithComChannel(java.util.Collection<ComChannel> values)ContactwithComChannel(ComChannel... values)ContactwithCompany(Company value)ContactwithContactTypeDetails(java.lang.String... values)ContactwithContactTypeDetails(java.util.Collection<java.lang.String> values)ContactwithCostCenterID(java.lang.String value)ContactwithPerson(Person value)ContactwithUserID(java.lang.String value)-
Methods inherited from class org.cip4.lib.xjdf.schema.SpecificResource
getOtherAttributes
-
-
-
-
Field Detail
-
address
protected Address address
-
comChannel
protected java.util.List<ComChannel> comChannel
-
company
protected Company company
-
person
protected Person person
-
contactTypeDetails
protected java.util.List<java.lang.String> contactTypeDetails
-
costCenterID
protected java.lang.String costCenterID
-
userID
protected java.lang.String userID
-
-
Method Detail
-
getAddress
public Address getAddress()
Gets the value of the address property.- Returns:
- possible object is
Address
-
setAddress
public void setAddress(Address value)
Sets the value of the address property.- Parameters:
value- allowed object isAddress
-
getComChannel
public java.util.List<ComChannel> getComChannel()
Gets the value of the comChannel 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 comChannel property.For example, to add a new item, do as follows:
getComChannel().add(newItem);Objects of the following type(s) are allowed in the list
ComChannel
-
getCompany
public Company getCompany()
Gets the value of the company property.- Returns:
- possible object is
Company
-
setCompany
public void setCompany(Company value)
Sets the value of the company property.- Parameters:
value- allowed object isCompany
-
getPerson
public Person getPerson()
Gets the value of the person property.- Returns:
- possible object is
Person
-
setPerson
public void setPerson(Person value)
Sets the value of the person property.- Parameters:
value- allowed object isPerson
-
getContactTypeDetails
public java.util.List<java.lang.String> getContactTypeDetails()
Gets the value of the contactTypeDetails 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 contactTypeDetails property.For example, to add a new item, do as follows:
getContactTypeDetails().add(newItem);Objects of the following type(s) are allowed in the list
String
-
getCostCenterID
public java.lang.String getCostCenterID()
Gets the value of the costCenterID property.- Returns:
- possible object is
String
-
setCostCenterID
public void setCostCenterID(java.lang.String value)
Sets the value of the costCenterID property.- Parameters:
value- allowed object isString
-
getUserID
public java.lang.String getUserID()
Gets the value of the userID property.- Returns:
- possible object is
String
-
setUserID
public void setUserID(java.lang.String value)
Sets the value of the userID property.- Parameters:
value- allowed object isString
-
withComChannel
public Contact withComChannel(ComChannel... values)
-
withComChannel
public Contact withComChannel(java.util.Collection<ComChannel> values)
-
withContactTypeDetails
public Contact withContactTypeDetails(java.lang.String... values)
-
withContactTypeDetails
public Contact withContactTypeDetails(java.util.Collection<java.lang.String> values)
-
withCostCenterID
public Contact withCostCenterID(java.lang.String value)
-
withUserID
public Contact withUserID(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- Overrides:
equalsin classSpecificResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classSpecificResource
-
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- Overrides:
hashCodein classSpecificResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSpecificResource
-
-