org.kuali.rice.kim.api.identity.principal
Class EntityNamePrincipalName.Builder
java.lang.Object
org.kuali.rice.kim.api.identity.principal.EntityNamePrincipalName.Builder
- All Implemented Interfaces:
- Serializable, ModelBuilder
- Enclosing class:
- EntityNamePrincipalName
public static final class EntityNamePrincipalName.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 |
EntityNamePrincipalName.Builder
public EntityNamePrincipalName.Builder()
create
public static EntityNamePrincipalName.Builder create()
create
public static EntityNamePrincipalName.Builder create(String principalName,
EntityName.Builder defaultName)
create
public static EntityNamePrincipalName.Builder create(EntityNamePrincipalName immutable)
getPrincipalName
public String getPrincipalName()
setPrincipalName
public void setPrincipalName(String principalName)
getDefaultName
public EntityName.Builder getDefaultName()
setDefaultName
public void setDefaultName(EntityName.Builder defaultName)
build
public EntityNamePrincipalName 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
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.