Interface Persistable.ObjectIdFieldSupplier

  • Enclosing interface:
    Persistable

    public static interface Persistable.ObjectIdFieldSupplier
    This interface is used to provide fields to the Object id instance. It is used by the method copyKeyFieldsToObjectId. When the method is called, the generated code calls the instance of the FieldManager for each field in the object id.
    • Method Detail

      • fetchBooleanField

        boolean fetchBooleanField​(int fieldNumber)
        Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId.
        Parameters:
        fieldNumber - the field number of the key field.
        Returns:
        the value of the field to be stored into the ObjectId.
      • fetchCharField

        char fetchCharField​(int fieldNumber)
        Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId.
        Parameters:
        fieldNumber - the field number of the key field.
        Returns:
        the value of the field to be stored into the ObjectId.
      • fetchByteField

        byte fetchByteField​(int fieldNumber)
        Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId.
        Parameters:
        fieldNumber - the field number of the key field.
        Returns:
        the value of the field to be stored into the ObjectId.
      • fetchShortField

        short fetchShortField​(int fieldNumber)
        Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId.
        Parameters:
        fieldNumber - the field number of the key field.
        Returns:
        the value of the field to be stored into the ObjectId.
      • fetchIntField

        int fetchIntField​(int fieldNumber)
        Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId.
        Parameters:
        fieldNumber - the field number of the key field.
        Returns:
        the value of the field to be stored into the ObjectId.
      • fetchLongField

        long fetchLongField​(int fieldNumber)
        Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId.
        Parameters:
        fieldNumber - the field number of the key field.
        Returns:
        the value of the field to be stored into the ObjectId.
      • fetchFloatField

        float fetchFloatField​(int fieldNumber)
        Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId.
        Parameters:
        fieldNumber - the field number of the key field.
        Returns:
        the value of the field to be stored into the ObjectId.
      • fetchDoubleField

        double fetchDoubleField​(int fieldNumber)
        Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId.
        Parameters:
        fieldNumber - the field number of the key field.
        Returns:
        the value of the field to be stored into the ObjectId.
      • fetchStringField

        String fetchStringField​(int fieldNumber)
        Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId.
        Parameters:
        fieldNumber - the field number of the key field.
        Returns:
        the value of the field to be stored into the ObjectId.
      • fetchObjectField

        Object fetchObjectField​(int fieldNumber)
        Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId.
        Parameters:
        fieldNumber - the field number of the key field.
        Returns:
        the value of the field to be stored into the ObjectId.