com.novell.admin.ns
Class LongValue

java.lang.Object
  |
  +--com.novell.admin.ns.ValueComponent
        |
        +--com.novell.admin.ns.Value
              |
              +--com.novell.admin.ns.LongValue
All Implemented Interfaces:
java.io.Serializable

public final class LongValue
extends Value

Storage class for all syntaxes that use integer types.

This is an immutable class.

See Also:
BooleanValue, StringValue, HexValue, StreamValue

Constructor Summary
LongValue(Syntax syntax, long longValue)
          Constructor that uses a long value.
LongValue(Syntax syntax, java.lang.Long longValue)
          Constructor that uses a Long object.
 
Method Summary
 java.lang.Long getLongValue()
          Returns the value as a Long.
 java.lang.String getSignedValue()
          Returns the signed value.
 long getValue()
          Returns the value as a long.
 
Methods inherited from class com.novell.admin.ns.ValueComponent
compareTo, equals, getSyntax, isWithinBounds, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LongValue

public LongValue(Syntax syntax,
                 java.lang.Long longValue)
Constructor that uses a Long object.

This constructor should only be called from a syntax strategy that deals with long values. No application should call this constructor directly.

Parameters:
syntax - Associated syntax for this long value.
longValue - The Long object.

LongValue

public LongValue(Syntax syntax,
                 long longValue)
Constructor that uses a long value.

This constructor should only be called from a syntax strategy which deals with long values. No application should call this constructor directly.

Parameters:
syntax - Associated syntax for this long value.
longValue - The long value.
Method Detail

getValue

public long getValue()
Returns the value as a long.
Returns:
The value as a long type.

getLongValue

public java.lang.Long getLongValue()
Returns the value as a Long.
Returns:
The value as a Long object.

getSignedValue

public java.lang.String getSignedValue()
Returns the signed value.
Returns:
The signed value.


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.