org.datanucleus.store.fieldmanager
Class NullifyRelationFieldManager

java.lang.Object
  extended by org.datanucleus.store.fieldmanager.AbstractFieldManager
      extended by org.datanucleus.store.fieldmanager.NullifyRelationFieldManager
All Implemented Interfaces:
FieldConsumer, FieldManager, FieldSupplier

public class NullifyRelationFieldManager
extends AbstractFieldManager

Manager that nullifies any Collection/Map/PC fields of the object.


Constructor Summary
NullifyRelationFieldManager(StateManager sm)
          Constructor.
 
Method Summary
 boolean fetchBooleanField(int fieldNumber)
          Accessor for boolean field.
 byte fetchByteField(int fieldNumber)
          Accessor for byte field.
 char fetchCharField(int fieldNumber)
          Accessor for char field.
 double fetchDoubleField(int fieldNumber)
          Accessor for double field.
 float fetchFloatField(int fieldNumber)
          Accessor for float field.
 int fetchIntField(int fieldNumber)
          Accessor for int field.
 long fetchLongField(int fieldNumber)
          Accessor for long field.
 java.lang.Object fetchObjectField(int fieldNumber)
          Accessor for object field.
 short fetchShortField(int fieldNumber)
          Accessor for short field.
 java.lang.String fetchStringField(int fieldNumber)
          Accessor for String field.
 
Methods inherited from class org.datanucleus.store.fieldmanager.AbstractFieldManager
storeBooleanField, storeByteField, storeCharField, storeDoubleField, storeFloatField, storeIntField, storeLongField, storeObjectField, storeShortField, storeStringField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullifyRelationFieldManager

public NullifyRelationFieldManager(StateManager sm)
Constructor.

Parameters:
sm - the StateManager
Method Detail

fetchObjectField

public java.lang.Object fetchObjectField(int fieldNumber)
Accessor for object field.

Specified by:
fetchObjectField in interface FieldSupplier
Overrides:
fetchObjectField in class AbstractFieldManager
Parameters:
fieldNumber - Number of field
Returns:
Object value

fetchBooleanField

public boolean fetchBooleanField(int fieldNumber)
Accessor for boolean field.

Specified by:
fetchBooleanField in interface FieldSupplier
Overrides:
fetchBooleanField in class AbstractFieldManager
Parameters:
fieldNumber - Number of field
Returns:
Object value

fetchCharField

public char fetchCharField(int fieldNumber)
Accessor for char field.

Specified by:
fetchCharField in interface FieldSupplier
Overrides:
fetchCharField in class AbstractFieldManager
Parameters:
fieldNumber - Number of field
Returns:
Object value

fetchByteField

public byte fetchByteField(int fieldNumber)
Accessor for byte field.

Specified by:
fetchByteField in interface FieldSupplier
Overrides:
fetchByteField in class AbstractFieldManager
Parameters:
fieldNumber - Number of field
Returns:
Object value

fetchDoubleField

public double fetchDoubleField(int fieldNumber)
Accessor for double field.

Specified by:
fetchDoubleField in interface FieldSupplier
Overrides:
fetchDoubleField in class AbstractFieldManager
Parameters:
fieldNumber - Number of field
Returns:
Object value

fetchFloatField

public float fetchFloatField(int fieldNumber)
Accessor for float field.

Specified by:
fetchFloatField in interface FieldSupplier
Overrides:
fetchFloatField in class AbstractFieldManager
Parameters:
fieldNumber - Number of field
Returns:
Object value

fetchIntField

public int fetchIntField(int fieldNumber)
Accessor for int field.

Specified by:
fetchIntField in interface FieldSupplier
Overrides:
fetchIntField in class AbstractFieldManager
Parameters:
fieldNumber - Number of field
Returns:
Object value

fetchLongField

public long fetchLongField(int fieldNumber)
Accessor for long field.

Specified by:
fetchLongField in interface FieldSupplier
Overrides:
fetchLongField in class AbstractFieldManager
Parameters:
fieldNumber - Number of field
Returns:
Object value

fetchShortField

public short fetchShortField(int fieldNumber)
Accessor for short field.

Specified by:
fetchShortField in interface FieldSupplier
Overrides:
fetchShortField in class AbstractFieldManager
Parameters:
fieldNumber - Number of field
Returns:
Object value

fetchStringField

public java.lang.String fetchStringField(int fieldNumber)
Accessor for String field.

Specified by:
fetchStringField in interface FieldSupplier
Overrides:
fetchStringField in class AbstractFieldManager
Parameters:
fieldNumber - Number of field
Returns:
Object value


Copyright © 2010. All Rights Reserved.