ikrs.typesystem
Class BasicNumberType

java.lang.Object
  extended by ikrs.typesystem.BasicTypeAdapter
      extended by ikrs.typesystem.BasicNumberType
All Implemented Interfaces:
BasicType

public class BasicNumberType
extends BasicTypeAdapter
implements BasicType


Field Summary
 
Fields inherited from interface ikrs.typesystem.BasicType
TYPE_ARRAY, TYPE_BOOLEAN, TYPE_BYTE, TYPE_CHAR, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT, TYPE_LONG, TYPE_SHORT, TYPE_STRING, TYPE_UUID
 
Constructor Summary
BasicNumberType(byte b)
           
BasicNumberType(double d)
           
BasicNumberType(float f)
           
BasicNumberType(int i)
           
BasicNumberType(long l)
           
BasicNumberType(short s)
           
 
Method Summary
 boolean getBoolean()
           
 byte getByte()
           
 double getDouble()
           
 float getFloat()
           
 int getInt()
           
 long getLong()
           
 short getShort()
           
 java.lang.String getString()
           
 java.lang.String toString()
           
 
Methods inherited from class ikrs.typesystem.BasicTypeAdapter
equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, getArray, getArray, getArrayElementAt, getArraySize, getBoolean, getByte, getChar, getChar, getDouble, getFloat, getInt, getLong, getShort, getString, getType, getUUID, getUUID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ikrs.typesystem.BasicType
equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, getArray, getArray, getArrayElementAt, getArraySize, getBoolean, getByte, getChar, getChar, getDouble, getFloat, getInt, getLong, getShort, getString, getType, getUUID, getUUID
 

Constructor Detail

BasicNumberType

public BasicNumberType(byte b)

BasicNumberType

public BasicNumberType(short s)

BasicNumberType

public BasicNumberType(int i)

BasicNumberType

public BasicNumberType(long l)

BasicNumberType

public BasicNumberType(float f)

BasicNumberType

public BasicNumberType(double d)
Method Detail

getBoolean

public boolean getBoolean()
                   throws BasicTypeException
Specified by:
getBoolean in interface BasicType
Overrides:
getBoolean in class BasicTypeAdapter
Throws:
BasicTypeException

getByte

public byte getByte()
             throws BasicTypeException
Specified by:
getByte in interface BasicType
Overrides:
getByte in class BasicTypeAdapter
Throws:
BasicTypeException

getShort

public short getShort()
               throws BasicTypeException
Specified by:
getShort in interface BasicType
Overrides:
getShort in class BasicTypeAdapter
Throws:
BasicTypeException

getInt

public int getInt()
           throws BasicTypeException
Specified by:
getInt in interface BasicType
Overrides:
getInt in class BasicTypeAdapter
Throws:
BasicTypeException

getLong

public long getLong()
             throws BasicTypeException
Specified by:
getLong in interface BasicType
Overrides:
getLong in class BasicTypeAdapter
Throws:
BasicTypeException

getFloat

public float getFloat()
               throws BasicTypeException
Specified by:
getFloat in interface BasicType
Overrides:
getFloat in class BasicTypeAdapter
Throws:
BasicTypeException

getDouble

public double getDouble()
                 throws BasicTypeException
Specified by:
getDouble in interface BasicType
Overrides:
getDouble in class BasicTypeAdapter
Throws:
BasicTypeException

getString

public java.lang.String getString()
                           throws BasicTypeException
Specified by:
getString in interface BasicType
Overrides:
getString in class BasicTypeAdapter
Throws:
BasicTypeException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object