Class CvTermXrefContainer
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml253.XrefContainer
-
- psidev.psi.mi.jami.xml.model.extension.xml253.CvTermXrefContainer
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable
,FileSourceContext
public class CvTermXrefContainer extends XrefContainer
Container for both xrefs and identifiers in a CvTerm- Since:
19/07/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description CvTermXrefContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clearPropertiesLinkedToIdentifiers()
clearPropertiesLinkedToIdentifiers.Collection<Xref>
getIdentifiers()
Getter for the fieldidentifiers
.String
getMIIdentifier()
getMIIdentifier.String
getMODIdentifier()
getMODIdentifier.String
getPARIdentifier()
getPARIdentifier.protected void
initialiseIdentifiers()
initialiseIdentifiers.protected void
initialiseSecondaryRefs()
initialiseSecondaryRefs.protected boolean
isAnIdentifier(Xref ref)
isAnIdentifier.protected void
processAddedIdentifierEvent(Xref added)
processAddedIdentifierEvent.protected void
processAddedPrimaryRef(Xref added)
processAddedPrimaryRef.protected void
processRemovedIdentifierEvent(Xref removed)
processRemovedIdentifierEvent.void
setMIIdentifier(String mi)
setMIIdentifier.void
setMODIdentifier(String mod)
setMODIdentifier.void
setPARIdentifier(String par)
setPARIdentifier.-
Methods inherited from class psidev.psi.mi.jami.xml.model.extension.xml253.XrefContainer
getJAXBSecondaryRefs, getSourceLocator, getXrefs, initialiseSecondaryResWith, initialiseXrefs, initialiseXrefsWith, isEmpty, setJAXBPrimaryRef, setSourceLocator, sourceLocation, toString
-
-
-
-
Method Detail
-
isAnIdentifier
protected boolean isAnIdentifier(Xref ref)
isAnIdentifier.
- Parameters:
ref
- aXref
object.- Returns:
- a boolean.
-
processAddedPrimaryRef
protected void processAddedPrimaryRef(Xref added)
processAddedPrimaryRef.
- Overrides:
processAddedPrimaryRef
in classXrefContainer
- Parameters:
added
- aXref
object.
-
getIdentifiers
public Collection<Xref> getIdentifiers()
Getter for the field
identifiers
.- Returns:
- a
Collection
object.
-
setMIIdentifier
public void setMIIdentifier(String mi)
setMIIdentifier.
- Parameters:
mi
- aString
object.
-
setMODIdentifier
public void setMODIdentifier(String mod)
setMODIdentifier.
- Parameters:
mod
- aString
object.
-
setPARIdentifier
public void setPARIdentifier(String par)
setPARIdentifier.
- Parameters:
par
- aString
object.
-
processAddedIdentifierEvent
protected void processAddedIdentifierEvent(Xref added)
processAddedIdentifierEvent.
- Parameters:
added
- aXref
object.
-
processRemovedIdentifierEvent
protected void processRemovedIdentifierEvent(Xref removed)
processRemovedIdentifierEvent.
- Parameters:
removed
- aXref
object.
-
clearPropertiesLinkedToIdentifiers
protected void clearPropertiesLinkedToIdentifiers()
clearPropertiesLinkedToIdentifiers.
-
initialiseIdentifiers
protected void initialiseIdentifiers()
initialiseIdentifiers.
-
initialiseSecondaryRefs
protected void initialiseSecondaryRefs()
initialiseSecondaryRefs.
- Overrides:
initialiseSecondaryRefs
in classXrefContainer
-
-