javax.rad.type
Class FileHandleType

java.lang.Object
  extended by javax.rad.type.AbstractType<IFileHandle>
      extended by javax.rad.type.FileHandleType
All Implemented Interfaces:
IType<IFileHandle>

public class FileHandleType
extends AbstractType<IFileHandle>

The FileHandleType is a platform independent definition of byte[].


Field Summary
 
Fields inherited from interface javax.rad.type.IType
UNKNOWN_TYPE
 
Constructor Summary
FileHandleType()
          Constructs a new FileHandleType.
 
Method Summary
 int compareTo(IFileHandle pObject1, java.lang.Object pObject2)
          Compares two objects.
 java.lang.Class<IFileHandle> getTypeClass()
          Returns the class used by this type.
 IFileHandle valueOf(java.lang.Object pObject)
          Converts the object to an Object which is an instance of type class.
 
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

FileHandleType

public FileHandleType()
Constructs a new FileHandleType.

Method Detail

getTypeClass

public java.lang.Class<IFileHandle> getTypeClass()
Returns the class used by this type.

Returns:
the class used by this type.

compareTo

public int compareTo(IFileHandle pObject1,
                     java.lang.Object pObject2)
Compares two objects. If the first object is smaller than the second object a value < 0 is returned. If the two objects are equal than 0 is returned. If the first object is greater than the second object a value > 0 is returned.

Parameters:
pObject1 - the first object.
pObject2 - the second object.
Returns:
< 0 if pObject1 is smaller, 0 if equal and > 0 if it is greater then pObject2

valueOf

public IFileHandle valueOf(java.lang.Object pObject)
Converts the object to an Object which is an instance of type class.

Specified by:
valueOf in interface IType<IFileHandle>
Overrides:
valueOf in class AbstractType<IFileHandle>
Parameters:
pObject - the Object to convert
Returns:
the Object which is an instance of type class.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.