Class CodeType
- java.lang.Object
-
- eu.europa.data.europass.model.credentials_.CodeType
-
- All Implemented Interfaces:
com.helger.commons.lang.IExplicitlyCloneable,Cloneable
- Direct Known Subclasses:
AccreditationType.LimitEQFLevel,AccreditationType.LimitField,AccreditationType.LimitJurisdiction,AccreditationTypeCodeType,AddressType.Country,AgentType.Type,AssessmentSpecificationType.Language,AssessmentSpecificationType.Mode,AssessmentSpecificationType.Type,AssessmentType.IdVerificationMethod,AwardingOpportunityType.Location,DocumentType.Language,DocumentType.Subject,EntitlementSpecificationType.LimitJurisdiction,EntitlementSpecificationType.LimitNationalOccupation,EntitlementSpecificationType.LimitOccupation,EntitlementSpecificationType.Status,EntitlementSpecificationType.Type,ImageObjectType.ContentEncoding,ImageObjectType.ContentType,LearningActivitySpecificationType.Language,LearningActivitySpecificationType.Mode,LearningActivitySpecificationType.Type,LearningOpportunityType.LearningSchedule,LearningOutcomeType.RelatedEscoSkill,LearningOutcomeType.ReusabilityLevel,LearningOutcomeTypeCodeType,LocationType.SpatialCode,MediaObjectType.ContentEncoding,MediaObjectType.ContentType,OrganizationType.Type,PersonCountryCodeType,PersonGenderCodeType,QualificationType.EqfLevel,QualificationType.HasEducationLevel,QualificationType.HasEducationSubject,QualificationType.HasISCEDFCode,QualificationType.Language,QualificationType.LearningSettingType,QualificationType.Mode,QualificationType.NqfLevel,QualificationType.QualificationCode,QualificationType.TargetGroup,QualificationType.Type,SpatialCodeLocationType.SpatialCode
@CodingStyleguideUnaware public class CodeType extends Object implements com.helger.commons.lang.IExplicitlyCloneable
A term from a controlled vocabulary. A code is a character string of letters, numbers, special characters (except escape sequences), and symbols. It represents a definitive value, a method, or a property description in an abbreviated or language-independent form that is part of a finite list of allowed values. The CodeType is used for all elements that are used to enable a common coded value representation. Typical example of code types are: Country Code and Language Code. The CodeType should be used in case of a finite list of allowed values. The IdentifierType should be used in case of an infinite set of objects. This CodeType is a generic data type which is also used to represent association objects.Java class for CodeType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CodeType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <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://www.w3.org/2001/XMLSchema}anySimpleType" /> <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://www.w3.org/2001/XMLSchema}anyURI" /> <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>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 Summary
Constructors Constructor Description CodeType()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 voidaddTargetDescription(NoteType elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddTargetFrameworkName(LanguageStringType elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddTargetName(LanguageStringType elem)Created by ph-jaxb22-plugin -Xph-list-extensionCodeTypeclone()Created by ph-jaxb22-plugin -Xph-cloneable2voidcloneTo(CodeType ret)This method clones all values fromthisto the passed object.booleanequals(Object o)Created by ph-jaxb22-plugin -Xph-equalshashcodeStringgetDescription()Gets the value of the description property.List<NoteType>getTargetDescription()Gets the value of the targetDescription property.NoteTypegetTargetDescriptionAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetTargetDescriptionCount()Created by ph-jaxb22-plugin -Xph-list-extensionStringgetTargetFrameworkID()Gets the value of the targetFrameworkID property.List<LanguageStringType>getTargetFrameworkName()Gets the value of the targetFrameworkName property.LanguageStringTypegetTargetFrameworkNameAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetTargetFrameworkNameCount()Created by ph-jaxb22-plugin -Xph-list-extensionStringgetTargetFrameworkSpatialID()Gets the value of the targetFrameworkSpatialID property.StringgetTargetFrameworkUrl()Gets the value of the targetFrameworkUrl property.StringgetTargetID()Gets the value of the targetID property.List<LanguageStringType>getTargetName()Gets the value of the targetName property.LanguageStringTypegetTargetNameAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetTargetNameCount()Created by ph-jaxb22-plugin -Xph-list-extensionStringgetTargetNotation()Gets the value of the targetNotation property.StringgetType()Gets the value of the type property.StringgetUri()Gets the value of the uri property.inthashCode()Created by ph-jaxb22-plugin -Xph-equalshashcodebooleanhasNoTargetDescriptionEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoTargetFrameworkNameEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoTargetNameEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasTargetDescriptionEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasTargetFrameworkNameEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasTargetNameEntries()Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetDescription(String value)Sets the value of the description property.voidsetTargetDescription(List<NoteType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetTargetFrameworkID(String value)Sets the value of the targetFrameworkID property.voidsetTargetFrameworkName(List<LanguageStringType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetTargetFrameworkSpatialID(String value)Sets the value of the targetFrameworkSpatialID property.voidsetTargetFrameworkUrl(String value)Sets the value of the targetFrameworkUrl property.voidsetTargetID(String value)Sets the value of the targetID property.voidsetTargetName(List<LanguageStringType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetTargetNotation(String value)Sets the value of the targetNotation property.voidsetType(String value)Sets the value of the type property.voidsetUri(String value)Sets the value of the uri property.StringtoString()Created by ph-jaxb22-plugin -Xph-tostring
-
-
-
Method Detail
-
getTargetName
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<LanguageStringType> getTargetName()Gets the value of the targetName 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 targetName property.For example, to add a new item, do as follows:
getTargetName().add(newItem);Objects of the following type(s) are allowed in the list
LanguageStringType
-
getTargetDescription
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<NoteType> getTargetDescription()Gets the value of the targetDescription 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 targetDescription property.For example, to add a new item, do as follows:
getTargetDescription().add(newItem);Objects of the following type(s) are allowed in the list
NoteType
-
getTargetFrameworkName
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<LanguageStringType> getTargetFrameworkName()Gets the value of the targetFrameworkName 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 targetFrameworkName property.For example, to add a new item, do as follows:
getTargetFrameworkName().add(newItem);Objects of the following type(s) are allowed in the list
LanguageStringType
-
getUri
@Nullable public String getUri()
Gets the value of the uri property.- Returns:
- possible object is
String
-
setUri
public void setUri(@Nullable String value)Sets the value of the uri property.- Parameters:
value- allowed object isString
-
getTargetID
@Nullable public String getTargetID()
Gets the value of the targetID property.- Returns:
- possible object is
String
-
setTargetID
public void setTargetID(@Nullable String value)Sets the value of the targetID property.- Parameters:
value- allowed object isString
-
getType
@Nullable public String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(@Nullable String value)Sets the value of the type property.- Parameters:
value- allowed object isString
-
getDescription
@Nullable public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(@Nullable String value)Sets the value of the description property.- Parameters:
value- allowed object isString
-
getTargetNotation
@Nullable public String getTargetNotation()
Gets the value of the targetNotation property.- Returns:
- possible object is
String
-
setTargetNotation
public void setTargetNotation(@Nullable String value)Sets the value of the targetNotation property.- Parameters:
value- allowed object isString
-
getTargetFrameworkID
@Nullable public String getTargetFrameworkID()
Gets the value of the targetFrameworkID property.- Returns:
- possible object is
String
-
setTargetFrameworkID
public void setTargetFrameworkID(@Nullable String value)Sets the value of the targetFrameworkID property.- Parameters:
value- allowed object isString
-
getTargetFrameworkUrl
@Nullable public String getTargetFrameworkUrl()
Gets the value of the targetFrameworkUrl property.- Returns:
- possible object is
String
-
setTargetFrameworkUrl
public void setTargetFrameworkUrl(@Nullable String value)Sets the value of the targetFrameworkUrl property.- Parameters:
value- allowed object isString
-
getTargetFrameworkSpatialID
@Nullable public String getTargetFrameworkSpatialID()
Gets the value of the targetFrameworkSpatialID property.- Returns:
- possible object is
String
-
setTargetFrameworkSpatialID
public void setTargetFrameworkSpatialID(@Nullable String value)Sets the value of the targetFrameworkSpatialID 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
-
setTargetName
public void setTargetName(@Nullable List<LanguageStringType> aList)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
setTargetDescription
public void setTargetDescription(@Nullable List<NoteType> aList)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
setTargetFrameworkName
public void setTargetFrameworkName(@Nullable List<LanguageStringType> aList)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
hasTargetNameEntries
public boolean hasTargetNameEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoTargetNameEntries
public boolean hasNoTargetNameEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getTargetNameCount
@Nonnegative public int getTargetNameCount()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getTargetNameAtIndex
@Nullable public LanguageStringType getTargetNameAtIndex(@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!
-
addTargetName
public void addTargetName(@Nonnull LanguageStringType elem)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
hasTargetDescriptionEntries
public boolean hasTargetDescriptionEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoTargetDescriptionEntries
public boolean hasNoTargetDescriptionEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getTargetDescriptionCount
@Nonnegative public int getTargetDescriptionCount()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getTargetDescriptionAtIndex
@Nullable public NoteType getTargetDescriptionAtIndex(@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!
-
addTargetDescription
public void addTargetDescription(@Nonnull NoteType elem)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
hasTargetFrameworkNameEntries
public boolean hasTargetFrameworkNameEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoTargetFrameworkNameEntries
public boolean hasNoTargetFrameworkNameEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getTargetFrameworkNameCount
@Nonnegative public int getTargetFrameworkNameCount()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getTargetFrameworkNameAtIndex
@Nullable public LanguageStringType getTargetFrameworkNameAtIndex(@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!
-
addTargetFrameworkName
public void addTargetFrameworkName(@Nonnull LanguageStringType elem)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
cloneTo
public void cloneTo(@Nonnull CodeType 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.
-
-