|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.novell.ecb.value.BasicSequenceValue
The BasicSequenceValue is an implementation of SequenceValue. This object is used to store homogeneous multivalued Value.
| Constructor Summary | |
BasicSequenceValue(java.lang.String name)
Constructs a BasicSequenceValue object based on the specified parameter. |
|
BasicSequenceValue(java.lang.String name,
Value[] values)
Constructs a BasicSequenceValue object based on the specified parameters. |
|
BasicSequenceValue(Value[] values)
Constructs a BasicSequenceValue object based on the specified parameter. |
|
| Method Summary | |
int |
compareTo(java.lang.Object object)
Compares this Value with the parameter object. |
int |
count()
Returns the number of elements in this sequence. |
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. |
Value |
getValue(int index)
Returns the object at the given index. |
java.util.Iterator |
getValues()
Returns an enumeration of this sequence's values. |
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 BasicSequenceValue(java.lang.String name)
name - The name of the sequence value to be stored.
public BasicSequenceValue(java.lang.String name,
Value[] values)
name - The name of the sequence value to be stored.values - Array of values which this sequence will hold.public BasicSequenceValue(Value[] values)
values - Array of values which this sequence 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 the name of this value.public java.lang.String getSyntaxName()
getSyntaxName in interface Valuepublic java.lang.Object getObjectInstance()
getObjectInstance in interface Valuepublic int count()
count in interface SequenceValuepublic java.util.Iterator getValues()
getValues in interface SequenceValuepublic Value getValue(int index)
getValue in interface SequenceValueindex - Integer position from which value is to be retrieved.
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectobject - The Object to compare with.
public 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 | |||||||||