Class AbstractAvailabilityRef
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.AbstractAvailability
-
- psidev.psi.mi.jami.xml.model.reference.xml300.AbstractAvailabilityRef
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable
,FileSourceContext
,XmlIdReference
public abstract class AbstractAvailabilityRef extends AbstractAvailability implements XmlIdReference
Abstract class for Availability ref- Since:
11/10/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Field Summary
Fields Modifier and Type Field Description protected int
ref
-
Fields inherited from class psidev.psi.mi.jami.xml.model.extension.AbstractAvailability
locator
-
-
Constructor Summary
Constructors Constructor Description AbstractAvailabilityRef(int ref)
Constructor for AbstractAvailabilityRef.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getRef()
Getter for the fieldref
.void
registerForResolution()
registerForResolution.void
setId(int value)
Sets the value of the id property.String
toString()
toString-
Methods inherited from class psidev.psi.mi.jami.xml.model.extension.AbstractAvailability
getId, getSourceLocator, getValue, setSourceLocator, setValue, sourceLocation
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface psidev.psi.mi.jami.datasource.FileSourceContext
getSourceLocator, setSourceLocator
-
Methods inherited from interface psidev.psi.mi.jami.xml.model.reference.XmlIdReference
resolve
-
-
-
-
Method Detail
-
registerForResolution
public void registerForResolution()
registerForResolution.
- Specified by:
registerForResolution
in interfaceXmlIdReference
-
getRef
public int getRef()
Getter for the field
ref
.- Returns:
- a int.
-
setId
public void setId(int value)
Sets the value of the id property.- Overrides:
setId
in classAbstractAvailability
- Parameters:
value
- a int.
-
toString
public String toString()
toString
- Specified by:
toString
in interfaceFileSourceContext
- Overrides:
toString
in classAbstractAvailability
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-