-
Optional Element Summary
Optional Elements
boolean
Very large objects might compromise the application (dos).
boolean
Allows an existing enclosed poso to be "moved".
boolean
By setting this to true, invalid input: '&' will not be encoded to &
boolean
String values are encoded using StringEscapeUtils htmlEncode.
boolean
If true, the property's content will be used as display title.
boolean
boolean
Defines if the entity value is copied to the client on dto generation
boolean
Defines if this field acts as id for this poso.
boolean
Uses the "here" view for the generation of a subentity (as for
EnclosedEntities)
boolean
Defines if this field acts as key for this poso.
boolean
Allows to disable merging of a certain property when merging dto and poso.
Returns an array containing validators for a specific property
The minimal view this property belongs to.
-
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
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
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
- Default:
PRIVATE
-
inheritDtoView
boolean inheritDtoView
Uses the "here" view for the generation of a subentity (as for
EnclosedEntities)
- Default:
false