Ensembl Model v1.09
© Roslin Institute 2010. GNU General Public License, version3
Ensembl Model
v1.09

uk.ac.roslin.ensembl.model.relationship
Interface BinaryRelationship<CLAZZ extends IdentifiableObject>

All Superinterfaces:
GroupRelationship<CLAZZ>, IdentifiableObject, Serializable
All Known Subinterfaces:
HomologyPairRelationship<CLAZZ>

public interface BinaryRelationship<CLAZZ extends IdentifiableObject>
extends GroupRelationship<CLAZZ>


Method Summary
 IdentifiableObject getSource()
          Returns the source Attributable in the relationship
 IdentifiableObject getTarget()
          Returns the target IdentifiableObject in the relationship
 void setSource(CLAZZ source)
          sets the IdentifiableObject source in the relationship
 void setTarget(CLAZZ target)
          Sets the IdentifiableObject target in the relationship
 
Methods inherited from interface uk.ac.roslin.ensembl.model.relationship.GroupRelationship
getMembers, getRelationshipType, setRelationshipType
 
Methods inherited from interface uk.ac.roslin.ensembl.model.IdentifiableObject
getDBVersion, getHashID, getId, getSchemaVersion, getType, setId
 

Method Detail

setSource

void setSource(CLAZZ source)
sets the IdentifiableObject source in the relationship

Parameters:
source - an IdentifiableObject reference

setTarget

void setTarget(CLAZZ target)
Sets the IdentifiableObject target in the relationship

Parameters:
target - The target IdentifiableObject in the relationship

getSource

IdentifiableObject getSource()
Returns the source Attributable in the relationship

Returns:
IdentifiableObject reference

getTarget

IdentifiableObject getTarget()
Returns the target IdentifiableObject in the relationship

Returns:
IdentifiableObject target reference

Ensembl Model
v1.09

Ensembl Model v1.09
© Roslin Institute 2010. GNU General Public License, version3