Class Contact
- All Implemented Interfaces:
Serializable
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:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of the address property.Gets the value of the comChannel property.Gets the value of the company property.Gets the value of the contactTypeDetails property.Gets the value of the costCenterID property.Gets the value of the person property.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(String value) Sets the value of the costCenterID property.voidSets the value of the person property.voidSets the value of the userID property.withAddress(Address value) withComChannel(Collection<ComChannel> values) withComChannel(ComChannel... values) withCompany(Company value) withContactTypeDetails(String... values) withContactTypeDetails(Collection<String> values) withCostCenterID(String value) withPerson(Person value) withUserID(String value) Methods inherited from class org.cip4.lib.xjdf.schema.SpecificResource
getOtherAttributes
-
Field Details
-
address
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected Address address -
comChannel
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected List<ComChannel> comChannel -
company
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected Company company -
person
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected Person person -
contactTypeDetails
-
costCenterID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected String costCenterID -
userID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected String userID
-
-
Constructor Details
-
Contact
public Contact()
-
-
Method Details
-
getAddress
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") 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="2025-09-19T22:22:03Z") 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="2025-09-19T22:22:03Z") public 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="2025-09-19T22:22:03Z") 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="2025-09-19T22:22:03Z") 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="2025-09-19T22:22:03Z") 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="2025-09-19T22:22:03Z") 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="2025-09-19T22:22:03Z") public List<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="2025-09-19T22:22:03Z") public 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="2025-09-19T22:22:03Z") public void setCostCenterID(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="2025-09-19T22:22:03Z") public 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="2025-09-19T22:22:03Z") public void setUserID(String value) Sets the value of the userID property.- Parameters:
value- allowed object isString
-
withAddress
-
withComChannel
-
withComChannel
-
withCompany
-
withPerson
-
withContactTypeDetails
-
withContactTypeDetails
-
withCostCenterID
-
withUserID
-
equals
- Overrides:
equalsin classSpecificResource
-
hashCode
public int hashCode()- Overrides:
hashCodein classSpecificResource
-