Class ContactPointType
- java.lang.Object
-
- eu.europa.data.europass.model.credentials_.ContactPointType
-
- All Implemented Interfaces:
com.helger.commons.lang.IExplicitlyCloneable,Cloneable
@CodingStyleguideUnaware public class ContactPointType extends Object implements com.helger.commons.lang.IExplicitlyCloneable
Java class for ContactPointType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ContactPointType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="note" type="{http://data.europa.eu/europass/model/credentials#}NoteType" maxOccurs="unbounded" minOccurs="0"/> <element name="description" type="{http://data.europa.eu/europass/model/credentials#}NoteType" maxOccurs="unbounded" minOccurs="0"/> <element name="address" type="{http://data.europa.eu/europass/model/credentials#}AddressType" maxOccurs="unbounded" minOccurs="0"/> <element name="phone" type="{http://data.europa.eu/europass/model/credentials#}PhoneType" maxOccurs="unbounded" minOccurs="0"/> <element name="mailBox" type="{http://data.europa.eu/europass/model/credentials#}MBoxType" maxOccurs="unbounded" minOccurs="0"/> <element name="webresource" type="{http://data.europa.eu/europass/model/credentials#}InteractiveWebResourceType" maxOccurs="unbounded" minOccurs="0"/> <element name="wallet" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> </sequence> </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 ContactPointType()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 voidaddAddress(AddressType elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddDescription(NoteType elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddMailBox(MBoxType elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddNote(NoteType elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddPhone(PhoneType elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddWallet(String elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddWebresource(InteractiveWebResourceType elem)Created by ph-jaxb22-plugin -Xph-list-extensionContactPointTypeclone()Created by ph-jaxb22-plugin -Xph-cloneable2voidcloneTo(ContactPointType ret)This method clones all values fromthisto the passed object.booleanequals(Object o)Created by ph-jaxb22-plugin -Xph-equalshashcodeList<AddressType>getAddress()Gets the value of the address property.AddressTypegetAddressAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetAddressCount()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-extensionList<MBoxType>getMailBox()Gets the value of the mailBox property.MBoxTypegetMailBoxAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetMailBoxCount()Created by ph-jaxb22-plugin -Xph-list-extensionList<NoteType>getNote()Gets the value of the note property.NoteTypegetNoteAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetNoteCount()Created by ph-jaxb22-plugin -Xph-list-extensionList<PhoneType>getPhone()Gets the value of the phone property.PhoneTypegetPhoneAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetPhoneCount()Created by ph-jaxb22-plugin -Xph-list-extensionList<String>getWallet()Gets the value of the wallet property.StringgetWalletAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetWalletCount()Created by ph-jaxb22-plugin -Xph-list-extensionList<InteractiveWebResourceType>getWebresource()Gets the value of the webresource property.InteractiveWebResourceTypegetWebresourceAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetWebresourceCount()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasAddressEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasDescriptionEntries()Created by ph-jaxb22-plugin -Xph-list-extensioninthashCode()Created by ph-jaxb22-plugin -Xph-equalshashcodebooleanhasMailBoxEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoAddressEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoDescriptionEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoMailBoxEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoNoteEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoPhoneEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoteEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoWalletEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoWebresourceEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasPhoneEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasWalletEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasWebresourceEntries()Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetAddress(List<AddressType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetDescription(List<NoteType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetMailBox(List<MBoxType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetNote(List<NoteType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetPhone(List<PhoneType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetWallet(List<String> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetWebresource(List<InteractiveWebResourceType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionStringtoString()Created by ph-jaxb22-plugin -Xph-tostring
-
-
-
Method Detail
-
getNote
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<NoteType> getNote()Gets the value of the note 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 note property.For example, to add a new item, do as follows:
getNote().add(newItem);Objects of the following type(s) are allowed in the list
NoteType
-
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
-
getAddress
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<AddressType> getAddress()Gets the value of the address 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 address property.For example, to add a new item, do as follows:
getAddress().add(newItem);Objects of the following type(s) are allowed in the list
AddressType
-
getPhone
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<PhoneType> getPhone()Gets the value of the phone 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 phone property.For example, to add a new item, do as follows:
getPhone().add(newItem);Objects of the following type(s) are allowed in the list
PhoneType
-
getMailBox
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<MBoxType> getMailBox()Gets the value of the mailBox 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 mailBox property.For example, to add a new item, do as follows:
getMailBox().add(newItem);Objects of the following type(s) are allowed in the list
MBoxType
-
getWebresource
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<InteractiveWebResourceType> getWebresource()Gets the value of the webresource 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 webresource property.For example, to add a new item, do as follows:
getWebresource().add(newItem);Objects of the following type(s) are allowed in the list
InteractiveWebResourceType
-
getWallet
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<String> getWallet()Gets the value of the wallet 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 wallet property.For example, to add a new item, do as follows:
getWallet().add(newItem);Objects of the following type(s) are allowed in the list
String
-
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
-
setNote
public void setNote(@Nullable List<NoteType> 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.
-
setAddress
public void setAddress(@Nullable List<AddressType> aList)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
setPhone
public void setPhone(@Nullable List<PhoneType> aList)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
setMailBox
public void setMailBox(@Nullable List<MBoxType> aList)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
setWebresource
public void setWebresource(@Nullable List<InteractiveWebResourceType> aList)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
setWallet
public void setWallet(@Nullable List<String> aList)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
hasNoteEntries
public boolean hasNoteEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoNoteEntries
public boolean hasNoNoteEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getNoteCount
@Nonnegative public int getNoteCount()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getNoteAtIndex
@Nullable public NoteType getNoteAtIndex(@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!
-
addNote
public void addNote(@Nonnull NoteType 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.
-
hasAddressEntries
public boolean hasAddressEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoAddressEntries
public boolean hasNoAddressEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getAddressCount
@Nonnegative public int getAddressCount()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getAddressAtIndex
@Nullable public AddressType getAddressAtIndex(@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!
-
addAddress
public void addAddress(@Nonnull AddressType elem)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
hasPhoneEntries
public boolean hasPhoneEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoPhoneEntries
public boolean hasNoPhoneEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getPhoneCount
@Nonnegative public int getPhoneCount()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getPhoneAtIndex
@Nullable public PhoneType getPhoneAtIndex(@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!
-
addPhone
public void addPhone(@Nonnull PhoneType elem)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
hasMailBoxEntries
public boolean hasMailBoxEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoMailBoxEntries
public boolean hasNoMailBoxEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getMailBoxCount
@Nonnegative public int getMailBoxCount()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getMailBoxAtIndex
@Nullable public MBoxType getMailBoxAtIndex(@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!
-
addMailBox
public void addMailBox(@Nonnull MBoxType elem)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
hasWebresourceEntries
public boolean hasWebresourceEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoWebresourceEntries
public boolean hasNoWebresourceEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getWebresourceCount
@Nonnegative public int getWebresourceCount()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getWebresourceAtIndex
@Nullable public InteractiveWebResourceType getWebresourceAtIndex(@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!
-
addWebresource
public void addWebresource(@Nonnull InteractiveWebResourceType elem)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
hasWalletEntries
public boolean hasWalletEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoWalletEntries
public boolean hasNoWalletEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getWalletCount
@Nonnegative public int getWalletCount()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getWalletAtIndex
@Nullable public String getWalletAtIndex(@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!
-
addWallet
public void addWallet(@Nonnull String elem)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
cloneTo
public void cloneTo(@Nonnull ContactPointType 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 ContactPointType clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
-
-