|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.novell.ecb.value.BasicStringValue
The BasicStringValue is an implementation of StringValue. This object is used to store string Value.
| Constructor Summary | |
BasicStringValue(java.lang.String name,
java.lang.String value)
Constructs a BasicStringValue object based on the specified parameters. |
|
| Method Summary | |
int |
compareTo(java.lang.Object object)
Compares this Value with the parameter object. |
boolean |
equals(java.lang.Object object)
Compares two objects for equality. |
java.lang.String |
getName()
Return the name of the value. |
java.lang.Object |
getObjectInstance()
Returns the provider specific object for this value. |
java.lang.String |
getSyntaxName()
Returns the provider specific syntax for this value. |
java.lang.String |
stringValue()
Returns the value of this StringValue as a String. |
java.lang.String |
toString()
Returns a String that represents the value of this object. |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BasicStringValue(java.lang.String name,
java.lang.String value)
name - The name of the string value to be stored.value - String value which this object will hold.| Method Detail |
public int compareTo(java.lang.Object object)
compareTo in interface Valueobject - The Value to be compared.
java.lang.IllegalArgumentException - Thrown if the argument Object is not
an instance of SequenceValue.public java.lang.String getName()
getName in interface ValueString Name of this value.public java.lang.String getSyntaxName()
getSyntaxName in interface Valuepublic java.lang.Object getObjectInstance()
getObjectInstance in interface Valuepublic java.lang.String stringValue()
stringValue in interface StringValuepublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||