Class Person

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

    public class Person
    extends java.lang.Object
    implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    Java class for anonymous complex type.

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

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <attribute name="AdditionalNames" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="DescriptiveName" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="FamilyName" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="FirstName" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="JobTitle" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="Languages" type="{http://www.CIP4.org/JDFSchema_2_0}languages" />
           <attribute name="NamePrefix" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="NameSuffix" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="PhoneticFirstName" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="PhoneticLastName" type="{http://www.w3.org/2001/XMLSchema}string" />
           <anyAttribute processContents='lax' namespace='##other'/>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Person()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.EqualsStrategy2 strategy)  
      java.lang.String getAdditionalNames()
      Gets the value of the additionalNames property.
      java.lang.String getDescriptiveName()
      Gets the value of the descriptiveName property.
      java.lang.String getFamilyName()
      Gets the value of the familyName property.
      java.lang.String getFirstName()
      Gets the value of the firstName property.
      java.lang.String getJobTitle()
      Gets the value of the jobTitle property.
      java.util.List<java.lang.String> getLanguages()
      Gets the value of the languages property.
      java.lang.String getNamePrefix()
      Gets the value of the namePrefix property.
      java.lang.String getNameSuffix()
      Gets the value of the nameSuffix property.
      java.util.Map<javax.xml.namespace.QName,​java.lang.String> getOtherAttributes()
      Gets a map that contains attributes that aren't bound to any typed property on this class.
      java.lang.String getPhoneticFirstName()
      Gets the value of the phoneticFirstName property.
      java.lang.String getPhoneticLastName()
      Gets the value of the phoneticLastName property.
      int hashCode()  
      int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)  
      void setAdditionalNames​(java.lang.String value)
      Sets the value of the additionalNames property.
      void setDescriptiveName​(java.lang.String value)
      Sets the value of the descriptiveName property.
      void setFamilyName​(java.lang.String value)
      Sets the value of the familyName property.
      void setFirstName​(java.lang.String value)
      Sets the value of the firstName property.
      void setJobTitle​(java.lang.String value)
      Sets the value of the jobTitle property.
      void setNamePrefix​(java.lang.String value)
      Sets the value of the namePrefix property.
      void setNameSuffix​(java.lang.String value)
      Sets the value of the nameSuffix property.
      void setPhoneticFirstName​(java.lang.String value)
      Sets the value of the phoneticFirstName property.
      void setPhoneticLastName​(java.lang.String value)
      Sets the value of the phoneticLastName property.
      Person withAdditionalNames​(java.lang.String value)  
      Person withDescriptiveName​(java.lang.String value)  
      Person withFamilyName​(java.lang.String value)  
      Person withFirstName​(java.lang.String value)  
      Person withJobTitle​(java.lang.String value)  
      Person withLanguages​(java.lang.String... values)  
      Person withLanguages​(java.util.Collection<java.lang.String> values)  
      Person withNamePrefix​(java.lang.String value)  
      Person withNameSuffix​(java.lang.String value)  
      Person withPhoneticFirstName​(java.lang.String value)  
      Person withPhoneticLastName​(java.lang.String value)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • additionalNames

        protected java.lang.String additionalNames
      • descriptiveName

        protected java.lang.String descriptiveName
      • familyName

        protected java.lang.String familyName
      • firstName

        protected java.lang.String firstName
      • jobTitle

        protected java.lang.String jobTitle
      • languages

        protected java.util.List<java.lang.String> languages
      • namePrefix

        protected java.lang.String namePrefix
      • nameSuffix

        protected java.lang.String nameSuffix
      • phoneticFirstName

        protected java.lang.String phoneticFirstName
      • phoneticLastName

        protected java.lang.String phoneticLastName
    • Constructor Detail

      • Person

        public Person()
    • Method Detail

      • getAdditionalNames

        public java.lang.String getAdditionalNames()
        Gets the value of the additionalNames property.
        Returns:
        possible object is String
      • setAdditionalNames

        public void setAdditionalNames​(java.lang.String value)
        Sets the value of the additionalNames property.
        Parameters:
        value - allowed object is String
      • getDescriptiveName

        public java.lang.String getDescriptiveName()
        Gets the value of the descriptiveName property.
        Returns:
        possible object is String
      • setDescriptiveName

        public void setDescriptiveName​(java.lang.String value)
        Sets the value of the descriptiveName property.
        Parameters:
        value - allowed object is String
      • getFamilyName

        public java.lang.String getFamilyName()
        Gets the value of the familyName property.
        Returns:
        possible object is String
      • setFamilyName

        public void setFamilyName​(java.lang.String value)
        Sets the value of the familyName property.
        Parameters:
        value - allowed object is String
      • getFirstName

        public java.lang.String getFirstName()
        Gets the value of the firstName property.
        Returns:
        possible object is String
      • setFirstName

        public void setFirstName​(java.lang.String value)
        Sets the value of the firstName property.
        Parameters:
        value - allowed object is String
      • getJobTitle

        public java.lang.String getJobTitle()
        Gets the value of the jobTitle property.
        Returns:
        possible object is String
      • setJobTitle

        public void setJobTitle​(java.lang.String value)
        Sets the value of the jobTitle property.
        Parameters:
        value - allowed object is String
      • getLanguages

        public java.util.List<java.lang.String> getLanguages()
        Gets the value of the languages 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 languages property.

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

            getLanguages().add(newItem);
         

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

      • getNamePrefix

        public java.lang.String getNamePrefix()
        Gets the value of the namePrefix property.
        Returns:
        possible object is String
      • setNamePrefix

        public void setNamePrefix​(java.lang.String value)
        Sets the value of the namePrefix property.
        Parameters:
        value - allowed object is String
      • getNameSuffix

        public java.lang.String getNameSuffix()
        Gets the value of the nameSuffix property.
        Returns:
        possible object is String
      • setNameSuffix

        public void setNameSuffix​(java.lang.String value)
        Sets the value of the nameSuffix property.
        Parameters:
        value - allowed object is String
      • getPhoneticFirstName

        public java.lang.String getPhoneticFirstName()
        Gets the value of the phoneticFirstName property.
        Returns:
        possible object is String
      • setPhoneticFirstName

        public void setPhoneticFirstName​(java.lang.String value)
        Sets the value of the phoneticFirstName property.
        Parameters:
        value - allowed object is String
      • getPhoneticLastName

        public java.lang.String getPhoneticLastName()
        Gets the value of the phoneticLastName property.
        Returns:
        possible object is String
      • setPhoneticLastName

        public void setPhoneticLastName​(java.lang.String value)
        Sets the value of the phoneticLastName property.
        Parameters:
        value - allowed object is String
      • getOtherAttributes

        public java.util.Map<javax.xml.namespace.QName,​java.lang.String> getOtherAttributes()
        Gets a map that contains attributes that aren't bound to any typed property on this class.

        the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

        Returns:
        always non-null
      • withAdditionalNames

        public Person withAdditionalNames​(java.lang.String value)
      • withDescriptiveName

        public Person withDescriptiveName​(java.lang.String value)
      • withFamilyName

        public Person withFamilyName​(java.lang.String value)
      • withFirstName

        public Person withFirstName​(java.lang.String value)
      • withJobTitle

        public Person withJobTitle​(java.lang.String value)
      • withLanguages

        public Person withLanguages​(java.lang.String... values)
      • withLanguages

        public Person withLanguages​(java.util.Collection<java.lang.String> values)
      • withNamePrefix

        public Person withNamePrefix​(java.lang.String value)
      • withNameSuffix

        public Person withNameSuffix​(java.lang.String value)
      • withPhoneticFirstName

        public Person withPhoneticFirstName​(java.lang.String value)
      • withPhoneticLastName

        public Person withPhoneticLastName​(java.lang.String value)
      • equals

        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.EqualsStrategy2 strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object