Interface IBaseField

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean autoPost()
      If true, the database is updated immediately when the field value changes.
      void autoPost​(boolean pVal)
      If true, the database is updated immediately when the field value changes.
      Object field​(String fieldName)
      The value of the specified field.
      void field​(String fieldName, Object pVal)
      The value of the specified field.
      Object id()
      The item ID.
      boolean modified()
      Checks if the item has been modified since last refresh or post operation.
      void post()
      Posts all changed values into database.
      void refresh()
      Reads saved values, overwriting values in memory.
      void undo()
      Undoes changes to field values that have not been posted.
      boolean virtual()
      Checks if this is a virtual item, that is, an item that does not have a corresponding database record.
      • Methods inherited from interface com4j.Com4jObject

        advise, dispose, equals, getComThread, getIUnknownPointer, getPointer, getPtr, hashCode, is, queryInterface, setName, toString
    • Method Detail

      • field

        Object field​(String fieldName)

        The value of the specified field.

        Getter method for the COM property "Field"

        Parameters:
        fieldName - Mandatory java.lang.String parameter.
        Returns:
        Returns a value of type java.lang.Object
      • field

        void field​(String fieldName,
                   Object pVal)

        The value of the specified field.

        Setter method for the COM property "Field"

        Parameters:
        fieldName - Mandatory java.lang.String parameter.
        pVal - Mandatory java.lang.Object parameter.
      • id

        Object id()

        The item ID.

        Getter method for the COM property "ID"

        Returns:
        Returns a value of type java.lang.Object
      • autoPost

        boolean autoPost()

        If true, the database is updated immediately when the field value changes.

        Getter method for the COM property "AutoPost"

        Returns:
        Returns a value of type boolean
      • autoPost

        void autoPost​(boolean pVal)

        If true, the database is updated immediately when the field value changes.

        Setter method for the COM property "AutoPost"

        Parameters:
        pVal - Mandatory boolean parameter.
      • post

        void post()

        Posts all changed values into database.

      • refresh

        void refresh()

        Reads saved values, overwriting values in memory.

      • undo

        void undo()

        Undoes changes to field values that have not been posted.

      • modified

        boolean modified()

        Checks if the item has been modified since last refresh or post operation. If true, the field properties on the server side are not up to date.

        Getter method for the COM property "Modified"

        Returns:
        Returns a value of type boolean
      • virtual

        boolean virtual()

        Checks if this is a virtual item, that is, an item that does not have a corresponding database record.

        Getter method for the COM property "Virtual"

        Returns:
        Returns a value of type boolean