com.novell.admin.ns
Class BooleanValue
java.lang.Object
|
+--com.novell.admin.ns.ValueComponent
|
+--com.novell.admin.ns.Value
|
+--com.novell.admin.ns.BooleanValue
- All Implemented Interfaces:
- java.io.Serializable
- public final class BooleanValue
- extends Value
Storage class for all syntaxes that use boolean types.
This is an immutable class.
- See Also:
HexValue
,
StringValue
,
LongValue
,
StreamValue
Constructor Summary |
BooleanValue(Syntax syntax,
boolean bool)
Constructor that uses a boolean. |
BooleanValue(Syntax syntax,
java.lang.Boolean bool)
Constructor that uses a Boolean object. |
Method Summary |
java.lang.Boolean |
getBooleanValue()
Returns the value as a Boolean. |
boolean |
getValue()
Returns the value as a Boolean. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
BooleanValue
public BooleanValue(Syntax syntax,
java.lang.Boolean bool)
- Constructor that uses a Boolean object.
This constructor should only be called from boolean strategy classes and
not directly in an application.
- Parameters:
syntax
- Associated syntax for this boolean value.bool
- The Boolean object.
BooleanValue
public BooleanValue(Syntax syntax,
boolean bool)
- Constructor that uses a boolean.
This constructor should only be called from boolean strategy classes and
not directly in an application.
- Parameters:
syntax
- Associated syntax for this boolean value.bool
- The boolean value.
getValue
public boolean getValue()
- Returns the value as a Boolean.
- Returns:
- The value as a Boolean type.
getBooleanValue
public java.lang.Boolean getBooleanValue()
- Returns the value as a Boolean.
- Returns:
- The value as a Boolean object.
API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated December 17 2003 1746.