org.jreform.types
Class LongType

java.lang.Object
  extended by org.jreform.types.LongType
All Implemented Interfaces:
InputDataType<Long>

public final class LongType
extends Object
implements InputDataType<Long>


Field Summary
private static LongType type
           
 
Constructor Summary
private LongType()
           
 
Method Summary
 Class<Long> getInputDataClass()
          Returns class of input's data.
static InputDataType<Long> longType()
           
 Long parseValue(String value)
          Parses the specified string into an object of this data type's class.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

private static final LongType type
Constructor Detail

LongType

private LongType()
Method Detail

parseValue

public Long parseValue(String value)
Description copied from interface: InputDataType
Parses the specified string into an object of this data type's class.

Specified by:
parseValue in interface InputDataType<Long>

getInputDataClass

public Class<Long> getInputDataClass()
Description copied from interface: InputDataType
Returns class of input's data.

Specified by:
getInputDataClass in interface InputDataType<Long>

toString

public String toString()
Overrides:
toString in class Object

longType

public static InputDataType<Long> longType()


Copyright © 2007-2008 jReform