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 boolean
equals(Object o)
String
getName()
Getter for the fieldname
.FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.CvTerm
getType()
Getter for the fieldtype
.int
hashCode()
void
setJAXBName(String name)
setJAXBName.void
setJAXBTypeAc(String value)
Sets the value of the typeAc property.void
setJAXBTypeName(String value)
Sets the value of the type property.void
setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locatorLocator
sourceLocation()
String
toString()
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:
sourceLocation
in interfacecom.sun.xml.bind.Locatable
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator
.- Specified by:
getSourceLocator
in interfaceFileSourceContext
- Returns:
- a
FileSourceLocator
object.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locator- Specified by:
setSourceLocator
in interfaceFileSourceContext
- Parameters:
sourceLocator
- : the file locator
-
toString
public String toString()
toString
- Specified by:
toString
in interfaceFileSourceContext
- Overrides:
toString
in classObject
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-