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

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

public abstract class EntityInfo
extends HasAttributesAndMetaInfo
implements Entity, Serializable

See Also:
Serialized Form

Nested Class Summary
static class EntityInfo.Builder
          The builder class for this abstract EntityInfo.
 
Field Summary
private  RichTextInfo descr
           
private  String name
           
private  String stateKey
           
private  String typeKey
           
 
Fields inherited from class org.kuali.student.contract.model.test.source.HasAttributesInfo
attributes
 
Constructor Summary
protected EntityInfo()
           
protected EntityInfo(Entity builder)
           
 
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.
 
Methods inherited from class org.kuali.student.contract.model.test.source.HasAttributesAndMetaInfo
getMeta
 
Methods inherited from class org.kuali.student.contract.model.test.source.HasAttributesInfo
getAttributes
 
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

protected EntityInfo()

EntityInfo

protected EntityInfo(Entity builder)
Method Detail

getName

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

Specified by:
getName in interface Entity

getDescr

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

Specified by:
getDescr in interface Entity

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

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


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