edu.mayo.informatics.resourcereader.obo
Class OBOAbbreviations
java.lang.Object
edu.mayo.informatics.resourcereader.core.impl.Resource
edu.mayo.informatics.resourcereader.obo.OBO
edu.mayo.informatics.resourcereader.obo.OBOCollection
edu.mayo.informatics.resourcereader.obo.OBOAbbreviations
- All Implemented Interfaces:
- ResourceCollection, TopResource
public class OBOAbbreviations
- extends OBOCollection
The class stores the list of obo abbreviations
- Version:
- subversion $Revision: $ checked in on $Date: $
- Author:
- Deepak Sharma
Fields inherited from class edu.mayo.informatics.resourcereader.obo.OBO |
logger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OBOAbbreviations
public OBOAbbreviations(CachingMessageDirectorIF rLogger)
addMember
public void addMember(ResourceEntity abbreviation)
- Specified by:
addMember
in interface ResourceCollection
- Overrides:
addMember
in class OBOCollection
getMemberByName
public OBOAbbreviation getMemberByName(java.lang.String name)
- Specified by:
getMemberByName
in interface ResourceCollection
- Overrides:
getMemberByName
in class OBOCollection
getOBOAbbreviationByURL
public OBOAbbreviation getOBOAbbreviationByURL(java.lang.String url)
getAllMembers
public java.util.Collection<OBOAbbreviation> getAllMembers()
- Specified by:
getAllMembers
in interface ResourceCollection
- Overrides:
getAllMembers
in class OBOCollection
getMembersCount
public long getMembersCount()
- Specified by:
getMembersCount
in interface ResourceCollection
- Overrides:
getMembersCount
in class OBOCollection
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
readAbbreviationsFile
public void readAbbreviationsFile(OBOAbbreviations sAbbs,
java.lang.String inputFile)