javax.rad.type
Class BooleanType

java.lang.Object
  extended by javax.rad.type.AbstractType<T>
      extended by javax.rad.type.AbstractComparableType<Boolean>
          extended by javax.rad.type.BooleanType
All Implemented Interfaces:
IType<Boolean>

public class BooleanType
extends AbstractComparableType<Boolean>

The BooleanType is a platform independent definition of boolean.


Field Summary
 
Fields inherited from interface javax.rad.type.IType
UNKNOWN_TYPE
 
Constructor Summary
BooleanType()
          Constructs a new BooleanType.
 
Method Summary
 Class<Boolean> getTypeClass()
          Returns the class used by this type.
 Boolean valueOf(Object pObject)
          Converts the object to an Object which is an instance of type class.
 
Methods inherited from class javax.rad.type.AbstractComparableType
compareTo
 
Methods inherited from class javax.rad.type.AbstractType
equals, getTypeFromClass, getTypeFromObject, hashCode, registerType, toString, validatedValueOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanType

public BooleanType()
Constructs a new BooleanType.

Method Detail

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.