org.kuali.student.r2.common.dto
Class KeyNamelessEntityInfo

java.lang.Object
  extended by org.kuali.student.r2.common.dto.HasAttributesInfo
      extended by org.kuali.student.r2.common.dto.HasAttributesAndMetaInfo
          extended by org.kuali.student.r2.common.dto.TypeStateEntityInfo
              extended by org.kuali.student.r2.common.dto.KeyNamelessEntityInfo
All Implemented Interfaces:
Serializable, HasAttributes, HasAttributesAndMeta, HasKey, HasMeta, HasPrimaryKey, HasState, HasType, KeyNamelessEntity, TypeStateEntity
Direct Known Subclasses:
OrgCodeInfo

public abstract class KeyNamelessEntityInfo
extends TypeStateEntityInfo
implements KeyNamelessEntity, Serializable

Provides basic method for a nameless entity. It's the same as an IdEntity without the name and description.

Author:
tom
See Also:
Serialized Form

Constructor Summary
protected KeyNamelessEntityInfo()
          Constructs a new KeyNamelessEntityInfo.
  KeyNamelessEntityInfo(KeyNamelessEntity entity)
          Constructs a new KeyNamelessEntityInfo from another KeyNamelessEntity.
 
Method Summary
 String getKey()
          Unique key to this object.
 void setKey(String key)
           
 
Methods inherited from class org.kuali.student.r2.common.dto.TypeStateEntityInfo
getState, getStateKey, getType, getTypeKey, setState, setStateKey, setType, setTypeKey
 
Methods inherited from class org.kuali.student.r2.common.dto.HasAttributesAndMetaInfo
getMeta, setMeta
 
Methods inherited from class org.kuali.student.r2.common.dto.HasAttributesInfo
getAttributes, getAttributeValue, getAttributeValueList, 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.r2.common.infc.HasType
getType, getTypeKey
 
Methods inherited from interface org.kuali.student.r2.common.infc.HasState
getState, getStateKey
 
Methods inherited from interface org.kuali.student.r2.common.infc.HasAttributes
getAttributes
 
Methods inherited from interface org.kuali.student.r2.common.infc.HasMeta
getMeta
 

Constructor Detail

KeyNamelessEntityInfo

protected KeyNamelessEntityInfo()
Constructs a new KeyNamelessEntityInfo.


KeyNamelessEntityInfo

public KeyNamelessEntityInfo(KeyNamelessEntity entity)
Constructs a new KeyNamelessEntityInfo from another KeyNamelessEntity.

Parameters:
entity - the KeyNamelessEntity to copy
Method Detail

getKey

public String getKey()
Description copied from interface: HasKey
Unique key to this object. Unlike an Id this key can be explicitly set by the application and is intended to be "somewhat" readable by a human. A Key: Once an object is created with the specified key it cannot be changed. Instead the object must be deleted or in-activated and a new object created with the right key.

Specified by:
getKey in interface HasKey

setKey

public void setKey(String key)


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