org.kuali.student.contract.model.test.source
Class EntityInfo.Builder

java.lang.Object
  extended by org.kuali.student.contract.model.test.source.HasAttributesInfo.Builder
      extended by org.kuali.student.contract.model.test.source.HasAttributesAndMetaInfo.Builder
          extended by org.kuali.student.contract.model.test.source.EntityInfo.Builder
All Implemented Interfaces:
Entity, HasAttributes, HasAttributesAndMeta, HasMeta, HasPrimaryKey, HasState, HasType
Direct Known Subclasses:
IdEntityInfo.Builder, KeyEntityInfo.Builder
Enclosing class:
EntityInfo

public static class EntityInfo.Builder
extends HasAttributesAndMetaInfo.Builder
implements Entity

The builder class for this abstract EntityInfo.


Field Summary
private  RichTextInfo descr
           
private  String name
           
private  String stateKey
           
private  String typeKey
           
 
Constructor Summary
EntityInfo.Builder()
           
EntityInfo.Builder(Entity entity)
           
 
Method Summary
 RichTextInfo getDescr()
          A description of the entity.
 String getName()
          A display name for this entity.
 String getStateKey()
          Name: State Key Unique identifier for the state of this object.
 String getTypeKey()
          Unique key for the type of this object.
 void setDescr(RichTextInfo descr)
           
 void setName(String name)
           
 void setStateKey(String stateKey)
           
 void setTypeKey(String typeKey)
           
 
Methods inherited from class org.kuali.student.contract.model.test.source.HasAttributesAndMetaInfo.Builder
getMeta, setMetaInfo
 
Methods inherited from class org.kuali.student.contract.model.test.source.HasAttributesInfo.Builder
getAttributes, setAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.student.contract.model.test.source.HasAttributes
getAttributes
 
Methods inherited from interface org.kuali.student.contract.model.test.source.HasMeta
getMeta
 

Field Detail

name

private String name

descr

private RichTextInfo descr

typeKey

private String typeKey

stateKey

private String stateKey
Constructor Detail

EntityInfo.Builder

public EntityInfo.Builder()

EntityInfo.Builder

public EntityInfo.Builder(Entity entity)
Method Detail

getName

public String getName()
Description copied from interface: Entity
A display name for this entity.

Specified by:
getName in interface Entity

setName

public void setName(String name)

getDescr

public RichTextInfo getDescr()
Description copied from interface: Entity
A description of the entity.

Specified by:
getDescr in interface Entity

setDescr

public void setDescr(RichTextInfo descr)

getTypeKey

public String getTypeKey()
Description copied from interface: HasType
Unique key for the type of this object. This key must exist in the list returned by the getTypes () method for this service.

Specified by:
getTypeKey in interface HasType

setTypeKey

public void setTypeKey(String typeKey)

getStateKey

public String getStateKey()
Description copied from interface: HasState
Name: State Key Unique identifier for the state of this object.

Specified by:
getStateKey in interface HasState
Returns:
the state

setStateKey

public void setStateKey(String stateKey)


Copyright © 2007-2012 The Kuali Foundation. All Rights Reserved.