Class PartyType
- java.lang.Object
-
- com.helger.regrep.rim.ExtensibleObjectType
-
- com.helger.regrep.rim.IdentifiableType
-
- com.helger.regrep.rim.RegistryObjectType
-
- com.helger.regrep.rim.PartyType
-
- All Implemented Interfaces:
com.helger.commons.lang.IExplicitlyCloneable,Serializable,Cloneable
- Direct Known Subclasses:
OrganizationType,PersonType
@CodingStyleguideUnaware public abstract class PartyType extends RegistryObjectType
Represents a Party such as Person or Organization.Java class for PartyType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PartyType"> <complexContent> <extension base="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}RegistryObjectType"> <sequence> <element name="PostalAddress" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}PostalAddressType" maxOccurs="unbounded" minOccurs="0"/> <element name="TelephoneNumber" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}TelephoneNumberType" maxOccurs="unbounded" minOccurs="0"/> <element name="EmailAddress" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}EmailAddressType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>This class was annotated by ph-jaxb-plugin -Xph-annotate
This class contains methods created by ph-jaxb-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb-plugin -Xph-tostring
This class contains methods created by ph-jaxb-plugin -Xph-list-extension
This class contains methods created by ph-jaxb-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb-plugin -Xph-value-extender
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PartyType()Default constructor
Note: automatically created by ph-jaxb-plugin -Xph-value-extender
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddEmailAddress(EmailAddressType elem)Created by ph-jaxb-plugin -Xph-list-extensionvoidaddPostalAddress(PostalAddressType elem)Created by ph-jaxb-plugin -Xph-list-extensionvoidaddTelephoneNumber(TelephoneNumberType elem)Created by ph-jaxb-plugin -Xph-list-extensionabstract PartyTypeclone()Created by ph-jaxb-plugin -Xph-cloneable2voidcloneTo(PartyType ret)This method clones all values fromthisto the passed object.booleanequals(Object o)Created by ph-jaxb-plugin -Xph-equalshashcodeList<EmailAddressType>getEmailAddress()Gets the value of the emailAddress property.EmailAddressTypegetEmailAddressAtIndex(int index)Created by ph-jaxb-plugin -Xph-list-extensionintgetEmailAddressCount()Created by ph-jaxb-plugin -Xph-list-extensionList<PostalAddressType>getPostalAddress()Gets the value of the postalAddress property.PostalAddressTypegetPostalAddressAtIndex(int index)Created by ph-jaxb-plugin -Xph-list-extensionintgetPostalAddressCount()Created by ph-jaxb-plugin -Xph-list-extensionList<TelephoneNumberType>getTelephoneNumber()Gets the value of the telephoneNumber property.TelephoneNumberTypegetTelephoneNumberAtIndex(int index)Created by ph-jaxb-plugin -Xph-list-extensionintgetTelephoneNumberCount()Created by ph-jaxb-plugin -Xph-list-extensionbooleanhasEmailAddressEntries()Created by ph-jaxb-plugin -Xph-list-extensioninthashCode()Created by ph-jaxb-plugin -Xph-equalshashcodebooleanhasNoEmailAddressEntries()Created by ph-jaxb-plugin -Xph-list-extensionbooleanhasNoPostalAddressEntries()Created by ph-jaxb-plugin -Xph-list-extensionbooleanhasNoTelephoneNumberEntries()Created by ph-jaxb-plugin -Xph-list-extensionbooleanhasPostalAddressEntries()Created by ph-jaxb-plugin -Xph-list-extensionbooleanhasTelephoneNumberEntries()Created by ph-jaxb-plugin -Xph-list-extensionvoidsetEmailAddress(List<EmailAddressType> aList)Created by ph-jaxb-plugin -Xph-list-extensionvoidsetPostalAddress(List<PostalAddressType> aList)Created by ph-jaxb-plugin -Xph-list-extensionvoidsetTelephoneNumber(List<TelephoneNumberType> aList)Created by ph-jaxb-plugin -Xph-list-extensionStringtoString()Created by ph-jaxb-plugin -Xph-tostring-
Methods inherited from class com.helger.regrep.rim.RegistryObjectType
addClassification, addExternalIdentifier, addExternalLink, cloneTo, getClassification, getClassificationAtIndex, getClassificationCount, getDescription, getExternalIdentifier, getExternalIdentifierAtIndex, getExternalIdentifierCount, getExternalLink, getExternalLinkAtIndex, getExternalLinkCount, getLid, getName, getObjectType, getOwner, getStatus, getVersionInfo, hasClassificationEntries, hasExternalIdentifierEntries, hasExternalLinkEntries, hasNoClassificationEntries, hasNoExternalIdentifierEntries, hasNoExternalLinkEntries, setClassification, setDescription, setExternalIdentifier, setExternalLink, setLid, setName, setObjectType, setOwner, setStatus, setVersionInfo
-
Methods inherited from class com.helger.regrep.rim.IdentifiableType
cloneTo, getId, setId
-
Methods inherited from class com.helger.regrep.rim.ExtensibleObjectType
addSlot, cloneTo, getSlot, getSlotAtIndex, getSlotCount, hasNoSlotEntries, hasSlotEntries, setSlot
-
-
-
-
Method Detail
-
getPostalAddress
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<PostalAddressType> getPostalAddress()
Gets the value of the postalAddress 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
setmethod for the postalAddress property.For example, to add a new item, do as follows:
getPostalAddress().add(newItem);Objects of the following type(s) are allowed in the list
PostalAddressType- Returns:
- The value of the postalAddress property.
-
getTelephoneNumber
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<TelephoneNumberType> getTelephoneNumber()
Gets the value of the telephoneNumber 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
setmethod for the telephoneNumber property.For example, to add a new item, do as follows:
getTelephoneNumber().add(newItem);Objects of the following type(s) are allowed in the list
TelephoneNumberType- Returns:
- The value of the telephoneNumber property.
-
getEmailAddress
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<EmailAddressType> getEmailAddress()
Gets the value of the emailAddress 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
setmethod for the emailAddress property.For example, to add a new item, do as follows:
getEmailAddress().add(newItem);Objects of the following type(s) are allowed in the list
EmailAddressType- Returns:
- The value of the emailAddress property.
-
equals
public boolean equals(Object o)
Created by ph-jaxb-plugin -Xph-equalshashcode- Overrides:
equalsin classRegistryObjectType
-
hashCode
public int hashCode()
Created by ph-jaxb-plugin -Xph-equalshashcode- Overrides:
hashCodein classRegistryObjectType
-
toString
public String toString()
Created by ph-jaxb-plugin -Xph-tostring- Overrides:
toStringin classRegistryObjectType
-
setPostalAddress
public void setPostalAddress(@Nullable List<PostalAddressType> aList)
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
setTelephoneNumber
public void setTelephoneNumber(@Nullable List<TelephoneNumberType> aList)
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
setEmailAddress
public void setEmailAddress(@Nullable List<EmailAddressType> aList)
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
hasPostalAddressEntries
public boolean hasPostalAddressEntries()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoPostalAddressEntries
public boolean hasNoPostalAddressEntries()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getPostalAddressCount
@Nonnegative public int getPostalAddressCount()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getPostalAddressAtIndex
@Nullable public PostalAddressType getPostalAddressAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
index- The index to retrieve- Returns:
- The element at the specified index. May be
null - Throws:
IndexOutOfBoundsException- if the index is invalid!
-
addPostalAddress
public void addPostalAddress(@Nonnull PostalAddressType elem)
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
hasTelephoneNumberEntries
public boolean hasTelephoneNumberEntries()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoTelephoneNumberEntries
public boolean hasNoTelephoneNumberEntries()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getTelephoneNumberCount
@Nonnegative public int getTelephoneNumberCount()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getTelephoneNumberAtIndex
@Nullable public TelephoneNumberType getTelephoneNumberAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
index- The index to retrieve- Returns:
- The element at the specified index. May be
null - Throws:
IndexOutOfBoundsException- if the index is invalid!
-
addTelephoneNumber
public void addTelephoneNumber(@Nonnull TelephoneNumberType elem)
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
hasEmailAddressEntries
public boolean hasEmailAddressEntries()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoEmailAddressEntries
public boolean hasNoEmailAddressEntries()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getEmailAddressCount
@Nonnegative public int getEmailAddressCount()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getEmailAddressAtIndex
@Nullable public EmailAddressType getEmailAddressAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
index- The index to retrieve- Returns:
- The element at the specified index. May be
null - Throws:
IndexOutOfBoundsException- if the index is invalid!
-
addEmailAddress
public void addEmailAddress(@Nonnull EmailAddressType elem)
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
cloneTo
public void cloneTo(@Nonnull PartyType ret)
This method clones all values fromthisto the passed object. All data in the parameter object is overwritten!Created by ph-jaxb-plugin -Xph-cloneable2- Parameters:
ret- The target object to clone to. May not benull.
-
clone
@Nonnull @ReturnsMutableCopy public abstract PartyType clone()
Created by ph-jaxb-plugin -Xph-cloneable2- Specified by:
clonein interfacecom.helger.commons.lang.IExplicitlyCloneable- Overrides:
clonein classRegistryObjectType- Returns:
- The cloned object. Never
null.
-
-