Class Contact
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.SpecificResource
-
- org.cip4.lib.xjdf.schema.Contact
-
- All Implemented Interfaces:
java.io.Serializable
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") public class Contact extends SpecificResource implements java.io.SerializableJava 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)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()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
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") protected Address address
-
comChannel
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") protected java.util.List<ComChannel> comChannel
-
company
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") protected Company company
-
person
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") protected Person person
-
contactTypeDetails
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") protected java.util.List<java.lang.String> contactTypeDetails
-
costCenterID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") protected java.lang.String costCenterID
-
userID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") protected java.lang.String userID
-
-
Method Detail
-
getAddress
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") public Address getAddress()Gets the value of the address property.- Returns:
- possible object is
Address
-
setAddress
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") public void setAddress(Address value)Sets the value of the address property.- Parameters:
value- allowed object isAddress
-
getComChannel
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") 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- Returns:
- The value of the comChannel property.
-
getCompany
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") public Company getCompany()Gets the value of the company property.- Returns:
- possible object is
Company
-
setCompany
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") public void setCompany(Company value)Sets the value of the company property.- Parameters:
value- allowed object isCompany
-
getPerson
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") public Person getPerson()Gets the value of the person property.- Returns:
- possible object is
Person
-
setPerson
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") public void setPerson(Person value)Sets the value of the person property.- Parameters:
value- allowed object isPerson
-
getContactTypeDetails
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") 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- Returns:
- The value of the contactTypeDetails property.
-
getCostCenterID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") public java.lang.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="2024-07-01T15:04:08Z") public void setCostCenterID(java.lang.String value)Sets the value of the costCenterID property.- Parameters:
value- allowed object isString
-
getUserID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") public java.lang.String getUserID()Gets the value of the userID property.- Returns:
- possible object is
String
-
setUserID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-07-01T15:04:08Z") 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(java.lang.Object object)
- Overrides:
equalsin classSpecificResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSpecificResource
-
-