org.kuali.student.contract.model.test.source
Class EntityInfo.Builder
java.lang.Object
org.kuali.student.contract.model.test.source.HasAttributesInfo.Builder
org.kuali.student.contract.model.test.source.HasAttributesAndMetaInfo.Builder
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.
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.HasMeta |
getMeta |
name
private String name
descr
private RichTextInfo descr
typeKey
private String typeKey
stateKey
private String stateKey
EntityInfo.Builder
public EntityInfo.Builder()
EntityInfo.Builder
public EntityInfo.Builder(Entity entity)
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.