Interface View

All Superinterfaces:
KeyValuePair<String,String>, Persistent, Serializable
All Known Implementing Classes:
ProcessInstanceView

public interface View extends Persistent
Objects implementing this interface provide a different perspective ("view") for a Persistent instance (the base object).

Usually just a subset of the fields / columns of the base object is accessible. So a view object provides a projection of the base object. A specific view class is always tied to a specific Persistent class.

@enterprise View-Forms do implement this interface.

  • Method Details

    • getBaseObject

      Persistent getBaseObject()
      Get the base object instance.
      Returns:
      the base object instance
    • setBaseObject

      void setBaseObject(Persistent baseObject)
      Set the base object of the view instance.
      Parameters:
      baseObject - the base object
    • getBaseClassName

      String getBaseClassName()
      Get the class name of the base objects.
      Returns:
      the class name of the base objects
    • viewColumnNames

      String[] viewColumnNames()
      Get an array of column names of the base object class which are included in the view object class.
      Returns:
      the known column names of the view object.