public class OBORelations extends OBOCollection
Constructor and Description |
---|
OBORelations(CachingMessageDirectorIF rLogger) |
Modifier and Type | Method and Description |
---|---|
void |
addMember(ResourceEntity relp) |
void |
addMergeMember(OBORelation rel) |
java.util.Collection<OBORelation> |
getAllMembers() |
protected java.util.Collection<OBORelation> |
getAllUsedRelationsDelete()
Don't use this function as the rel.isUsed is not being set correctly
while the OBO file is being read.
|
OBORelation |
getMemberById(java.lang.String id) |
OBORelation |
getMemberByName(java.lang.String name) |
long |
getMembersCount() |
void |
init() |
java.lang.String |
toString() |
getMemberByProperty
public OBORelations(CachingMessageDirectorIF rLogger)
public void init()
init
in interface ResourceCollection
init
in class OBOCollection
public void addMember(ResourceEntity relp) throws ResourceException
addMember
in interface ResourceCollection
addMember
in class OBOCollection
ResourceException
public void addMergeMember(OBORelation rel) throws ResourceException
ResourceException
public OBORelation getMemberById(java.lang.String id) throws ResourceException
getMemberById
in interface ResourceCollection
getMemberById
in class OBOCollection
ResourceException
public OBORelation getMemberByName(java.lang.String name) throws ResourceException
getMemberByName
in interface ResourceCollection
getMemberByName
in class OBOCollection
ResourceException
public java.util.Collection<OBORelation> getAllMembers()
getAllMembers
in interface ResourceCollection
getAllMembers
in class OBOCollection
protected java.util.Collection<OBORelation> getAllUsedRelationsDelete()
public long getMembersCount()
getMembersCount
in interface ResourceCollection
getMembersCount
in class OBOCollection
public java.lang.String toString()
toString
in class java.lang.Object