com.novell.ecb.value
Interface Value

All Known Subinterfaces:
BooleanValue, CharacterValue, CompositeValue, NumberValue, SequenceValue, StringValue
All Known Implementing Classes:
BasicIntegerValue, BasicSequenceValue, BasicStringValue

public interface Value

The Value interface associates a 'Syntax Id', a 'Name', and a 'Value'. This interface defines access methods for the 'Syntax Id' and the 'Name'.


Method Summary
 int compareTo(java.lang.Object anObject)
          Compares this Value with the parameter object.
 java.lang.String getName()
          Return the name of the value.
 java.lang.Object getObjectInstance()
          Returns a provider specific object for this value.
 java.lang.String getSyntaxName()
          Returns the provider specific syntax for this value.
 

Method Detail

compareTo

public int compareTo(java.lang.Object anObject)
Compares this Value with the parameter object.

Returns:
int Returns 0 if the argument is equal to this value; a integer less than 0 if this value is less than the argument; and a number greater than 0 if this value is greater than the argument.

getName

public java.lang.String getName()
Return the name of the value.

Returns:
String Name of this value.

getSyntaxName

public java.lang.String getSyntaxName()
Returns the provider specific syntax for this value.

Returns:
String String value representing syntax.

getObjectInstance

public java.lang.Object getObjectInstance()
Returns a provider specific object for this value.

Returns:
Object The provider specific object for this value.


Copyright © 2001-2003 Novell, Inc. All Rights Reserved.