Class ActivityType

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

    @CodingStyleguideUnaware
    public class ActivityType
    extends Object
    implements com.helger.commons.lang.IExplicitlyCloneable
    Any process which leads to the acquisition of knowledge, skills or responsibility and autonomy. Activities are used to represent any learning activity of an individual in a formal or non formal setting (e.g. attending an educational- or training program, a course, a working or practising activity). Typically the learning activity leads or contributes to an achievement after a formal and/or informal assessment procedure. The achievement is typically the result of a formal and/or informal assessment process during or after a learning activity.

    Java class for ActivityType complex type.

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

     <complexType name="ActivityType">
       <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="title" type="{http://data.europa.eu/europass/model/credentials#}LanguageStringType" maxOccurs="unbounded"/>
             <element name="description" type="{http://data.europa.eu/europass/model/credentials#}NoteType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="additionalNote" type="{http://data.europa.eu/europass/model/credentials#}NoteType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="workload" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/>
             <element name="startedAtTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
             <element name="endedAtTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
             <element name="directedBy" type="{http://data.europa.eu/europass/model/credentials#}IdReferenceType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="location" type="{http://data.europa.eu/europass/model/credentials#}LocationType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="specifiedBy" type="{http://data.europa.eu/europass/model/credentials#}IdReferenceType" minOccurs="0"/>
             <element name="usedLearningOpportunity" type="{http://data.europa.eu/europass/model/credentials#}IdReferenceType" minOccurs="0"/>
             <element name="influenced" type="{http://data.europa.eu/europass/model/credentials#}RestrictedAchievementsType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="hasPart" type="{http://data.europa.eu/europass/model/credentials#}ActivityType" 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

    This class contains methods created by ph-jaxb22-plugin -Xph-offset-dt-extension

    • Constructor Detail

      • ActivityType

        public ActivityType()
        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

      • getTitle

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

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

            getTitle().add(newItem);
         

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

      • 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

      • 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

      • getWorkload

        @Nullable
        public Duration getWorkload()
        Gets the value of the workload property.
        Returns:
        possible object is String
      • setWorkload

        public void setWorkload​(@Nullable
                                Duration value)
        Sets the value of the workload property.
        Parameters:
        value - allowed object is String
      • getStartedAtTime

        @Nullable
        public OffsetDateTime getStartedAtTime()
        Gets the value of the startedAtTime property.
        Returns:
        possible object is String
      • setStartedAtTime

        public void setStartedAtTime​(@Nullable
                                     OffsetDateTime value)
        Sets the value of the startedAtTime property.
        Parameters:
        value - allowed object is String
      • getEndedAtTime

        @Nullable
        public OffsetDateTime getEndedAtTime()
        Gets the value of the endedAtTime property.
        Returns:
        possible object is String
      • setEndedAtTime

        public void setEndedAtTime​(@Nullable
                                   OffsetDateTime value)
        Sets the value of the endedAtTime property.
        Parameters:
        value - allowed object is String
      • getDirectedBy

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

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

            getDirectedBy().add(newItem);
         

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

      • getLocation

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

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

            getLocation().add(newItem);
         

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

      • getSpecifiedBy

        @Nullable
        public IdReferenceType getSpecifiedBy()
        Gets the value of the specifiedBy property.
        Returns:
        possible object is IdReferenceType
      • setSpecifiedBy

        public void setSpecifiedBy​(@Nullable
                                   IdReferenceType value)
        Sets the value of the specifiedBy property.
        Parameters:
        value - allowed object is IdReferenceType
      • getUsedLearningOpportunity

        @Nullable
        public IdReferenceType getUsedLearningOpportunity()
        Gets the value of the usedLearningOpportunity property.
        Returns:
        possible object is IdReferenceType
      • setUsedLearningOpportunity

        public void setUsedLearningOpportunity​(@Nullable
                                               IdReferenceType value)
        Sets the value of the usedLearningOpportunity property.
        Parameters:
        value - allowed object is IdReferenceType
      • getInfluenced

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

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

            getInfluenced().add(newItem);
         

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

      • getHasPart

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

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

            getHasPart().add(newItem);
         

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

      • 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.
      • setTitle

        public void setTitle​(@Nullable
                             List<LanguageStringType> 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.
      • 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.
      • setDirectedBy

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

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

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

        public void setHasPart​(@Nullable
                               List<ActivityType> 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.
      • hasTitleEntries

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

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

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

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

        public void addTitle​(@Nonnull
                             LanguageStringType 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.
      • 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.
      • hasDirectedByEntries

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

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

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

        @Nullable
        public IdReferenceType getDirectedByAtIndex​(@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!
      • addDirectedBy

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

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

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

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

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

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

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

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

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

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

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

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

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

        @Nullable
        public ActivityType getHasPartAtIndex​(@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!
      • addHasPart

        public void addHasPart​(@Nonnull
                               ActivityType 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
                            ActivityType 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 ActivityType 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.
      • getStartedAtTimeLocal

        @Nullable
        public LocalDateTime getStartedAtTimeLocal()
        Created by ph-jaxb22-plugin -Xph-offset-dt-extension
        Returns:
        The LocalDateTime representation of startedAtTime. May be null.
      • setStartedAtTime

        public void setStartedAtTime​(@Nullable
                                     LocalDateTime aValue)
        Created by ph-jaxb22-plugin -Xph-offset-dt-extension
        Parameters:
        aValue - The LocalDateTime to set. May be null.
      • getEndedAtTimeLocal

        @Nullable
        public LocalDateTime getEndedAtTimeLocal()
        Created by ph-jaxb22-plugin -Xph-offset-dt-extension
        Returns:
        The LocalDateTime representation of endedAtTime. May be null.
      • setEndedAtTime

        public void setEndedAtTime​(@Nullable
                                   LocalDateTime aValue)
        Created by ph-jaxb22-plugin -Xph-offset-dt-extension
        Parameters:
        aValue - The LocalDateTime to set. May be null.