public final class BooleanValue extends Value
This is an immutable class.
HexValue,
StringValue,
LongValue,
StreamValue,
Serialized Form| Constructor and Description |
|---|
BooleanValue(Syntax syntax,
boolean bool)
Constructor that uses a primitive boolean type.
|
BooleanValue(Syntax syntax,
java.lang.Boolean bool)
Constructor that uses a Boolean object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getBooleanValue()
Returns the value as a Boolean object.
|
java.lang.Object |
getObjectValue()
Returns the value as an Object of instance Boolean.
|
boolean |
getValue()
Returns the value as a boolean type.
|
compareTo, equals, getSyntax, isWithinBounds, toStringpublic BooleanValue(Syntax syntax, java.lang.Boolean bool)
This constructor should only be called from boolean strategy classes and not directly from an application.
syntax - Associated syntax for this boolean value.bool - The Boolean object.public BooleanValue(Syntax syntax, boolean bool)
This constructor should only be called from boolean strategy classes and not directly in an xapplication.
syntax - Associated syntax for this boolean value.bool - The boolean value.public boolean getValue()
public java.lang.Boolean getBooleanValue()
public java.lang.Object getObjectValue()
getObjectValue in class 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}.