org.kuali.student.contract.model.test.source
Class IdEntityInfo
java.lang.Object
org.kuali.student.contract.model.test.source.HasAttributesInfo
org.kuali.student.contract.model.test.source.HasAttributesAndMetaInfo
org.kuali.student.contract.model.test.source.EntityInfo
org.kuali.student.contract.model.test.source.IdEntityInfo
- All Implemented Interfaces:
- Serializable, Entity, HasAttributes, HasAttributesAndMeta, HasId, HasMeta, HasPrimaryKey, HasState, HasType, IdEntity
- Direct Known Subclasses:
- ExemptionInfo, ExemptionRequestInfo
public abstract class IdEntityInfo
- extends EntityInfo
- implements IdEntity, Serializable
- See Also:
- Serialized Form
Nested Class Summary |
static class |
IdEntityInfo.Builder
The builder class for this abstract EntityInfo. |
Method Summary |
String |
getId()
The system assigned unique id to identify this Object. |
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.HasType |
getTypeKey |
Methods inherited from interface org.kuali.student.contract.model.test.source.HasState |
getStateKey |
Methods inherited from interface org.kuali.student.contract.model.test.source.HasMeta |
getMeta |
IdEntityInfo
protected IdEntityInfo()
IdEntityInfo
protected IdEntityInfo(IdEntity builder)
getId
public String getId()
- Description copied from interface:
HasId
- The system assigned unique id to identify this Object.
Could be implemented as as sequence number or as a UUID.
Attempts to set this value on creates should result in a ReadOnlyException being thrown
An Id:
- An id is used when the actual value is unimportant and can therefore be a large hex value for example
- An id value might be 23b9ca9bd203df902
- An Id is never intended to be used directly by an end user.
- Ids are assumed to be of different values in different KS implementations
- Id values are generated by the service implementations
- Id values are never expected to be used in Configuration or Application code
- Specified by:
getId
in interface HasId
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.