|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.itim.dataservices.model.domain.MultipleOwners
public class MultipleOwners
The ServiceOwner and SeparationOfDutyPolicy classes implements the owner relationship to a ServiceEntity and SeparationOfDutyPolicyEntity The subject of this relationship is an ServiceEntity, SeparationOfDutyPolicyEntity, or RoleEntity and the participant is 0 or more PersonEntities that act as the entity's administrator. If roles are included as owners then the people belonging to those roles are included in the result.
Constructor Summary | |
---|---|
MultipleOwners()
|
Method Summary | |
---|---|
boolean |
doesParticipate(DirectoryObjectEntity participant)
Determines if the given entity is an owner of the subject directory object. |
java.util.Collection |
evaluate()
Evaluates the relationship returning 0 or more PersonEntity objects that represents the owner of the subject. |
java.util.Collection<DistinguishedName> |
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultipleOwners()
Method Detail |
---|
public void setSubject(DirectoryObjectEntity entity)
setSubject
in interface Relationship
entity
- DirectoryObjectEntity acting as the subject of this
relationship. The entity must be a ServiceEntity or
SeparationOfDutyPolicyEntity instance.public java.util.Collection evaluate() throws ModelIntegrityException, ModelCommunicationException
evaluate
in interface Relationship
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<DistinguishedName> evaluateReferences() throws ModelIntegrityException, ModelCommunicationException
evaluateReferences
in interface Relationship
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
doesParticipate
in interface Relationship
participant
- Proposed owner (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 |