|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectstory.dbcore.attributes.Attribute
story.dbcore.attributes.TextField
public class TextField
Attribute for text fields (i.e, Strings).
Returns Strings.
| Constructor Summary | |
|---|---|
TextField()
Constructor without maximum field length or initial value. |
|
TextField(AttributeValue value)
Constructor without maximum field length but with initial value. |
|
TextField(int maxLength)
Constructor with maximum field length but no initial value. |
|
TextField(int maxLength,
AttributeValue value)
Constructor with maximum field length and initial value. |
|
| Method Summary | |
|---|---|
boolean |
equals(AttributeValue otherValue)
Determines whether the text equals another attribute value (case sensitive). |
boolean |
greaterThan(AttributeValue otherValue)
Determines whether the text is greater than another value, lexiographically (case sensitive). |
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 TextField()
public TextField(AttributeValue value)
throws Scheherexception
Scheherexception
public TextField(int maxLength)
throws Scheherexception
Scheherexception
public TextField(int maxLength,
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 | |||||||||