Class XmlResultingSequence
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml254.XmlResultingSequence
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable
,FileSourceContext
,ResultingSequence
public class XmlResultingSequence extends Object implements ResultingSequence, FileSourceContext, com.sun.xml.bind.Locatable
Xml implementation of resulting sequence for XML 2.5- Since:
25/04/14
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlResultingSequence()
Constructor for XmlResultingSequence.XmlResultingSequence(String oldSequence, String newSequence)
Constructor for XmlResultingSequence.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getNewSequence()
Getter for the fieldnewSequence
.String
getOriginalSequence()
Getter for the fieldoriginalSequence
.FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.Collection<Xref>
getXrefs()
getXrefs.int
hashCode()
void
setJAXBNewSequence(String sequence)
setJAXBNewSequence.void
setJAXBOriginalSequence(String sequence)
setJAXBOriginalSequence.void
setJAXBXref(XrefContainer value)
setJAXBXref.void
setNewSequence(String sequence)
Sets the new sequence of this objectvoid
setOriginalSequence(String sequence)
Sets the original sequence of this objectvoid
setSourceLocation(PsiXmlLocator sourceLocator)
setSourceLocation.void
setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locatorLocator
sourceLocation()
String
toString()
toString
-
-
-
Method Detail
-
getNewSequence
public String getNewSequence()
Getter for the field
newSequence
.- Specified by:
getNewSequence
in interfaceResultingSequence
- Returns:
- a
String
object.
-
getOriginalSequence
public String getOriginalSequence()
Getter for the field
originalSequence
.- Specified by:
getOriginalSequence
in interfaceResultingSequence
- Returns:
- a
String
object.
-
getXrefs
public Collection<Xref> getXrefs()
getXrefs.
- Specified by:
getXrefs
in interfaceResultingSequence
- Returns:
- a
Collection
object.
-
setNewSequence
public void setNewSequence(String sequence)
Sets the new sequence of this object- Specified by:
setNewSequence
in interfaceResultingSequence
- Parameters:
sequence
- : new sequence
-
setOriginalSequence
public void setOriginalSequence(String sequence)
Sets the original sequence of this object- Specified by:
setOriginalSequence
in interfaceResultingSequence
- Parameters:
sequence
- : original sequence
-
setJAXBNewSequence
public void setJAXBNewSequence(String sequence)
setJAXBNewSequence.
- Parameters:
sequence
- aString
object.
-
setJAXBOriginalSequence
public void setJAXBOriginalSequence(String sequence)
setJAXBOriginalSequence.
- Parameters:
sequence
- aString
object.
-
setJAXBXref
public void setJAXBXref(XrefContainer value)
setJAXBXref.
- Parameters:
value
- aXrefContainer
object.
-
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
-
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
-
setSourceLocation
public void setSourceLocation(PsiXmlLocator sourceLocator)
setSourceLocation.
- Parameters:
sourceLocator
- aPsiXmlLocator
object.
-
-