|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectstory.dbcore.attributes.Attribute
story.scheherazade.attributes.StateTimeAttribute
public class StateTimeAttribute
Attribute encoding the time at which a state takes
place.
Note to self: This is a good template for future occasions where
attributes need to be made out of application-specific classes.
Maybe make an interface or abstract class out of it?
| Constructor Summary | |
|---|---|
StateTimeAttribute()
Constructor without default value. |
|
StateTimeAttribute(AttributeValue value)
Constructor with initial value. |
|
| Method Summary | |
|---|---|
boolean |
equals(AttributeValue otherValue)
Determines whether the StateTime equals some other StateTime (case sensitive). |
boolean |
greaterThan(AttributeValue otherValue)
Determines whether the StateTime is greater than another |
int |
maxLength()
All extending classes must report their maximum length. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StateTimeAttribute()
public StateTimeAttribute(AttributeValue value)
throws Scheherexception
Scheherexception| Method Detail |
|---|
public boolean greaterThan(AttributeValue otherValue)
throws Scheherexception
greaterThan in class AttributeScheherexception
public boolean equals(AttributeValue otherValue)
throws Scheherexception
equals in class AttributeScheherexceptionpublic int maxLength()
Attribute
maxLength in class Attribute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||