Annotation Interface ExposeToClient


@Documented @Retention(RUNTIME) @Target(FIELD) public @interface ExposeToClient
  • Element Details

    • id

      boolean id
      Defines if this field acts as id for this poso.
      Default:
      false
    • key

      boolean key
      Defines if this field acts as key for this poso.
      Default:
      false
    • view

      DtoView view
      The minimal view this property belongs to.
      Default:
      NORMAL
    • exposeValueToClient

      boolean exposeValueToClient
      Defines if the entity value is copied to the client on dto generation
      Default:
      true
    • disableHtmlEncode

      boolean disableHtmlEncode
      String values are encoded using StringEscapeUtils htmlEncode. By setting this to true, no encoding will be performed.
      Default:
      false
    • disableAmpersandEncode

      boolean disableAmpersandEncode
      By setting this to true, invalid input: '&' will not be encoded to &
      Default:
      false
    • enableSimpleHtmlPolicy

      boolean enableSimpleHtmlPolicy
      Default:
      false
    • allowArbitraryLobSize

      boolean allowArbitraryLobSize
      Very large objects might compromise the application (dos). Strings are per default cut off at 8192 characters. To circumvent this, set this option.
      Default:
      false
    • mergeDtoValueBack

      boolean mergeDtoValueBack
      Allows to disable merging of a certain property when merging dto and poso.
      Default:
      true
    • displayTitle

      boolean displayTitle
      If true, the property's content will be used as display title.
      See Also:
      Default:
      false
    • validateDtoProperty

      PropertyValidator validateDtoProperty
      Returns an array containing validators for a specific property
      Default:
      @net.datenwerke.dtoservices.dtogenerator.annotations.PropertyValidator(bypass=true)
    • allowForeignPosoForEnclosed

      boolean allowForeignPosoForEnclosed
      Allows an existing enclosed poso to be "moved".
      Default:
      false
    • visibility

      Visibility visibility
      Default:
      PRIVATE
    • inheritDtoView

      boolean inheritDtoView
      Uses the "here" view for the generation of a subentity (as for EnclosedEntities)
      Default:
      false