Class 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 Detail

      • BasePartyType

        public BasePartyType()
        Default constructor
        Note: automatically created by ph-jaxb22-plugin -Xph-value-extender
    • 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 set method 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 set method 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

      • 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 is TextType
      • 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 set method 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 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

      • 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 set method 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 is String
      • equals

        public boolean equals​(Object o)
        Created by ph-jaxb22-plugin -Xph-equalshashcode
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Created by ph-jaxb22-plugin -Xph-equalshashcode
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Created by ph-jaxb22-plugin -Xph-tostring
        Overrides:
        toString in class Object
      • 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 be null.
      • 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 be null.
      • 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 be null.
      • 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 be null.
      • 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 be null.
      • hasPartyIDEntries

        public boolean hasPartyIDEntries()
        Created by ph-jaxb22-plugin -Xph-list-extension
        Returns:
        true if at least one item is contained, false otherwise.
      • hasNoPartyIDEntries

        public boolean hasNoPartyIDEntries()
        Created by ph-jaxb22-plugin -Xph-list-extension
        Returns:
        true if no item is contained, false otherwise.
      • getPartyIDCount

        @Nonnegative
        public int getPartyIDCount()
        Created by ph-jaxb22-plugin -Xph-list-extension
        Returns:
        The number of contained elements. Always ≥ 0.
      • addPartyID

        public void addPartyID​(@Nonnull
                               IdentifierType elem)
        Created by ph-jaxb22-plugin -Xph-list-extension
        Parameters:
        elem - The element to be added. May not be null.
      • hasPartyLegalIDEntries

        public boolean hasPartyLegalIDEntries()
        Created by ph-jaxb22-plugin -Xph-list-extension
        Returns:
        true if at least one item is contained, false otherwise.
      • hasNoPartyLegalIDEntries

        public boolean hasNoPartyLegalIDEntries()
        Created by ph-jaxb22-plugin -Xph-list-extension
        Returns:
        true if no item is contained, false otherwise.
      • getPartyLegalIDCount

        @Nonnegative
        public int getPartyLegalIDCount()
        Created by ph-jaxb22-plugin -Xph-list-extension
        Returns:
        The number of contained elements. Always ≥ 0.
      • addPartyLegalID

        public void addPartyLegalID​(@Nonnull
                                    IdentifierType elem)
        Created by ph-jaxb22-plugin -Xph-list-extension
        Parameters:
        elem - The element to be added. May not be null.
      • hasPartyReportingIDsEntries

        public boolean hasPartyReportingIDsEntries()
        Created by ph-jaxb22-plugin -Xph-list-extension
        Returns:
        true if at least one item is contained, false otherwise.
      • hasNoPartyReportingIDsEntries

        public boolean hasNoPartyReportingIDsEntries()
        Created by ph-jaxb22-plugin -Xph-list-extension
        Returns:
        true if no item is contained, false otherwise.
      • getPartyReportingIDsCount

        @Nonnegative
        public int getPartyReportingIDsCount()
        Created by ph-jaxb22-plugin -Xph-list-extension
        Returns:
        The number of contained elements. Always ≥ 0.
      • addPartyReportingIDs

        public void addPartyReportingIDs​(@Nonnull
                                         IDSetType elem)
        Created by ph-jaxb22-plugin -Xph-list-extension
        Parameters:
        elem - The element to be added. May not be null.
      • hasCommunicationEntries

        public boolean hasCommunicationEntries()
        Created by ph-jaxb22-plugin -Xph-list-extension
        Returns:
        true if at least one item is contained, false otherwise.
      • hasNoCommunicationEntries

        public boolean hasNoCommunicationEntries()
        Created by ph-jaxb22-plugin -Xph-list-extension
        Returns:
        true if no item is contained, false otherwise.
      • getCommunicationCount

        @Nonnegative
        public int getCommunicationCount()
        Created by ph-jaxb22-plugin -Xph-list-extension
        Returns:
        The number of contained elements. Always ≥ 0.
      • addCommunication

        public void addCommunication​(@Nonnull
                                     CommunicationABIEType elem)
        Created by ph-jaxb22-plugin -Xph-list-extension
        Parameters:
        elem - The element to be added. May not be null.
      • hasPersonContactEntries

        public boolean hasPersonContactEntries()
        Created by ph-jaxb22-plugin -Xph-list-extension
        Returns:
        true if at least one item is contained, false otherwise.
      • hasNoPersonContactEntries

        public boolean hasNoPersonContactEntries()
        Created by ph-jaxb22-plugin -Xph-list-extension
        Returns:
        true if no item is contained, false otherwise.
      • getPersonContactCount

        @Nonnegative
        public int getPersonContactCount()
        Created by ph-jaxb22-plugin -Xph-list-extension
        Returns:
        The number of contained elements. Always ≥ 0.
      • addPersonContact

        public void addPersonContact​(@Nonnull
                                     PersonContactType elem)
        Created by ph-jaxb22-plugin -Xph-list-extension
        Parameters:
        elem - The element to be added. May not be null.
      • cloneTo

        public void cloneTo​(@Nonnull
                            BasePartyType ret)
        This method clones all values from this to 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 be null.
      • clone

        @Nonnull
        @ReturnsMutableCopy
        public BasePartyType clone()
        Created by ph-jaxb22-plugin -Xph-cloneable2
        Specified by:
        clone in interface com.helger.commons.lang.IExplicitlyCloneable
        Overrides:
        clone in class Object
        Returns:
        The cloned object. Never null.
      • 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 be null.
        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 be null.
        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
      • getPartyNameValue

        @Nullable
        public String getPartyNameValue()
        Get the value of the contained TextType object
        Note: automatically created by ph-jaxb22-plugin -Xph-value-extender
        Returns:
        Either the value of the contained TextType object or null