Class 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 Detail

      • NamesContainer

        public NamesContainer()
    • Method Detail

      • 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 class AbstractNamesContainer
        Returns:
        a List object.