|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Relationship interface provides the method signature of all relationship implementations in the data model. One relationship is unidirectional, with one entity as the subject. Evaluating a relationship returns the entities that participate on the other end.
Method Summary | |
---|---|
boolean |
doesParticipate(DirectoryObjectEntity participant)
Determines if the given entity participates in the relationship. |
java.util.Collection |
evaluate()
Evaluates the relationship returning 0 to many entities that participate opposite the subject entity. |
java.util.Collection |
evaluateReferences()
Evaluates the relationship returning 0 to many entity DNs that participate opposite the subject entity. |
void |
setSubject(DirectoryObjectEntity entity)
Sets the subject entity for the relationship. |
Method Detail |
public void setSubject(DirectoryObjectEntity entity)
entity
- DirectoryObjectEntity acting as the subject of this
relationship.public java.util.Collection evaluate() throws ModelIntegrityException, ModelCommunicationException
ModelIntegrityException
- Thrown if a problem exists with
the consistency of the data model preventing the
relationship from being evaluated properly.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.public java.util.Collection evaluateReferences() throws ModelIntegrityException, ModelCommunicationException
ModelIntegrityException
- Thrown if a problem exists with
the consistency of the data model preventing the
relationship from being evaluated properly.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.public boolean doesParticipate(DirectoryObjectEntity participant) throws ModelIntegrityException, ModelCommunicationException
participant
- Proposed participant (DirectoryObjectEntity).
ModelIntegrityException
- Thrown if a problem exists with
the consistency of the data model preventing the
relationship from being evaluated properly.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |