Package org.cip4.lib.xjdf.schema
Class Person
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.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.HashCode2Java 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
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringadditionalNamesprotected java.lang.StringdescriptiveNameprotected java.lang.StringfamilyNameprotected java.lang.StringfirstNameprotected java.lang.StringjobTitleprotected java.util.List<java.lang.String>languagesprotected java.lang.StringnamePrefixprotected java.lang.StringnameSuffixprotected java.lang.StringphoneticFirstNameprotected java.lang.StringphoneticLastName
-
Constructor Summary
Constructors Constructor Description Person()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)booleanequals(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.StringgetAdditionalNames()Gets the value of the additionalNames property.java.lang.StringgetDescriptiveName()Gets the value of the descriptiveName property.java.lang.StringgetFamilyName()Gets the value of the familyName property.java.lang.StringgetFirstName()Gets the value of the firstName property.java.lang.StringgetJobTitle()Gets the value of the jobTitle property.java.util.List<java.lang.String>getLanguages()Gets the value of the languages property.java.lang.StringgetNamePrefix()Gets the value of the namePrefix property.java.lang.StringgetNameSuffix()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.StringgetPhoneticFirstName()Gets the value of the phoneticFirstName property.java.lang.StringgetPhoneticLastName()Gets the value of the phoneticLastName property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAdditionalNames(java.lang.String value)Sets the value of the additionalNames property.voidsetDescriptiveName(java.lang.String value)Sets the value of the descriptiveName property.voidsetFamilyName(java.lang.String value)Sets the value of the familyName property.voidsetFirstName(java.lang.String value)Sets the value of the firstName property.voidsetJobTitle(java.lang.String value)Sets the value of the jobTitle property.voidsetNamePrefix(java.lang.String value)Sets the value of the namePrefix property.voidsetNameSuffix(java.lang.String value)Sets the value of the nameSuffix property.voidsetPhoneticFirstName(java.lang.String value)Sets the value of the phoneticFirstName property.voidsetPhoneticLastName(java.lang.String value)Sets the value of the phoneticLastName property.PersonwithAdditionalNames(java.lang.String value)PersonwithDescriptiveName(java.lang.String value)PersonwithFamilyName(java.lang.String value)PersonwithFirstName(java.lang.String value)PersonwithJobTitle(java.lang.String value)PersonwithLanguages(java.lang.String... values)PersonwithLanguages(java.util.Collection<java.lang.String> values)PersonwithNamePrefix(java.lang.String value)PersonwithNameSuffix(java.lang.String value)PersonwithPhoneticFirstName(java.lang.String value)PersonwithPhoneticLastName(java.lang.String value)
-
-
-
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
-
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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
setmethod 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 isString
-
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 isString
-
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 isString
-
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 isString
-
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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-