Class BasePartyType
- java.lang.Object
-
- tr.gov.efatura.useraccount.BasePartyType
-
- All Implemented Interfaces:
com.helger.commons.lang.IExplicitlyCloneable,Serializable,Cloneable
- Direct Known Subclasses:
PartyType
@CodingStyleguideUnaware public class BasePartyType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
<?xml version="1.0" encoding="UTF-8"?><ccts:DictionaryEntryName xmlns:ccts="urn:un:unece:uncefact:documentation:1.1" xmlns="http://www.hr-xml.org/3" xmlns:oa="http://www.openapplications.org/oagis/9" xmlns:xsd="http://www.w3.org/2001/XMLSchema">Party. Details</ccts:DictionaryEntryName>
<?xml version="1.0" encoding="UTF-8"?><ccts:DefinitionText xmlns:ccts="urn:un:unece:uncefact:documentation:1.1" xmlns="http://www.hr-xml.org/3" xmlns:oa="http://www.openapplications.org/oagis/9" xmlns:xsd="http://www.w3.org/2001/XMLSchema">Contains a set of information about a Party necessary to execute and administer a given request or business activity. A party is an individual or entity having a role in a business activity and having obligations and/or entitlements deriving from that role that are contractually binding or legally significant. </ccts:DefinitionText>Java class for BasePartyType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BasePartyType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.hr-xml.org/3}PartyID" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.hr-xml.org/3}PartyLegalID" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.hr-xml.org/3}PartyTaxID" minOccurs="0"/> <element ref="{http://www.hr-xml.org/3}PartyName" minOccurs="0"/> <element ref="{http://www.hr-xml.org/3}PartyReportingIDs" 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}PersonContact" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="agencyRoleCode" type="{http://www.hr-xml.org/3}AgencyRoleCodeContentType" /> </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
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BasePartyType()Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCommunication(CommunicationABIEType elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddPartyID(IdentifierType elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddPartyLegalID(IdentifierType elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddPartyReportingIDs(IDSetType elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddPersonContact(PersonContactType elem)Created by ph-jaxb22-plugin -Xph-list-extensionBasePartyTypeclone()Created by ph-jaxb22-plugin -Xph-cloneable2voidcloneTo(BasePartyType ret)This method clones all values fromthisto the passed object.booleanequals(Object o)Created by ph-jaxb22-plugin -Xph-equalshashcodeStringgetAgencyRoleCode()Gets the value of the agencyRoleCode property.List<CommunicationABIEType>getCommunication()Gets the value of the communication property.CommunicationABIETypegetCommunicationAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetCommunicationCount()Created by ph-jaxb22-plugin -Xph-list-extensionList<IdentifierType>getPartyID()Gets the value of the partyID property.IdentifierTypegetPartyIDAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetPartyIDCount()Created by ph-jaxb22-plugin -Xph-list-extensionList<IdentifierType>getPartyLegalID()Gets the value of the partyLegalID property.IdentifierTypegetPartyLegalIDAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetPartyLegalIDCount()Created by ph-jaxb22-plugin -Xph-list-extensionTextTypegetPartyName()Gets the value of the partyName property.StringgetPartyNameValue()Get the value of the contained TextType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extenderList<IDSetType>getPartyReportingIDs()Gets the value of the partyReportingIDs property.IDSetTypegetPartyReportingIDsAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetPartyReportingIDsCount()Created by ph-jaxb22-plugin -Xph-list-extensionIdentifierTypegetPartyTaxID()Gets the value of the partyTaxID property.StringgetPartyTaxIDValue()Get the value of the contained IdentifierType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extenderList<PersonContactType>getPersonContact()Gets the value of the personContact property.PersonContactTypegetPersonContactAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetPersonContactCount()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasCommunicationEntries()Created by ph-jaxb22-plugin -Xph-list-extensioninthashCode()Created by ph-jaxb22-plugin -Xph-equalshashcodebooleanhasNoCommunicationEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoPartyIDEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoPartyLegalIDEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoPartyReportingIDsEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoPersonContactEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasPartyIDEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasPartyLegalIDEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasPartyReportingIDsEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasPersonContactEntries()Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetAgencyRoleCode(String value)Sets the value of the agencyRoleCode property.voidsetCommunication(List<CommunicationABIEType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetPartyID(List<IdentifierType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetPartyLegalID(List<IdentifierType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionTextTypesetPartyName(String valueParam)Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extendervoidsetPartyName(TextType value)Sets the value of the partyName property.voidsetPartyReportingIDs(List<IDSetType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionIdentifierTypesetPartyTaxID(String valueParam)Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extendervoidsetPartyTaxID(IdentifierType value)Sets the value of the partyTaxID property.voidsetPersonContact(List<PersonContactType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionStringtoString()Created by ph-jaxb22-plugin -Xph-tostring
-
-
-
Method Detail
-
getPartyID
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<IdentifierType> getPartyID()
Gets the value of the partyID 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 partyID property.For example, to add a new item, do as follows:
getPartyID().add(newItem);Objects of the following type(s) are allowed in the list
IdentifierType
-
getPartyLegalID
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<IdentifierType> getPartyLegalID()
Gets the value of the partyLegalID 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 partyLegalID property.For example, to add a new item, do as follows:
getPartyLegalID().add(newItem);Objects of the following type(s) are allowed in the list
IdentifierType
-
getPartyTaxID
@Nullable public IdentifierType getPartyTaxID()
Gets the value of the partyTaxID property.- Returns:
- possible object is
IdentifierType
-
setPartyTaxID
public void setPartyTaxID(@Nullable IdentifierType value)
Sets the value of the partyTaxID property.- Parameters:
value- allowed object isIdentifierType
-
getPartyName
@Nullable public TextType getPartyName()
Gets the value of the partyName property.- Returns:
- possible object is
TextType
-
setPartyName
public void setPartyName(@Nullable TextType value)
Sets the value of the partyName property.- Parameters:
value- allowed object isTextType
-
getPartyReportingIDs
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<IDSetType> getPartyReportingIDs()
Gets the value of the partyReportingIDs 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 partyReportingIDs property.For example, to add a new item, do as follows:
getPartyReportingIDs().add(newItem);Objects of the following type(s) are allowed in the list
IDSetType
-
getCommunication
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<CommunicationABIEType> getCommunication()
Gets the value of the communication 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 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
-
getPersonContact
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<PersonContactType> getPersonContact()
Gets the value of the personContact 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 personContact property.For example, to add a new item, do as follows:
getPersonContact().add(newItem);Objects of the following type(s) are allowed in the list
PersonContactType
-
getAgencyRoleCode
@Nullable public String getAgencyRoleCode()
Gets the value of the agencyRoleCode property.- Returns:
- possible object is
String
-
setAgencyRoleCode
public void setAgencyRoleCode(@Nullable String value)
Sets the value of the agencyRoleCode property.- Parameters:
value- allowed object isString
-
equals
public boolean equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
-
hashCode
public int hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
-
toString
public String toString()
Created by ph-jaxb22-plugin -Xph-tostring
-
setPartyID
public void setPartyID(@Nullable List<IdentifierType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
setPartyLegalID
public void setPartyLegalID(@Nullable List<IdentifierType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
setPartyReportingIDs
public void setPartyReportingIDs(@Nullable List<IDSetType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
setCommunication
public void setCommunication(@Nullable List<CommunicationABIEType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
setPersonContact
public void setPersonContact(@Nullable List<PersonContactType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
hasPartyIDEntries
public boolean hasPartyIDEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoPartyIDEntries
public boolean hasNoPartyIDEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getPartyIDCount
@Nonnegative public int getPartyIDCount()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getPartyIDAtIndex
@Nullable public IdentifierType getPartyIDAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
Created by ph-jaxb22-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!
-
addPartyID
public void addPartyID(@Nonnull IdentifierType elem)
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
hasPartyLegalIDEntries
public boolean hasPartyLegalIDEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoPartyLegalIDEntries
public boolean hasNoPartyLegalIDEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getPartyLegalIDCount
@Nonnegative public int getPartyLegalIDCount()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getPartyLegalIDAtIndex
@Nullable public IdentifierType getPartyLegalIDAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
Created by ph-jaxb22-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!
-
addPartyLegalID
public void addPartyLegalID(@Nonnull IdentifierType elem)
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
hasPartyReportingIDsEntries
public boolean hasPartyReportingIDsEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoPartyReportingIDsEntries
public boolean hasNoPartyReportingIDsEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getPartyReportingIDsCount
@Nonnegative public int getPartyReportingIDsCount()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getPartyReportingIDsAtIndex
@Nullable public IDSetType getPartyReportingIDsAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
Created by ph-jaxb22-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!
-
addPartyReportingIDs
public void addPartyReportingIDs(@Nonnull IDSetType elem)
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
hasCommunicationEntries
public boolean hasCommunicationEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoCommunicationEntries
public boolean hasNoCommunicationEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getCommunicationCount
@Nonnegative public int getCommunicationCount()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getCommunicationAtIndex
@Nullable public CommunicationABIEType getCommunicationAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
Created by ph-jaxb22-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!
-
addCommunication
public void addCommunication(@Nonnull CommunicationABIEType elem)
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
hasPersonContactEntries
public boolean hasPersonContactEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoPersonContactEntries
public boolean hasNoPersonContactEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getPersonContactCount
@Nonnegative public int getPersonContactCount()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getPersonContactAtIndex
@Nullable public PersonContactType getPersonContactAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
Created by ph-jaxb22-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!
-
addPersonContact
public void addPersonContact(@Nonnull PersonContactType elem)
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
cloneTo
public void cloneTo(@Nonnull BasePartyType ret)
This method clones all values fromthisto the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2- Parameters:
ret- The target object to clone to. May not benull.
-
clone
@Nonnull @ReturnsMutableCopy public BasePartyType clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
-
setPartyTaxID
@Nonnull public IdentifierType setPartyTaxID(@Nullable String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender- Parameters:
valueParam- The value to be set. May benull.- Returns:
- The created intermediary object of type IdentifierType and never
null
-
setPartyName
@Nonnull public TextType setPartyName(@Nullable String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender- Parameters:
valueParam- The value to be set. May benull.- Returns:
- The created intermediary object of type TextType and never
null
-
getPartyTaxIDValue
@Nullable public String getPartyTaxIDValue()
Get the value of the contained IdentifierType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender- Returns:
- Either the value of the contained IdentifierType object or
null
-
-