com.ibm.itim.dataservices.model.domain

Class AdminDomainAdministrator

  • java.lang.Object
    • com.ibm.itim.dataservices.model.domain.AdminDomainAdministrator
  • All Implemented Interfaces:
    Relationship


    public class AdminDomainAdministrator
    extends java.lang.Object
    implements Relationship
    The AdminDomainAdiministrator class implements the administrator relationship to an AdminDomainEntity. The subject of this relationship is an AdminDomainEntity and the participants are 0 to many PersonEntities that act as the entity's administrator.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean doesParticipate(DirectoryObjectEntity participant)
      Determines if the given entity is an administrator of the subject admin domain.
      java.util.Collection evaluate()
      Evaluates the relationship returning 0 or more PersonEntity objects that represent the administrators of the subject admin domain.
      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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AdminDomainAdministrator

        public AdminDomainAdministrator()
    • Method Detail

      • setSubject

        public void setSubject(DirectoryObjectEntity entity)
        Sets the subject entity for the relationship. This entity must be an AdminDomainEntity.
        Specified by:
        setSubject in interface Relationship
        Parameters:
        entity - DirectoryObjectEntity acting as the subject of this relationship. This object must be an AdminDomainEntity.
      • doesParticipate

        public boolean doesParticipate(DirectoryObjectEntity participant)
                                throws ModelIntegrityException,
                                       ModelCommunicationException
        Determines if the given entity is an administrator of the subject admin domain. The given entity must be a PersonEntity to even be considered as administrator.
        Specified by:
        doesParticipate in interface Relationship
        Parameters:
        participant - Proposed administrator (DirectoryObjectEntity).
        Returns:
        True if participant is administrator, false if not.
        Throws:
        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.