Class Contact

All Implemented Interfaces:
Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public class Contact extends SpecificResource implements 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:
  • Field Details

    • address

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Address address
    • comChannel

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected List<ComChannel> comChannel
    • company

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Company company
    • person

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Person person
    • contactTypeDetails

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected List<String> contactTypeDetails
    • costCenterID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String costCenterID
    • userID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String userID
  • Constructor Details

    • Contact

      public Contact()
  • Method Details

    • getAddress

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setAddress(Address value)
      Sets the value of the address property.
      Parameters:
      value - allowed object is Address
    • getComChannel

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") 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 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

    • getCompany

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setCompany(Company value)
      Sets the value of the company property.
      Parameters:
      value - allowed object is Company
    • getPerson

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setPerson(Person value)
      Sets the value of the person property.
      Parameters:
      value - allowed object is Person
    • getContactTypeDetails

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") 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 set method 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

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setCostCenterID(String value)
      Sets the value of the costCenterID property.
      Parameters:
      value - allowed object is String
    • getUserID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setUserID(String value)
      Sets the value of the userID property.
      Parameters:
      value - allowed object is String
    • withAddress

      public Contact withAddress(Address value)
    • withComChannel

      public Contact withComChannel(ComChannel... values)
    • withComChannel

      public Contact withComChannel(Collection<ComChannel> values)
    • withCompany

      public Contact withCompany(Company value)
    • withPerson

      public Contact withPerson(Person value)
    • withContactTypeDetails

      public Contact withContactTypeDetails(String... values)
    • withContactTypeDetails

      public Contact withContactTypeDetails(Collection<String> values)
    • withCostCenterID

      public Contact withCostCenterID(String value)
    • withUserID

      public Contact withUserID(String value)
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      Overrides:
      equals in class SpecificResource
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class SpecificResource
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      Overrides:
      hashCode in class SpecificResource
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class SpecificResource