org.kuali.student.contract.model.test.source
Class StateInfo
java.lang.Object
org.kuali.student.contract.model.test.source.HasAttributesInfo
org.kuali.student.contract.model.test.source.StateInfo
- All Implemented Interfaces:
- Serializable, HasAttributes, HasEffectiveDates, HasKey, HasPrimaryKey, State
public class StateInfo
- extends HasAttributesInfo
- implements State, Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
key
private final String key
name
private final String name
descr
private final String descr
effectiveDate
private final Date effectiveDate
expirationDate
private final Date expirationDate
_futureElements
private final List<Element> _futureElements
StateInfo
private StateInfo()
StateInfo
private StateInfo(State builder)
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:
- A Key is used when the actual value is important
- A Key value might be kuali.org.School
- A Key on occasion may be used or seen by an end user.
- Keys are assumed to have the same values in different KS implementations
- Key values are defined in configuration
- Key values have significance in that they are referenced in Configuration
- Key values are expected to be occasionally used in application code
- Specified by:
getKey
in interface HasKey
getName
public String getName()
- Description copied from interface:
State
- Name: Name
Friendly name of the State
- Specified by:
getName
in interface State
getDescr
public String getDescr()
- Description copied from interface:
State
- Name: Description
Narrative description of the State
- Specified by:
getDescr
in interface State
getEffectiveDate
public Date getEffectiveDate()
- Description copied from interface:
HasEffectiveDates
- Name:Effective Date
Date/time this object became effective. Must be less than or equal to the
expirationDate specified.
- Specified by:
getEffectiveDate
in interface HasEffectiveDates
getExpirationDate
public Date getExpirationDate()
- Description copied from interface:
HasEffectiveDates
- Name: Expiration Date
Date/time this relationship is no longer effective. Must be greater than or
equal to the effectiveDate specified.
- Specified by:
getExpirationDate
in interface HasEffectiveDates
Copyright © 2007-2012 The Kuali Foundation. All Rights Reserved.