Class AbstractAvailabilityRef
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.AbstractAvailability
-
- psidev.psi.mi.jami.xml.model.reference.xml253.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 intref-
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 intgetRef()Getter for the fieldref.voidregisterForResolution()registerForResolution.voidsetId(int value)Sets the value of the id property.StringtoString()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:
registerForResolutionin 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:
setIdin classAbstractAvailability- Parameters:
value- a int.
-
toString
public String toString()
toString
- Specified by:
toStringin interfaceFileSourceContext- Overrides:
toStringin classAbstractAvailability- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-