Class ContactPointType

  • All Implemented Interfaces:
    com.helger.commons.lang.IExplicitlyCloneable, Cloneable

    @CodingStyleguideUnaware
    public class ContactPointType
    extends Object
    implements com.helger.commons.lang.IExplicitlyCloneable

    Java class for ContactPointType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="ContactPointType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="note" type="{http://data.europa.eu/europass/model/credentials#}NoteType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="description" type="{http://data.europa.eu/europass/model/credentials#}NoteType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="address" type="{http://data.europa.eu/europass/model/credentials#}AddressType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="phone" type="{http://data.europa.eu/europass/model/credentials#}PhoneType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="mailBox" type="{http://data.europa.eu/europass/model/credentials#}MBoxType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="webresource" type="{http://data.europa.eu/europass/model/credentials#}InteractiveWebResourceType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="wallet" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </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 Detail

      • ContactPointType

        public ContactPointType()
        Default constructor
        Note: automatically created by ph-jaxb22-plugin -Xph-value-extender
    • Method Detail

      • getNote

        @Nonnull
        @ReturnsMutableObject("JAXB implementation style")
        public List<NoteType> getNote()
        Gets the value of the note 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 note property.

        For example, to add a new item, do as follows:

            getNote().add(newItem);
         

        Objects of the following type(s) are allowed in the list NoteType

      • getDescription

        @Nonnull
        @ReturnsMutableObject("JAXB implementation style")
        public List<NoteType> getDescription()
        Gets the value of the description 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 description property.

        For example, to add a new item, do as follows:

            getDescription().add(newItem);
         

        Objects of the following type(s) are allowed in the list NoteType

      • getAddress

        @Nonnull
        @ReturnsMutableObject("JAXB implementation style")
        public List<AddressType> getAddress()
        Gets the value of the address 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 address property.

        For example, to add a new item, do as follows:

            getAddress().add(newItem);
         

        Objects of the following type(s) are allowed in the list AddressType

      • getPhone

        @Nonnull
        @ReturnsMutableObject("JAXB implementation style")
        public List<PhoneType> getPhone()
        Gets the value of the phone 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 phone property.

        For example, to add a new item, do as follows:

            getPhone().add(newItem);
         

        Objects of the following type(s) are allowed in the list PhoneType

      • getMailBox

        @Nonnull
        @ReturnsMutableObject("JAXB implementation style")
        public List<MBoxType> getMailBox()
        Gets the value of the mailBox 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 mailBox property.

        For example, to add a new item, do as follows:

            getMailBox().add(newItem);
         

        Objects of the following type(s) are allowed in the list MBoxType

      • getWebresource

        @Nonnull
        @ReturnsMutableObject("JAXB implementation style")
        public List<InteractiveWebResourceType> getWebresource()
        Gets the value of the webresource 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 webresource property.

        For example, to add a new item, do as follows:

            getWebresource().add(newItem);
         

        Objects of the following type(s) are allowed in the list InteractiveWebResourceType

      • getWallet

        @Nonnull
        @ReturnsMutableObject("JAXB implementation style")
        public List<String> getWallet()
        Gets the value of the wallet 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 wallet property.

        For example, to add a new item, do as follows:

            getWallet().add(newItem);
         

        Objects of the following type(s) are allowed in the list 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
      • setNote

        public void setNote​(@Nullable
                            List<NoteType> aList)
        Created by ph-jaxb22-plugin -Xph-list-extension
        Parameters:
        aList - The new list member to set. May be null.
      • setDescription

        public void setDescription​(@Nullable
                                   List<NoteType> aList)
        Created by ph-jaxb22-plugin -Xph-list-extension
        Parameters:
        aList - The new list member to set. May be null.
      • setAddress

        public void setAddress​(@Nullable
                               List<AddressType> aList)
        Created by ph-jaxb22-plugin -Xph-list-extension
        Parameters:
        aList - The new list member to set. May be null.
      • setPhone

        public void setPhone​(@Nullable
                             List<PhoneType> aList)
        Created by ph-jaxb22-plugin -Xph-list-extension
        Parameters:
        aList - The new list member to set. May be null.
      • setMailBox

        public void setMailBox​(@Nullable
                               List<MBoxType> aList)
        Created by ph-jaxb22-plugin -Xph-list-extension
        Parameters:
        aList - The new list member to set. May be null.
      • setWebresource

        public void setWebresource​(@Nullable
                                   List<InteractiveWebResourceType> aList)
        Created by ph-jaxb22-plugin -Xph-list-extension
        Parameters:
        aList - The new list member to set. May be null.
      • setWallet

        public void setWallet​(@Nullable
                              List<String> aList)
        Created by ph-jaxb22-plugin -Xph-list-extension
        Parameters:
        aList - The new list member to set. May be null.
      • hasNoteEntries

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

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

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

        @Nullable
        public NoteType getNoteAtIndex​(@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!
      • addNote

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

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

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

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

        @Nullable
        public NoteType getDescriptionAtIndex​(@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!
      • addDescription

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

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

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

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

        @Nullable
        public AddressType getAddressAtIndex​(@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!
      • addAddress

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

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

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

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

        @Nullable
        public PhoneType getPhoneAtIndex​(@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!
      • addPhone

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

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

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

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

        @Nullable
        public MBoxType getMailBoxAtIndex​(@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!
      • addMailBox

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

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

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

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

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

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

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

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

        @Nullable
        public String getWalletAtIndex​(@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!
      • addWallet

        public void addWallet​(@Nonnull
                              String 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
                            ContactPointType 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 ContactPointType 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.