Class NamesContainer
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.AbstractNamesContainer
-
- psidev.psi.mi.jami.xml.model.extension.xml300.NamesContainer
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable
,FileSourceContext
- Direct Known Subclasses:
ComplexNamesContainer
public class NamesContainer extends AbstractNamesContainer
A container for aliases, shortname and fullname The JAXB binding is designed to be read-only and is not designed for writing- Since:
19/07/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description NamesContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Alias>
getAliases()
Gets the value of the alias property.void
setFullName(String value)
Sets the value of the fullName property.void
setShortLabel(String value)
Sets the value of the shortLabel property.-
Methods inherited from class psidev.psi.mi.jami.xml.model.extension.AbstractNamesContainer
getFullName, getShortLabel, getSourceLocator, initialiseAliases, initialiseAliasesWith, isEmpty, setSourceLocator, sourceLocation, toString
-
-
-
-
Method Detail
-
setShortLabel
public void setShortLabel(String value)
Sets the value of the shortLabel property.- Overrides:
setShortLabel
in classAbstractNamesContainer
- Parameters:
value
- allowed object isString
-
setFullName
public void setFullName(String value)
Sets the value of the fullName property.- Overrides:
setFullName
in classAbstractNamesContainer
- Parameters:
value
- allowed object isString
-
getAliases
public List<Alias> getAliases()
Gets the value of the alias 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 alias property.For example, to add a new item, do as follows:
getAlias().add(newItem);
Objects of the following type(s) are allowed in the list
XmlAlias
- Overrides:
getAliases
in classAbstractNamesContainer
- Returns:
- a
List
object.
-
-