edu.mayo.informatics.resourcereader.obo
Class OBOCollection
java.lang.Object
edu.mayo.informatics.resourcereader.core.impl.Resource
edu.mayo.informatics.resourcereader.obo.OBO
edu.mayo.informatics.resourcereader.obo.OBOCollection
- All Implemented Interfaces:
- ResourceCollection, TopResource
- Direct Known Subclasses:
- OBOAbbreviations, OBOInstances, OBORelations, OBOTerms
public class OBOCollection
- extends OBO
- implements ResourceCollection
A OBO implementation of a ResourceCollection
- 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, toString, wait, wait, wait |
OBOCollection
public OBOCollection(CachingMessageDirectorIF rLogger)
init
public void init()
- Specified by:
init
in interface ResourceCollection
addMember
public void addMember(ResourceEntity entity)
throws ResourceException
- Specified by:
addMember
in interface ResourceCollection
- Throws:
ResourceException
getMemberById
public ResourceEntity getMemberById(java.lang.String id)
throws ResourceException
- Specified by:
getMemberById
in interface ResourceCollection
- Throws:
ResourceException
getMemberByName
public ResourceEntity getMemberByName(java.lang.String name)
throws ResourceException
- Specified by:
getMemberByName
in interface ResourceCollection
- Throws:
ResourceException
getMemberByProperty
public ResourceEntity getMemberByProperty(java.lang.Object obj)
throws ResourceException
- Specified by:
getMemberByProperty
in interface ResourceCollection
- Throws:
ResourceException
getAllMembers
public java.util.Collection getAllMembers()
throws ResourceException
- Specified by:
getAllMembers
in interface ResourceCollection
- Throws:
ResourceException
getMembersCount
public long getMembersCount()
- Specified by:
getMembersCount
in interface ResourceCollection