Interface FieldManager

All Known Implementing Classes:
AbstractFetchDepthFieldManager, AbstractFetchFieldManager, AbstractFieldManager, AbstractStoreFieldManager, AppIdObjectIdFieldConsumer, AttachFieldManager, DeleteFieldManager, DetachFieldManager, L2CachePopulateFieldManager, L2CacheRetrieveFieldManager, LoadFieldManager, MakeTransientFieldManager, NullifyRelationFieldManager, PersistFieldManager, ReachabilityFieldManager, SingleTypeFieldManager, SingleValueFieldManager, UnsetOwnerFieldManager

public interface FieldManager
Provide methods to fetch from/to a persistable object to/from StateManager/DataStore.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    fetchBooleanField(int fieldNumber)
    Fetch a boolean field at the specified field number, returning it.
    byte
    fetchByteField(int fieldNumber)
    Fetch a byte field at the specified field number, returning it.
    char
    fetchCharField(int fieldNumber)
    Fetch a char field at the specified field number, returning it.
    double
    fetchDoubleField(int fieldNumber)
    Fetch a double field at the specified field number, returning it.
    float
    fetchFloatField(int fieldNumber)
    Fetch a float field at the specified field number, returning it.
    int
    fetchIntField(int fieldNumber)
    Fetch an int field at the specified field number, returning it.
    long
    fetchLongField(int fieldNumber)
    Fetch a long field at the specified field number, returning it.
    fetchObjectField(int fieldNumber)
    Fetch an object field at the specified field number, returning it.
    short
    fetchShortField(int fieldNumber)
    Fetch a short field at the specified field number, returning it.
    fetchStringField(int fieldNumber)
    Fetch a string field at the specified field number, returning it.
    void
    storeBooleanField(int fieldNumber, boolean value)
    Method to store a boolean field value in the object at the specified field position.
    void
    storeByteField(int fieldNumber, byte value)
    Method to store a byte field value in the object at the specified field position.
    void
    storeCharField(int fieldNumber, char value)
    Method to store a char field value in the object at the specified field position.
    void
    storeDoubleField(int fieldNumber, double value)
    Method to store a double field value in the object at the specified field position.
    void
    storeFloatField(int fieldNumber, float value)
    Method to store a float field value in the object at the specified field position.
    void
    storeIntField(int fieldNumber, int value)
    Method to store an int field value in the object at the specified field position.
    void
    storeLongField(int fieldNumber, long value)
    Method to store a long field value in the object at the specified field position.
    void
    storeObjectField(int fieldNumber, Object value)
    Method to store an object field value in the object at the specified field position.
    void
    storeShortField(int fieldNumber, short value)
    Method to store a short field value in the object at the specified field position.
    void
    storeStringField(int fieldNumber, String value)
    Method to store a string field value in the object at the specified field position.
  • Method Details

    • fetchBooleanField

      boolean fetchBooleanField(int fieldNumber)
      Fetch a boolean field at the specified field number, returning it.
      Parameters:
      fieldNumber - Number of the field
      Returns:
      The value
    • fetchByteField

      byte fetchByteField(int fieldNumber)
      Fetch a byte field at the specified field number, returning it.
      Parameters:
      fieldNumber - Number of the field
      Returns:
      The value
    • fetchCharField

      char fetchCharField(int fieldNumber)
      Fetch a char field at the specified field number, returning it.
      Parameters:
      fieldNumber - Number of the field
      Returns:
      The value
    • fetchDoubleField

      double fetchDoubleField(int fieldNumber)
      Fetch a double field at the specified field number, returning it.
      Parameters:
      fieldNumber - Number of the field
      Returns:
      The value
    • fetchFloatField

      float fetchFloatField(int fieldNumber)
      Fetch a float field at the specified field number, returning it.
      Parameters:
      fieldNumber - Number of the field
      Returns:
      The value
    • fetchIntField

      int fetchIntField(int fieldNumber)
      Fetch an int field at the specified field number, returning it.
      Parameters:
      fieldNumber - Number of the field
      Returns:
      The value
    • fetchLongField

      long fetchLongField(int fieldNumber)
      Fetch a long field at the specified field number, returning it.
      Parameters:
      fieldNumber - Number of the field
      Returns:
      The value
    • fetchShortField

      short fetchShortField(int fieldNumber)
      Fetch a short field at the specified field number, returning it.
      Parameters:
      fieldNumber - Number of the field
      Returns:
      The value
    • fetchStringField

      String fetchStringField(int fieldNumber)
      Fetch a string field at the specified field number, returning it.
      Parameters:
      fieldNumber - Number of the field
      Returns:
      The value
    • fetchObjectField

      Object fetchObjectField(int fieldNumber)
      Fetch an object field at the specified field number, returning it.
      Parameters:
      fieldNumber - Number of the field
      Returns:
      The value
    • storeBooleanField

      void storeBooleanField(int fieldNumber, boolean value)
      Method to store a boolean field value in the object at the specified field position.
      Parameters:
      fieldNumber - Number of the field
      value - value to store
    • storeByteField

      void storeByteField(int fieldNumber, byte value)
      Method to store a byte field value in the object at the specified field position.
      Parameters:
      fieldNumber - Number of the field
      value - value to store
    • storeCharField

      void storeCharField(int fieldNumber, char value)
      Method to store a char field value in the object at the specified field position.
      Parameters:
      fieldNumber - Number of the field
      value - value to store
    • storeDoubleField

      void storeDoubleField(int fieldNumber, double value)
      Method to store a double field value in the object at the specified field position.
      Parameters:
      fieldNumber - Number of the field
      value - value to store
    • storeFloatField

      void storeFloatField(int fieldNumber, float value)
      Method to store a float field value in the object at the specified field position.
      Parameters:
      fieldNumber - Number of the field
      value - value to store
    • storeIntField

      void storeIntField(int fieldNumber, int value)
      Method to store an int field value in the object at the specified field position.
      Parameters:
      fieldNumber - Number of the field
      value - value to store
    • storeLongField

      void storeLongField(int fieldNumber, long value)
      Method to store a long field value in the object at the specified field position.
      Parameters:
      fieldNumber - Number of the field
      value - value to store
    • storeShortField

      void storeShortField(int fieldNumber, short value)
      Method to store a short field value in the object at the specified field position.
      Parameters:
      fieldNumber - Number of the field
      value - value to store
    • storeStringField

      void storeStringField(int fieldNumber, String value)
      Method to store a string field value in the object at the specified field position.
      Parameters:
      fieldNumber - Number of the field
      value - value to store
    • storeObjectField

      void storeObjectField(int fieldNumber, Object value)
      Method to store an object field value in the object at the specified field position.
      Parameters:
      fieldNumber - Number of the field
      value - value to store