public abstract class ValueComponent
extends java.lang.Object
implements java.io.Serializable
This is the abstract class that all Value and ValueList classes must extend. Methods defined by a subclass of this class should defer the implementation details to a strategy class.
Value,
ValueList,
Serialized Form| Modifier | Constructor and Description |
|---|---|
protected |
ValueComponent(Syntax syntax)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
compareTo(ValueComponent component)
Returns the difference between this ValueComponent and another ValueComponent.
|
boolean |
equals(java.lang.Object obj)
Determines if another ValueComponent is identical to the current ValueComponent.
|
Syntax |
getSyntax()
Returns the associated syntax.
|
boolean |
isWithinBounds(long lowerBound,
long upperBound)
Determines if an object is within specific Value bounds.
|
java.lang.String |
toString()
Converts this ValueComponent to a String.
|
protected ValueComponent(Syntax syntax)
syntax - The associated syntax.public final Syntax getSyntax()
public final boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - Another ValueComponent object.public final long compareTo(ValueComponent component)
component - Another ValueComponent.public final java.lang.String toString()
toString in class java.lang.Objectpublic final boolean isWithinBounds(long lowerBound,
long upperBound)
lowerBound - The lower bound of the Value.upperBound - The upper bound of the Value.
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.