@CodingStyleguideUnaware public class PersonContactType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
Java class for PersonContactType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PersonContactType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.hr-xml.org/3}PersonID" minOccurs="0"/>
<element ref="{http://www.hr-xml.org/3}PersonName" minOccurs="0"/>
<element ref="{http://www.hr-xml.org/3}RoleName" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.hr-xml.org/3}Communication" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.hr-xml.org/3}UserArea" minOccurs="0"/>
</sequence>
<attribute name="contactTypeCode" type="{http://www.openapplications.org/oagis/9}StringType" />
</restriction>
</complexContent>
</complexType>
This class was annotated by ph-jaxb22-plugin -Xph-annotate
This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb22-plugin -Xph-tostring
This class contains methods created by ph-jaxb22-plugin -Xph-list-extension
This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb22-plugin -Xph-value-extender
| Constructor and Description |
|---|
PersonContactType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addCommunication(CommunicationABIEType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addRoleName(TextType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
PersonContactType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(PersonContactType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
List<CommunicationABIEType> |
getCommunication()
Gets the value of the communication property.
|
CommunicationABIEType |
getCommunicationAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getCommunicationCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
String |
getContactTypeCode()
Gets the value of the contactTypeCode property.
|
IdentifierType |
getPersonID()
Gets the value of the personID property.
|
String |
getPersonIDValue()
Get the value of the contained IdentifierType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
PersonNameType |
getPersonName()
Gets the value of the personName property.
|
List<TextType> |
getRoleName()
Gets the value of the roleName property.
|
TextType |
getRoleNameAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getRoleNameCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
UserAreaType |
getUserArea()
Gets the value of the userArea property.
|
boolean |
hasCommunicationEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoCommunicationEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoRoleNameEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasRoleNameEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setCommunication(List<CommunicationABIEType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setContactTypeCode(String value)
Sets the value of the contactTypeCode property.
|
void |
setPersonID(IdentifierType value)
Sets the value of the personID property.
|
IdentifierType |
setPersonID(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setPersonName(PersonNameType value)
Sets the value of the personName property.
|
void |
setRoleName(List<TextType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setUserArea(UserAreaType value)
Sets the value of the userArea property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public PersonContactType()
@Nullable public IdentifierType getPersonID()
IdentifierTypepublic void setPersonID(@Nullable IdentifierType value)
value - allowed object is
IdentifierType@Nullable public PersonNameType getPersonName()
PersonNameTypepublic void setPersonName(@Nullable PersonNameType value)
value - allowed object is
PersonNameType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<TextType> getRoleName()
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 roleName property.
For example, to add a new item, do as follows:
getRoleName().add(newItem);
Objects of the following type(s) are allowed in the list
TextType
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<CommunicationABIEType> getCommunication()
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 communication property.
For example, to add a new item, do as follows:
getCommunication().add(newItem);
Objects of the following type(s) are allowed in the list
CommunicationABIEType
@Nullable public UserAreaType getUserArea()
UserAreaTypepublic void setUserArea(@Nullable UserAreaType value)
value - allowed object is
UserAreaType@Nullable public String getContactTypeCode()
Stringpublic void setContactTypeCode(@Nullable String value)
value - allowed object is
Stringpublic boolean equals(Object o)
public int hashCode()
public String toString()
public void setRoleName(@Nullable List<TextType> aList)
aList - The new list member to set. May be null.public void setCommunication(@Nullable List<CommunicationABIEType> aList)
aList - The new list member to set. May be null.public boolean hasRoleNameEntries()
true if at least one item is contained, false otherwise.public boolean hasNoRoleNameEntries()
true if no item is contained, false otherwise.@Nonnegative public int getRoleNameCount()
@Nullable public TextType getRoleNameAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addRoleName(@Nonnull TextType elem)
elem - The element to be added. May not be null.public boolean hasCommunicationEntries()
true if at least one item is contained, false otherwise.public boolean hasNoCommunicationEntries()
true if no item is contained, false otherwise.@Nonnegative public int getCommunicationCount()
@Nullable public CommunicationABIEType getCommunicationAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addCommunication(@Nonnull CommunicationABIEType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull PersonContactType ret)
this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2ret - The target object to clone to. May not be null.@Nonnull @ReturnsMutableCopy public PersonContactType clone()
@Nonnull public IdentifierType setPersonID(@Nullable String valueParam)
valueParam - The value to be set. May be null.nullCopyright © 2016–2020 Philip Helger. All rights reserved.