Annotation Interface doentity


@Retention(RUNTIME) @Inherited public @interface doentity
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Definition if read to objects are buffered so that subsequent read operations via DOFWSql.queryOne() are managed within the buffer.
    Name of boolean property that is used to indicate that a data item is deleted.
    boolean
    Definition if the entity is not using a table as query target, but a database view definition.
    Name of schema.
    Name of table.
    Name of column that is used for separating tenant data.
    boolean
    By default the tenant columns in treated as String-column.
    boolean
    Definition if the entity is traced - so that changed to the entity are published via the ITrace interface.
  • Element Details

    • table

      String table
      Name of table. If not explicitly set then the table name will be assumed to be the same as the simple name of the class ("simple name" means: the name of the class, without package information).
      Default:
      "UNDEFINED"
    • schema

      String schema
      Name of schema. Only use this direct definition if there are individual schemas for tables in you application. If all tables belong to one and the same schema then use the configuration options to configure the schema centrally. The schema definition of this annotation will override central configurations.
      Default:
      "UNDEFINED"
    • tenantColumn

      String tenantColumn
      Name of column that is used for separating tenant data. Only use if you use a tenant-column that separates the data of one tenant from the data of another tenant.
      Default:
      "UNDEFINED"
    • tenantIsNumeric

      boolean tenantIsNumeric
      By default the tenant columns in treated as String-column. By defining true with this annotation the column value is converted to a long value.
      Default:
      false
    • buffered

      boolean buffered
      Definition if read to objects are buffered so that subsequent read operations via DOFWSql.queryOne() are managed within the buffer.
      Default:
      false
    • isView

      boolean isView
      Definition if the entity is not using a table as query target, but a database view definition.
      Default:
      false
    • deletedProperty

      String deletedProperty
      Name of boolean property that is used to indicate that a data item is deleted.
      Default:
      "UNDEFINED"
    • traceActive

      boolean traceActive
      Definition if the entity is traced - so that changed to the entity are published via the ITrace interface.
      Default:
      false