Class AgentType

  • All Implemented Interfaces:
    com.helger.commons.lang.IExplicitlyCloneable, Cloneable
    Direct Known Subclasses:
    PersonType

    @CodingStyleguideUnaware
    public class AgentType
    extends Object
    implements com.helger.commons.lang.IExplicitlyCloneable
    An entity that is able to carry out actions. The Agent class does encompass organisations, natural persons, groups, systems, etc…

    Java class for AgentType complex type.

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

     <complexType name="AgentType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="identifier" type="{http://data.europa.eu/europass/model/credentials#}IdentifierType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="type" maxOccurs="unbounded" minOccurs="0">
               <complexType>
                 <complexContent>
                   <restriction base="{http://data.europa.eu/europass/model/credentials#}CodeType">
                     <sequence>
                       <element name="targetName" type="{http://data.europa.eu/europass/model/credentials#}LanguageStringType" maxOccurs="unbounded"/>
                       <element name="targetDescription" type="{http://data.europa.eu/europass/model/credentials#}NoteType" maxOccurs="unbounded" minOccurs="0"/>
                       <element name="targetFrameworkName" type="{http://data.europa.eu/europass/model/credentials#}LanguageStringType" maxOccurs="unbounded"/>
                     </sequence>
                     <attribute name="uri" type="{http://data.europa.eu/europass/model/credentials#}EscoOrganizationTypeEnumType" />
                     <attribute name="targetID" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
                     <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
                     <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}normalizedString" />
                     <attribute name="targetNotation" type="{http://www.w3.org/2001/XMLSchema}token" />
                     <attribute name="targetFrameworkID" type="{http://data.europa.eu/europass/model/credentials#}IdType" />
                     <attribute name="targetFrameworkUrl" use="required" type="{http://data.europa.eu/europass/model/credentials#}DocumentURLType" />
                     <attribute name="targetFrameworkSpatialID" type="{http://data.europa.eu/europass/model/credentials#}LocationCodeContentType" />
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
             <element name="prefLabel" type="{http://data.europa.eu/europass/model/credentials#}LanguageStringType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="altLabel" type="{http://data.europa.eu/europass/model/credentials#}LanguageStringType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="additionalNote" type="{http://data.europa.eu/europass/model/credentials#}NoteType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="hasLocation" type="{http://data.europa.eu/europass/model/credentials#}LocationType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="contactPoint" type="{http://data.europa.eu/europass/model/credentials#}ContactPointType" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="id" use="required" type="{http://data.europa.eu/europass/model/credentials#}IdType" />
         </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

      • AgentType

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

      • getIdentifier

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

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

            getIdentifier().add(newItem);
         

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

      • getType

        @Nonnull
        @ReturnsMutableObject("JAXB implementation style")
        public List<AgentType.Type> getType()
        Gets the value of the type 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 type property.

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

            getType().add(newItem);
         

        Objects of the following type(s) are allowed in the list AgentType.Type

      • getPrefLabel

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

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

            getPrefLabel().add(newItem);
         

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

      • getAltLabel

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

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

            getAltLabel().add(newItem);
         

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

      • getAdditionalNote

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

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

            getAdditionalNote().add(newItem);
         

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

      • getHasLocation

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

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

            getHasLocation().add(newItem);
         

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

      • getContactPoint

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

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

            getContactPoint().add(newItem);
         

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

      • getId

        @Nullable
        public String getId()
        Gets the value of the id property.
        Returns:
        possible object is String
      • setId

        public void setId​(@Nullable
                          String value)
        Sets the value of the id 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
      • setIdentifier

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

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

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

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

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

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

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

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

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

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

        @Nullable
        public IdentifierType getIdentifierAtIndex​(@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!
      • addIdentifier

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

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

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

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

        @Nullable
        public AgentType.Type getTypeAtIndex​(@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!
      • addType

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

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

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

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

        @Nullable
        public LanguageStringType getPrefLabelAtIndex​(@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!
      • addPrefLabel

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

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

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

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

        @Nullable
        public LanguageStringType getAltLabelAtIndex​(@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!
      • addAltLabel

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

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

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

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

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

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

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

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

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

        @Nullable
        public LocationType getHasLocationAtIndex​(@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!
      • addHasLocation

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

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

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

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

        @Nullable
        public ContactPointType getContactPointAtIndex​(@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!
      • addContactPoint

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