javax.rad.type
Class BooleanType
java.lang.Object
javax.rad.type.AbstractType<T>
javax.rad.type.AbstractComparableType<Boolean>
javax.rad.type.BooleanType
- All Implemented Interfaces:
- IType<Boolean>
public class BooleanType
- extends AbstractComparableType<Boolean>
The BooleanType
is a platform independent definition of boolean.
Constructor Summary |
BooleanType()
Constructs a new BooleanType . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BooleanType
public BooleanType()
- Constructs a new
BooleanType
.
getTypeClass
public Class<Boolean> getTypeClass()
- Returns the class used by this type.
- Returns:
- the class used by this type.
valueOf
public Boolean valueOf(Object pObject)
- Converts the object to an
Object
which is an instance of type class.
- Specified by:
valueOf
in interface IType<Boolean>
- Overrides:
valueOf
in class AbstractType<Boolean>
- Parameters:
pObject
- the Object
to convert
- Returns:
- the
Object
which is an instance of type class.
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.