java.lang.Object
com.foursoft.harness.vec.v113.VecPerson
All Implemented Interfaces:
Identifiable, ModifiableIdentifiable, Visitable, Serializable

public class VecPerson extends Object implements Serializable, Identifiable, ModifiableIdentifiable, Visitable

Specifies all relevant data of a person.

Java class for Person complex type.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="Person">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="CompanyName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Department" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="FirstName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="LastName" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="PhoneNumber" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="EmailAddress" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="AliasId" type="{http://www.prostep.org/ecad-if/2011/vec}AliasIdentification" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • companyName

      protected String companyName

      Specifies the name of the company the person belongs to.

    • department

      protected String department

      Specifies the department the person belongs to.

    • firstName

      protected String firstName

      Specifies the person's first name.

    • lastName

      protected String lastName

      Specifies the person's last name.

    • phoneNumbers

      protected List<String> phoneNumbers

      Specifies the person's phone number.

    • emailAddresses

      protected List<String> emailAddresses

      Specifies the person's email address.

    • aliasIds

      protected List<VecAliasIdentification> aliasIds

      Specifies identifiers for thePersonin different contexts.

    • xmlId

      protected String xmlId
  • Constructor Details

    • VecPerson

      public VecPerson()
  • Method Details

    • getCompanyName

      public String getCompanyName()
      Gets the value of the companyName property.

      Specifies the name of the company the person belongs to.

      Returns:
      possible object is String
    • setCompanyName

      public void setCompanyName(String value)
      Sets the value of the companyName property.
      Parameters:
      value - allowed object is String
      See Also:
    • getDepartment

      public String getDepartment()
      Gets the value of the department property.

      Specifies the department the person belongs to.

      Returns:
      possible object is String
    • setDepartment

      public void setDepartment(String value)
      Sets the value of the department property.
      Parameters:
      value - allowed object is String
      See Also:
    • getFirstName

      public String getFirstName()
      Gets the value of the firstName property.

      Specifies the person's first name.

      Returns:
      possible object is String
    • setFirstName

      public void setFirstName(String value)
      Sets the value of the firstName property.
      Parameters:
      value - allowed object is String
      See Also:
    • getLastName

      public String getLastName()
      Gets the value of the lastName property.

      Specifies the person's last name.

      Returns:
      possible object is String
    • setLastName

      public void setLastName(String value)
      Sets the value of the lastName property.
      Parameters:
      value - allowed object is String
      See Also:
    • getPhoneNumbers

      public List<String> getPhoneNumbers()
      Gets the value of the phoneNumbers 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 Jakarta XML Binding object. This is why there is not a set method for the phoneNumbers property.

      For example, to add a new item, do as follows:

          getPhoneNumbers().add(newItem);
       

      Objects of the following type(s) are allowed in the list String

      Specifies the person's phone number.

      Returns:
      The value of the phoneNumbers property.
    • getEmailAddresses

      public List<String> getEmailAddresses()
      Gets the value of the emailAddresses 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 Jakarta XML Binding object. This is why there is not a set method for the emailAddresses property.

      For example, to add a new item, do as follows:

          getEmailAddresses().add(newItem);
       

      Objects of the following type(s) are allowed in the list String

      Specifies the person's email address.

      Returns:
      The value of the emailAddresses property.
    • getAliasIds

      public List<VecAliasIdentification> getAliasIds()
      Gets the value of the aliasIds 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 Jakarta XML Binding object. This is why there is not a set method for the aliasIds property.

      For example, to add a new item, do as follows:

          getAliasIds().add(newItem);
       

      Objects of the following type(s) are allowed in the list VecAliasIdentification

      Specifies identifiers for thePersonin different contexts.

      Returns:
      The value of the aliasIds property.
    • getXmlId

      public String getXmlId()
      Gets the value of the xmlId property.
      Specified by:
      getXmlId in interface Identifiable
      Returns:
      possible object is String
    • setXmlId

      public void setXmlId(String value)
      Sets the value of the xmlId property.
      Specified by:
      setXmlId in interface ModifiableIdentifiable
      Parameters:
      value - allowed object is String
    • accept

      public <R, E extends Throwable> R accept(Visitor<R,E> aVisitor) throws E
      Specified by:
      accept in interface Visitable
      Throws:
      E extends Throwable
    • toString

      public String toString()
      Overrides:
      toString in class Object