Class AchievementsType

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

    @CodingStyleguideUnaware
    public class AchievementsType
    extends Object
    implements com.helger.commons.lang.IExplicitlyCloneable
    Container element to record achievements of the person. An achievement is the outcome of a learning process and/or assessment in formal, non-formal or informal settings. Such outcome consists of the acquisition of learning outcomes or of an entitlement by the person who underwent the learning process. An achievement is awarded as a result of assessment(s), after the person has undergone learning activity(ies). These do not necessarily need to be described in the credential, although it is recommended. Achievement examples.: - An awarded or recognised set of learning outcomes - An awarded qualification or a diploma - An entitlement (e.g. a permit) - ...

    Java class for AchievementsType complex type.

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

     <complexType name="AchievementsType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <choice maxOccurs="unbounded" minOccurs="0">
             <element name="learningAchievement" type="{http://data.europa.eu/europass/model/credentials#}LearningAchievementType"/>
             <element name="qualificationAward" type="{http://data.europa.eu/europass/model/credentials#}QualificationAwardType"/>
           </choice>
         </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

      • AchievementsType

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

      • getLearningAchievementOrQualificationAward

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

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

            getLearningAchievementOrQualificationAward().add(newItem);
         

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

      • 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
      • setLearningAchievementOrQualificationAward

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

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

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

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

        @Nullable
        public AchievementType getLearningAchievementOrQualificationAwardAtIndex​(@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!
      • addLearningAchievementOrQualificationAward

        public void addLearningAchievementOrQualificationAward​(@Nonnull
                                                               AchievementType 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
                            AchievementsType 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 AchievementsType 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.