Class XmlAlias
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml253.XmlAlias
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable,FileSourceContext,Alias
public class XmlAlias extends Object implements Alias, FileSourceContext, com.sun.xml.bind.Locatable
Xml implementation of an Alias. The JAXB binding is designed to be read-only and is not designed for writing- Since:
18/07/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Field Summary
-
Fields inherited from interface psidev.psi.mi.jami.model.Alias
AUTHOR_ASSIGNED_NAME, AUTHOR_ASSIGNED_NAME_MI, COMPLEX_RECOMMENDED_NAME, COMPLEX_RECOMMENDED_NAME_MI, COMPLEX_SYNONYM, COMPLEX_SYNONYM_MI, COMPLEX_SYSTEMATIC_NAME, COMPLEX_SYSTEMATIC_NAME_MI, GENE_NAME, GENE_NAME_MI, GENE_NAME_SYNONYM, GENE_NAME_SYNONYM_MI, ISOFORM_SYNONYM, ISOFORM_SYNONYM_MI, IUPAC, IUPAC_MI, LOCUS_NAME, LOCUS_NAME_MI, ORF_NAME, ORF_NAME_MI, SYNONYM, SYNONYM_MI
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetName()Getter for the fieldname.FileSourceLocatorgetSourceLocator()Getter for the fieldsourceLocator.CvTermgetType()Getter for the fieldtype.inthashCode()voidsetJAXBName(String name)setJAXBName.voidsetJAXBTypeAc(String value)Sets the value of the typeAc property.voidsetJAXBTypeName(String value)Sets the value of the type property.voidsetSourceLocator(FileSourceLocator sourceLocator)Sets the source locatorLocatorsourceLocation()StringtoString()toString
-
-
-
Method Detail
-
getType
public CvTerm getType()
Getter for the field
type.
-
getName
public String getName()
Getter for the field
name.
-
setJAXBTypeAc
public void setJAXBTypeAc(String value)
Sets the value of the typeAc property.- Parameters:
value- allowed object isString
-
setJAXBTypeName
public void setJAXBTypeName(String value)
Sets the value of the type property.- Parameters:
value- allowed object isString
-
sourceLocation
public Locator sourceLocation()
- Specified by:
sourceLocationin interfacecom.sun.xml.bind.Locatable
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator.- Specified by:
getSourceLocatorin interfaceFileSourceContext- Returns:
- a
FileSourceLocatorobject.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locator- Specified by:
setSourceLocatorin interfaceFileSourceContext- Parameters:
sourceLocator- : the file locator
-
toString
public String toString()
toString
- Specified by:
toStringin interfaceFileSourceContext- Overrides:
toStringin classObject- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-