org.jreform.types
Class ShortType

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

public final class ShortType
extends Object
implements InputDataType<Short>


Field Summary
private static ShortType type
           
 
Constructor Summary
private ShortType()
           
 
Method Summary
 Class<Short> getInputDataClass()
          Returns class of input's data.
 Short parseValue(String value)
          Parses the specified string into an object of this data type's class.
static InputDataType<Short> shortType()
           
 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 ShortType type
Constructor Detail

ShortType

private ShortType()
Method Detail

parseValue

public Short 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<Short>

getInputDataClass

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

Specified by:
getInputDataClass in interface InputDataType<Short>

toString

public String toString()
Overrides:
toString in class Object

shortType

public static InputDataType<Short> shortType()


Copyright © 2007-2008 jReform