com.novell.admin.ns
Class Value

java.lang.Object
  extended bycom.novell.admin.ns.ValueComponent
      extended bycom.novell.admin.ns.Value
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable
Direct Known Subclasses:
BooleanValue, DateValue, HexValue, LongValue, StreamValue, StringValue

public abstract class Value
extends ValueComponent
implements java.lang.Cloneable, java.io.Serializable

Abstract class that all atomic Value types must extend.

This is an immutable class. All subclasses must be immutable and implement Cloneable, or Clone() will throw an error.

See Also:
BooleanValue, LongValue, HexValue, StringValue, StreamValue, Serialized Form

Constructor Summary
protected Value(Syntax syntax)
          Constructor.
 
Method Summary
 java.lang.Object clone()
          Creates an exact duplicate of this Value.
 
Methods inherited from class com.novell.admin.ns.ValueComponent
compareTo, equals, getSyntax, isWithinBounds, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Value

protected Value(Syntax syntax)
Constructor.

Parameters:
syntax - A specific syntax associated with this value.
Method Detail

clone

public java.lang.Object clone()
Creates an exact duplicate of this Value.

Although this class does not implement Cloneable, all of its subclasses must implement it. This method ensures that subclasses can implement Cloneable correctly.

Returns:
new Value as an Object type.


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 September 2 2004 0111.