Class AgentType
- java.lang.Object
-
- eu.europa.data.europass.model.credentials_.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAgentType.TypeJava class for anonymous complex type.
-
Constructor Summary
Constructors Constructor Description AgentType()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-extensionvoidaddAltLabel(LanguageStringType elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddContactPoint(ContactPointType elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddHasLocation(LocationType elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddIdentifier(IdentifierType elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddPrefLabel(LanguageStringType elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddType(AgentType.Type elem)Created by ph-jaxb22-plugin -Xph-list-extensionAgentTypeclone()Created by ph-jaxb22-plugin -Xph-cloneable2voidcloneTo(AgentType 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<LanguageStringType>getAltLabel()Gets the value of the altLabel property.LanguageStringTypegetAltLabelAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetAltLabelCount()Created by ph-jaxb22-plugin -Xph-list-extensionList<ContactPointType>getContactPoint()Gets the value of the contactPoint property.ContactPointTypegetContactPointAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetContactPointCount()Created by ph-jaxb22-plugin -Xph-list-extensionList<LocationType>getHasLocation()Gets the value of the hasLocation property.LocationTypegetHasLocationAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetHasLocationCount()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-extensionList<LanguageStringType>getPrefLabel()Gets the value of the prefLabel property.LanguageStringTypegetPrefLabelAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetPrefLabelCount()Created by ph-jaxb22-plugin -Xph-list-extensionList<AgentType.Type>getType()Gets the value of the type property.AgentType.TypegetTypeAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetTypeCount()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasAdditionalNoteEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasAltLabelEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasContactPointEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasHasLocationEntries()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-extensionbooleanhasNoAltLabelEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoContactPointEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoHasLocationEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoIdentifierEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoPrefLabelEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoTypeEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasPrefLabelEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasTypeEntries()Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetAdditionalNote(List<NoteType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetAltLabel(List<LanguageStringType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetContactPoint(List<ContactPointType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetHasLocation(List<LocationType> 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-extensionvoidsetPrefLabel(List<LanguageStringType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetType(List<AgentType.Type> 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
-
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
setmethod 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
setmethod 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
setmethod 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
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
-
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
setmethod 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
setmethod 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 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.
-
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 benull.
-
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 benull.
-
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 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.
-
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 benull.
-
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 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.
-
hasTypeEntries
public boolean hasTypeEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoTypeEntries
public boolean hasNoTypeEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
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 benull.
-
hasPrefLabelEntries
public boolean hasPrefLabelEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoPrefLabelEntries
public boolean hasNoPrefLabelEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
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 benull.
-
hasAltLabelEntries
public boolean hasAltLabelEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoAltLabelEntries
public boolean hasNoAltLabelEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
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 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.
-
hasHasLocationEntries
public boolean hasHasLocationEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoHasLocationEntries
public boolean hasNoHasLocationEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
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 benull.
-
hasContactPointEntries
public boolean hasContactPointEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoContactPointEntries
public boolean hasNoContactPointEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
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 benull.
-
cloneTo
public void cloneTo(@Nonnull AgentType 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.
-
-