org.kuali.rice.kim.api.identity.principal
Class EntityNamePrincipalName.Builder

java.lang.Object
  extended by 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

Constructor Summary
EntityNamePrincipalName.Builder()
           
 
Method Summary
 EntityNamePrincipalName build()
          Returns an instance of the object being built by this builder based on the current state of the builder.
static EntityNamePrincipalName.Builder create()
           
static EntityNamePrincipalName.Builder create(EntityNamePrincipalName immutable)
           
static EntityNamePrincipalName.Builder create(String principalName, EntityName.Builder defaultName)
           
 EntityName.Builder getDefaultName()
           
 String getPrincipalName()
           
 void setDefaultName(EntityName.Builder defaultName)
           
 void setPrincipalName(String principalName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityNamePrincipalName.Builder

public EntityNamePrincipalName.Builder()
Method Detail

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.