com.caucho.amber.type
Class Primitive

java.lang.Object
  extended by com.caucho.amber.type.AmberType
      extended by com.caucho.amber.type.Primitive

public abstract class Primitive
extends AmberType

Represents a primitive numeric type.


Constructor Summary
Primitive()
           
 
Method Summary
 java.lang.String generateEquals(java.lang.String a, java.lang.String b)
          Returns a boolean equality.
 java.lang.String generateIsNull(java.lang.String value)
          Returns a test for null.
 java.lang.String generateNull()
          Returns a test for null.
 
Methods inherited from class com.caucho.amber.type.AmberType
findItem, fromObject, generateCastFromObject, generateCreateColumnSQL, generateIncrementVersion, generateLoad, generateLoad, generateLoadForeign, generateLoadNative, generateSet, generateSetNull, generateSetVersion, getColumnCount, getForeignType, getForeignTypeName, getJavaTypeName, getName, getObject, getObject, init, isAssignableTo, isAutoIncrement, isBoolean, isNumeric, setParameter, toObject, toObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Primitive

public Primitive()
Method Detail

generateEquals

public java.lang.String generateEquals(java.lang.String a,
                                       java.lang.String b)
Returns a boolean equality.

Overrides:
generateEquals in class AmberType

generateIsNull

public java.lang.String generateIsNull(java.lang.String value)
Returns a test for null.

Overrides:
generateIsNull in class AmberType

generateNull

public java.lang.String generateNull()
Returns a test for null.

Overrides:
generateNull in class AmberType