org.kuali.rice.kim.api.identity.entity
Class EntityDefault.Builder
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.