|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstory.dbcore.attributes.Attribute
public abstract class Attribute
Root abstract class for an Attribute. It is an interface in
spirit, but implemented as an abstract class so it can factor out a
little bit of common functionality.
Any class that extends and concretizes this class can be used as an
attribute in the db-core. The db-core has a set of attribute types
to start with (such as TextField) but the system is designed this
way so that calling applications can "plug in" their own custom
attribute types. Scheherazade and Flashback will each have such
custom attribute types.
Method Summary | |
---|---|
abstract boolean |
equals(AttributeValue constant)
All extending classes must implement an equals(AttributeValue) function that determines whether this attribute holds an equivalent value to an argued string constant. |
abstract boolean |
greaterThan(AttributeValue constant)
All extending classes must implement a greaterThan(AttributeValue) function that determines whether this attribute holds a value greater than an argued string constant. |
abstract 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 |
Method Detail |
---|
public abstract boolean equals(AttributeValue constant) throws Scheherexception
Scheherexception
public abstract boolean greaterThan(AttributeValue constant) throws Scheherexception
Scheherexception
public abstract int maxLength() throws Scheherexception
Scheherexception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |