@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public class Contact
extends SpecificResource
implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
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.CIP4.org/JDFSchema_2_0}string" />
<attribute name="CostCenterID" type="{http://www.CIP4.org/JDFSchema_2_0}NMTOKEN" />
<attribute name="UserID" type="{http://www.CIP4.org/JDFSchema_2_0}string" />
<anyAttribute processContents='lax' namespace='##other'/>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Address |
address |
protected java.util.List<ComChannel> |
comChannel |
protected Company |
company |
protected java.lang.String |
contactTypeDetails |
protected java.lang.String |
costCenterID |
protected Person |
person |
protected java.lang.String |
userID |
| Constructor and Description |
|---|
Contact() |
| Modifier and Type | Method and 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.EqualsStrategy strategy) |
Address |
getAddress()
Gets the value of the address property.
|
java.util.List<ComChannel> |
getComChannel()
Gets the value of the comChannel property.
|
Company |
getCompany()
Gets the value of the company property.
|
java.lang.String |
getContactTypeDetails()
Gets the value of the contactTypeDetails property.
|
java.lang.String |
getCostCenterID()
Gets the value of the costCenterID property.
|
Person |
getPerson()
Gets the value of the person property.
|
java.lang.String |
getUserID()
Gets the value of the userID property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAddress(Address value)
Sets the value of the address property.
|
void |
setCompany(Company value)
Sets the value of the company property.
|
void |
setContactTypeDetails(java.lang.String value)
Sets the value of the contactTypeDetails property.
|
void |
setCostCenterID(java.lang.String value)
Sets the value of the costCenterID property.
|
void |
setPerson(Person value)
Sets the value of the person property.
|
void |
setUserID(java.lang.String value)
Sets the value of the userID property.
|
Contact |
withAddress(Address value) |
Contact |
withComChannel(java.util.Collection<ComChannel> values) |
Contact |
withComChannel(ComChannel... values) |
Contact |
withCompany(Company value) |
Contact |
withContactTypeDetails(java.lang.String value) |
Contact |
withCostCenterID(java.lang.String value) |
Contact |
withPerson(Person value) |
Contact |
withUserID(java.lang.String value) |
getOtherAttributes@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
protected Address address
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
protected java.util.List<ComChannel> comChannel
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
protected Company company
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
protected Person person
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
protected java.lang.String contactTypeDetails
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
protected java.lang.String costCenterID
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
protected java.lang.String userID
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public Address getAddress()
Address@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public void setAddress(Address value)
value - allowed object is
Address@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public java.util.List<ComChannel> getComChannel()
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 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
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public Company getCompany()
Company@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public void setCompany(Company value)
value - allowed object is
Company@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public Person getPerson()
Person@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public void setPerson(Person value)
value - allowed object is
Person@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public java.lang.String getContactTypeDetails()
String@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public void setContactTypeDetails(java.lang.String value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public java.lang.String getCostCenterID()
String@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public void setCostCenterID(java.lang.String value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public java.lang.String getUserID()
String@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-21T03:54:21+00:00",
comments="JAXB RI v2.2.11")
public void setUserID(java.lang.String value)
value - allowed object is
Stringpublic Contact withComChannel(ComChannel... values)
public Contact withComChannel(java.util.Collection<ComChannel> values)
public Contact withContactTypeDetails(java.lang.String value)
public Contact withCostCenterID(java.lang.String value)
public Contact withUserID(java.lang.String value)
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.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class SpecificResourcepublic boolean equals(java.lang.Object object)
equals in class SpecificResourcepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class SpecificResourcepublic int hashCode()
hashCode in class SpecificResource