Class AbstractAvailability
- java.lang.Object
- 
- psidev.psi.mi.jami.xml.model.extension.AbstractAvailability
 
- 
- All Implemented Interfaces:
- com.sun.xml.bind.Locatable,- FileSourceContext
 - Direct Known Subclasses:
- AbstractAvailabilityRef,- AbstractAvailabilityRef,- AbstractAvailabilityRef,- Availability,- Availability,- Availability,- DefaultAvailability,- DefaultAvailability,- DefaultAvailability
 
 public abstract class AbstractAvailability extends Object implements FileSourceContext, com.sun.xml.bind.Locatable A text describing the availability of data, e.g. a copyright statement.Java class for availability complex type. The following schema fragment specifies the expected content contained within this class. <complexType name="availability"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>string"> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> </extension> </simpleContent> </complexType>
- 
- 
Constructor SummaryConstructors Constructor Description AbstractAvailability()Constructor for AbstractAvailability.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetId()Gets the value of the id property.FileSourceLocatorgetSourceLocator()Getter for the fieldsourceLocator.StringgetValue()Gets the value of the value property.voidsetId(int value)Sets the value of the id property.voidsetSourceLocator(FileSourceLocator sourceLocator)Sets the source locatorvoidsetValue(String value)Sets the value of the value property.LocatorsourceLocation()StringtoString()toString
 
- 
- 
- 
Field Detail- 
locatorprotected Locator locator 
 
- 
 - 
Method Detail- 
setValuepublic void setValue(String value) Sets the value of the value property.- Parameters:
- value- allowed object is- String
 
 - 
getIdpublic int getId() Gets the value of the id property.- Returns:
- a int.
 
 - 
setIdpublic void setId(int value) Sets the value of the id property.- Parameters:
- value- a int.
 
 - 
sourceLocationpublic Locator sourceLocation() - Specified by:
- sourceLocationin interface- com.sun.xml.bind.Locatable
 
 - 
getSourceLocatorpublic FileSourceLocator getSourceLocator() Getter for the field sourceLocator.- Specified by:
- getSourceLocatorin interface- FileSourceContext
- Returns:
- a FileSourceLocatorobject.
 
 - 
setSourceLocatorpublic void setSourceLocator(FileSourceLocator sourceLocator) Sets the source locator- Specified by:
- setSourceLocatorin interface- FileSourceContext
- Parameters:
- sourceLocator- : the file locator
 
 - 
toStringpublic String toString() toString - Specified by:
- toStringin interface- FileSourceContext
- Overrides:
- toStringin class- Object
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
 
 
- 
 
-