net.sf.farrago.type.runtime
Class NullablePrimitive.NullableInteger

java.lang.Object
  extended by net.sf.farrago.type.runtime.NullablePrimitive
      extended by net.sf.farrago.type.runtime.NullablePrimitive.NullableInteger
All Implemented Interfaces:
AssignableValue, DataValue, NullableValue
Enclosing class:
NullablePrimitive

public static final class NullablePrimitive.NullableInteger
extends NullablePrimitive

Nullable wrapper for int.


Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.farrago.type.runtime.NullablePrimitive
NullablePrimitive.NullableBoolean, NullablePrimitive.NullableByte, NullablePrimitive.NullableDouble, NullablePrimitive.NullableFloat, NullablePrimitive.NullableInteger, NullablePrimitive.NullableLong, NullablePrimitive.NullableShort
 
Field Summary
 int value
          Wrapped primitive
 
Fields inherited from class net.sf.farrago.type.runtime.NullablePrimitive
FALSE_LITERAL, isNull, NULL_IND_FIELD_NAME, TRUE_LITERAL, UNKNOWN_LITERAL, VALUE_FIELD_NAME
 
Fields inherited from interface net.sf.farrago.type.runtime.NullableValue
NULL_IND_ACCESSOR_NAME, NULL_IND_MUTATOR_NAME
 
Fields inherited from interface net.sf.farrago.type.runtime.AssignableValue
ASSIGNMENT_METHOD_NAME
 
Constructor Summary
NullablePrimitive.NullableInteger()
           
 
Method Summary
protected  void setLong(long n)
          Assignment from non-null long value.
protected  void setNumber(Number number)
          Assignment from abstract Number object.
 
Methods inherited from class net.sf.farrago.type.runtime.NullablePrimitive
assignFrom, getNullableData, isNull, setNull, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

public int value
Wrapped primitive

Constructor Detail

NullablePrimitive.NullableInteger

public NullablePrimitive.NullableInteger()
Method Detail

setNumber

protected void setNumber(Number number)
Description copied from class: NullablePrimitive
Assignment from abstract Number object.

Specified by:
setNumber in class NullablePrimitive
Parameters:
number - a new non-null value to be assigned

setLong

protected void setLong(long n)
Description copied from class: NullablePrimitive
Assignment from non-null long value.

Specified by:
setLong in class NullablePrimitive
Parameters:
n - long value to assign