org.kuali.rice.kim.api.identity.entity
Class EntityDefault

java.lang.Object
  extended by org.kuali.rice.core.api.mo.AbstractDataTransferObject
      extended by org.kuali.rice.kim.api.identity.entity.EntityDefault
All Implemented Interfaces:
Serializable, ModelObjectBasic, ModelObjectComplete

public class EntityDefault
extends AbstractDataTransferObject

See Also:
Serialized Form

Nested Class Summary
static class EntityDefault.Builder
          A builder which can be used to construct EntityDefault instances.
static class EntityDefault.Cache
           
 
Constructor Summary
EntityDefault(EntityDefault.Builder builder)
           
EntityDefault(String entityId, EntityName name, List<Principal> principals, List<EntityTypeContactInfoDefault> entityTypes, List<EntityAffiliation> affiliations, EntityAffiliation defaultAffiliation, EntityEmployment employment, List<EntityExternalIdentifier> externalIdentifiers, EntityPrivacyPreferences privacyPreferences, boolean active)
           
 
Method Summary
 List<EntityAffiliation> getAffiliations()
           
 EntityAffiliation getDefaultAffiliation()
           
 EntityEmployment getEmployment()
           
 String getEntityId()
           
 EntityTypeContactInfoDefault getEntityType(String entityTypeCode)
          Gets this EntityDefault's EntityTypeContactInfoDefault for the given type code.
 List<EntityTypeContactInfoDefault> getEntityTypeContactInfos()
           
 List<EntityExternalIdentifier> getExternalIdentifiers()
           
 EntityName getName()
           
 List<Principal> getPrincipals()
           
 EntityPrivacyPreferences getPrivacyPreferences()
           
 boolean isActive()
           
 
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EntityDefault

public EntityDefault(String entityId,
                     EntityName name,
                     List<Principal> principals,
                     List<EntityTypeContactInfoDefault> entityTypes,
                     List<EntityAffiliation> affiliations,
                     EntityAffiliation defaultAffiliation,
                     EntityEmployment employment,
                     List<EntityExternalIdentifier> externalIdentifiers,
                     EntityPrivacyPreferences privacyPreferences,
                     boolean active)

EntityDefault

public EntityDefault(EntityDefault.Builder builder)
Method Detail

getEntityId

public String getEntityId()

getName

public EntityName getName()

getPrincipals

public List<Principal> getPrincipals()

getEntityTypeContactInfos

public List<EntityTypeContactInfoDefault> getEntityTypeContactInfos()

getAffiliations

public List<EntityAffiliation> getAffiliations()

getDefaultAffiliation

public EntityAffiliation getDefaultAffiliation()

getEmployment

public EntityEmployment getEmployment()

getExternalIdentifiers

public List<EntityExternalIdentifier> getExternalIdentifiers()

getPrivacyPreferences

public EntityPrivacyPreferences getPrivacyPreferences()

isActive

public boolean isActive()

getEntityType

public EntityTypeContactInfoDefault getEntityType(String entityTypeCode)
Gets this EntityDefault's EntityTypeContactInfoDefault for the given type code.

Returns:
the EntityTypeContactInfoDefault for the given type code for this EntityTypeContactInfoDefault, or null if none has been assigned.


Copyright © 2005–2015 The Kuali Foundation. All rights reserved.