Class EntitlementType
- java.lang.Object
-
- eu.europa.data.europass.model.credentials_.EntitlementType
-
- All Implemented Interfaces:
com.helger.commons.lang.IExplicitlyCloneable,Cloneable
@CodingStyleguideUnaware public class EntitlementType extends Object implements com.helger.commons.lang.IExplicitlyCloneable
A right, e.g. to practice a profession or perform a task, as a result of the acquisition of knowledge, skills, responsibility and/or autonomy. Other examples: - the right to be a member of an organisation - the right to follow a certain learning opportunity - the right to follow a certain career - ...Java class for EntitlementType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EntitlementType"> <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="issuedDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> <element name="expiryDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> <element name="additionalNote" type="{http://data.europa.eu/europass/model/credentials#}NoteType" maxOccurs="unbounded" minOccurs="0"/> <element name="specifiedBy" type="{http://data.europa.eu/europass/model/credentials#}IdReferenceType" minOccurs="0"/> <element name="wasDerivedFrom" type="{http://data.europa.eu/europass/model/credentials#}RestrictedAchievementsType" maxOccurs="unbounded" minOccurs="0"/> <element name="hasPart" type="{http://data.europa.eu/europass/model/credentials#}EntitlementType" 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 Summary
Constructors Constructor Description EntitlementType()Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAdditionalNote(NoteType elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddDescription(NoteType elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddHasPart(EntitlementType elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddIdentifier(IdentifierType elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddTitle(LanguageStringType elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddWasDerivedFrom(RestrictedAchievementsType elem)Created by ph-jaxb22-plugin -Xph-list-extensionEntitlementTypeclone()Created by ph-jaxb22-plugin -Xph-cloneable2voidcloneTo(EntitlementType ret)This method clones all values fromthisto the passed object.booleanequals(Object o)Created by ph-jaxb22-plugin -Xph-equalshashcodeList<NoteType>getAdditionalNote()Gets the value of the additionalNote property.NoteTypegetAdditionalNoteAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetAdditionalNoteCount()Created by ph-jaxb22-plugin -Xph-list-extensionList<NoteType>getDescription()Gets the value of the description property.NoteTypegetDescriptionAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetDescriptionCount()Created by ph-jaxb22-plugin -Xph-list-extensioncom.helger.commons.datetime.OffsetDategetExpiryDate()Gets the value of the expiryDate property.LocalDategetExpiryDateLocal()Created by ph-jaxb22-plugin -Xph-offset-dt-extensionList<EntitlementType>getHasPart()Gets the value of the hasPart property.EntitlementTypegetHasPartAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetHasPartCount()Created by ph-jaxb22-plugin -Xph-list-extensionStringgetId()Gets the value of the id property.List<IdentifierType>getIdentifier()Gets the value of the identifier property.IdentifierTypegetIdentifierAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetIdentifierCount()Created by ph-jaxb22-plugin -Xph-list-extensioncom.helger.commons.datetime.OffsetDategetIssuedDate()Gets the value of the issuedDate property.LocalDategetIssuedDateLocal()Created by ph-jaxb22-plugin -Xph-offset-dt-extensionIdReferenceTypegetSpecifiedBy()Gets the value of the specifiedBy property.List<LanguageStringType>getTitle()Gets the value of the title property.LanguageStringTypegetTitleAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetTitleCount()Created by ph-jaxb22-plugin -Xph-list-extensionList<RestrictedAchievementsType>getWasDerivedFrom()Gets the value of the wasDerivedFrom property.RestrictedAchievementsTypegetWasDerivedFromAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetWasDerivedFromCount()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasAdditionalNoteEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasDescriptionEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasHasPartEntries()Created by ph-jaxb22-plugin -Xph-list-extensioninthashCode()Created by ph-jaxb22-plugin -Xph-equalshashcodebooleanhasIdentifierEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoAdditionalNoteEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoDescriptionEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoHasPartEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoIdentifierEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoTitleEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoWasDerivedFromEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasTitleEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasWasDerivedFromEntries()Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetAdditionalNote(List<NoteType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetDescription(List<NoteType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetExpiryDate(com.helger.commons.datetime.OffsetDate value)Sets the value of the expiryDate property.voidsetExpiryDate(LocalDate aValue)Created by ph-jaxb22-plugin -Xph-offset-dt-extensionvoidsetHasPart(List<EntitlementType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetId(String value)Sets the value of the id property.voidsetIdentifier(List<IdentifierType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetIssuedDate(com.helger.commons.datetime.OffsetDate value)Sets the value of the issuedDate property.voidsetIssuedDate(LocalDate aValue)Created by ph-jaxb22-plugin -Xph-offset-dt-extensionvoidsetSpecifiedBy(IdReferenceType value)Sets the value of the specifiedBy property.voidsetTitle(List<LanguageStringType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetWasDerivedFrom(List<RestrictedAchievementsType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionStringtoString()Created by ph-jaxb22-plugin -Xph-tostring
-
-
-
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
setmethod 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
setmethod 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
setmethod 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
-
getIssuedDate
@Nullable public com.helger.commons.datetime.OffsetDate getIssuedDate()
Gets the value of the issuedDate property.- Returns:
- possible object is
String
-
setIssuedDate
public void setIssuedDate(@Nullable com.helger.commons.datetime.OffsetDate value)Sets the value of the issuedDate property.- Parameters:
value- allowed object isString
-
getExpiryDate
@Nullable public com.helger.commons.datetime.OffsetDate getExpiryDate()
Gets the value of the expiryDate property.- Returns:
- possible object is
String
-
setExpiryDate
public void setExpiryDate(@Nullable com.helger.commons.datetime.OffsetDate value)Sets the value of the expiryDate property.- Parameters:
value- allowed object isString
-
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
setmethod 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
-
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 isIdReferenceType
-
getWasDerivedFrom
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<RestrictedAchievementsType> getWasDerivedFrom()Gets the value of the wasDerivedFrom 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
setmethod for the wasDerivedFrom property.For example, to add a new item, do as follows:
getWasDerivedFrom().add(newItem);Objects of the following type(s) are allowed in the list
RestrictedAchievementsType
-
getHasPart
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<EntitlementType> 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
setmethod 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
EntitlementType
-
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 isString
-
equals
public boolean equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
-
hashCode
public int hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
-
toString
public String toString()
Created by ph-jaxb22-plugin -Xph-tostring
-
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 benull.
-
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 benull.
-
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 benull.
-
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 benull.
-
setWasDerivedFrom
public void setWasDerivedFrom(@Nullable List<RestrictedAchievementsType> aList)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
setHasPart
public void setHasPart(@Nullable List<EntitlementType> aList)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
hasIdentifierEntries
public boolean hasIdentifierEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoIdentifierEntries
public boolean hasNoIdentifierEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
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 benull.
-
hasTitleEntries
public boolean hasTitleEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoTitleEntries
public boolean hasNoTitleEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
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 benull.
-
hasDescriptionEntries
public boolean hasDescriptionEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoDescriptionEntries
public boolean hasNoDescriptionEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
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 benull.
-
hasAdditionalNoteEntries
public boolean hasAdditionalNoteEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoAdditionalNoteEntries
public boolean hasNoAdditionalNoteEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
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 benull.
-
hasWasDerivedFromEntries
public boolean hasWasDerivedFromEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoWasDerivedFromEntries
public boolean hasNoWasDerivedFromEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getWasDerivedFromCount
@Nonnegative public int getWasDerivedFromCount()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getWasDerivedFromAtIndex
@Nullable public RestrictedAchievementsType getWasDerivedFromAtIndex(@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!
-
addWasDerivedFrom
public void addWasDerivedFrom(@Nonnull RestrictedAchievementsType elem)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
hasHasPartEntries
public boolean hasHasPartEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoHasPartEntries
public boolean hasNoHasPartEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getHasPartCount
@Nonnegative public int getHasPartCount()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getHasPartAtIndex
@Nullable public EntitlementType 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 EntitlementType elem)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
cloneTo
public void cloneTo(@Nonnull EntitlementType ret)This method clones all values fromthisto 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 benull.
-
clone
@Nonnull @ReturnsMutableCopy public EntitlementType clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
-
getIssuedDateLocal
@Nullable public LocalDate getIssuedDateLocal()
Created by ph-jaxb22-plugin -Xph-offset-dt-extension- Returns:
- The LocalDate representation of issuedDate. May be
null.
-
setIssuedDate
public void setIssuedDate(@Nullable LocalDate aValue)Created by ph-jaxb22-plugin -Xph-offset-dt-extension- Parameters:
aValue- The LocalDate to set. May benull.
-
getExpiryDateLocal
@Nullable public LocalDate getExpiryDateLocal()
Created by ph-jaxb22-plugin -Xph-offset-dt-extension- Returns:
- The LocalDate representation of expiryDate. May be
null.
-
setExpiryDate
public void setExpiryDate(@Nullable LocalDate aValue)Created by ph-jaxb22-plugin -Xph-offset-dt-extension- Parameters:
aValue- The LocalDate to set. May benull.
-
-