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

java.lang.Object
  extended by org.kuali.rice.kim.api.identity.entity.EntityDefault.Builder
All Implemented Interfaces:
Serializable, ModelBuilder
Enclosing class:
EntityDefault

public static final class EntityDefault.Builder
extends Object
implements Serializable, ModelBuilder

A builder which can be used to construct EntityDefault instances.

See Also:
Serialized Form

Method Summary
 EntityDefault build()
          Returns an instance of the object being built by this builder based on the current state of the builder.
static EntityDefault.Builder create()
           
static EntityDefault.Builder create(EntityContract contract)
           
static EntityDefault.Builder create(String entityId)
           
 List<EntityAffiliation.Builder> getAffiliations()
           
 EntityAffiliation.Builder getDefaultAffiliation()
           
 EntityEmployment.Builder getEmployment()
           
 String getEntityId()
           
 List<EntityTypeContactInfoDefault.Builder> getEntityTypeContactInfos()
           
 List<EntityExternalIdentifier.Builder> getExternalIdentifiers()
           
 EntityName.Builder getName()
           
 List<Principal.Builder> getPrincipals()
           
 EntityPrivacyPreferences.Builder getPrivacyPreferences()
           
 boolean isActive()
           
 void setActive(boolean active)
           
 void setAffiliations(List<EntityAffiliation.Builder> affiliations)
           
 void setDefaultAffiliation(EntityAffiliation.Builder defaultAffiliation)
           
 void setEmployment(EntityEmployment.Builder employment)
           
 void setEntityId(String entityId)
           
 void setEntityTypeContactInfos(List<EntityTypeContactInfoDefault.Builder> entityTypeContactInfos)
           
 void setExternalIdentifiers(List<EntityExternalIdentifier.Builder> externalIdentifiers)
           
 void setName(EntityName.Builder name)
           
 void setPrincipals(List<Principal.Builder> principals)
           
 void setPrivacyPreferences(EntityPrivacyPreferences.Builder privacyPreferences)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static EntityDefault.Builder create()

create

public static EntityDefault.Builder create(String entityId)

create

public static EntityDefault.Builder create(EntityContract contract)

build

public EntityDefault build()
Description copied from interface: ModelBuilder
Returns an instance of the object being built by this builder based on the current state of the builder. It should be possible to invoke this method more than once on the same builder. It should never return null;

Specified by:
build in interface ModelBuilder
Returns:
an instance of the object being built by this builder, should never return null

getEntityId

public String getEntityId()

setEntityId

public void setEntityId(String entityId)

getName

public EntityName.Builder getName()

setName

public void setName(EntityName.Builder name)

getPrincipals

public List<Principal.Builder> getPrincipals()

setPrincipals

public void setPrincipals(List<Principal.Builder> principals)

getEntityTypeContactInfos

public List<EntityTypeContactInfoDefault.Builder> getEntityTypeContactInfos()

setEntityTypeContactInfos

public void setEntityTypeContactInfos(List<EntityTypeContactInfoDefault.Builder> entityTypeContactInfos)

getAffiliations

public List<EntityAffiliation.Builder> getAffiliations()

setAffiliations

public void setAffiliations(List<EntityAffiliation.Builder> affiliations)

getDefaultAffiliation

public EntityAffiliation.Builder getDefaultAffiliation()

setDefaultAffiliation

public void setDefaultAffiliation(EntityAffiliation.Builder defaultAffiliation)

getEmployment

public EntityEmployment.Builder getEmployment()

setEmployment

public void setEmployment(EntityEmployment.Builder employment)

getExternalIdentifiers

public List<EntityExternalIdentifier.Builder> getExternalIdentifiers()

setExternalIdentifiers

public void setExternalIdentifiers(List<EntityExternalIdentifier.Builder> externalIdentifiers)

getPrivacyPreferences

public EntityPrivacyPreferences.Builder getPrivacyPreferences()

setPrivacyPreferences

public void setPrivacyPreferences(EntityPrivacyPreferences.Builder privacyPreferences)

isActive

public boolean isActive()

setActive

public void setActive(boolean active)


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.