Interface CtxDtoExt
@Immutable
public interface CtxDtoExt
Custom extensions. In separate (mada.) context so they are easier to spot in the templates.
-
Method Summary
Modifier and TypeMethodDescriptionstatic dk.mada.jaxrs.generator.mpclient.dto.tmpl.ImmutableCtxDtoExt.Builder
builder()
Returns a builder for this type.Returns the optional class modifiers.Returns the optional name of a custom LocalDateDeserializer.Returns the optional name of a custom LocalDateSerializer.Returns the optional name of a custom OffsetDateDeserializer.Returns the optional name of a custom OffsetDateSerializer.Returns an optional string containing the interfaces implemented by this DTO.boolean
Returns true if enumeration should deserialize unknown input to the last enumeration entry.boolean
Returns true if enumeration data type is primitive and can use == for equals.boolean
Returns true if the property order annotation should be rendered.boolean
Returns true if the toString should create a single-line string.boolean
Returns true if the toString indentation helper method should be rendered.Returns optional custom jackson @JsonSerialize options.boolean
jsonb()
Returns true if rendering for jsonb, false otherwise.boolean
Returns true if DTO should render @RegisterForReflection.@Nullable String
Returns schema options, or null.Returns the properties of the class, in openapi document order.
-
Method Details
-
builder
static dk.mada.jaxrs.generator.mpclient.dto.tmpl.ImmutableCtxDtoExt.Builder builder()Returns a builder for this type.- Returns:
- a builder for this type
-
jacksonJsonSerializeOptions
Returns optional custom jackson @JsonSerialize options.- Returns:
- optional custom jackson @JsonSerialize options
-
customLocalDateDeserializer
Returns the optional name of a custom LocalDateDeserializer.- Returns:
- the optional name of a custom LocalDateDeserializer
-
customLocalDateSerializer
Returns the optional name of a custom LocalDateSerializer.- Returns:
- the optional name of a custom LocalDateSerializer
-
customOffsetDateTimeDeserializer
Returns the optional name of a custom OffsetDateDeserializer.- Returns:
- the optional name of a custom OffsetDateDeserializer
-
customOffsetDateTimeSerializer
Returns the optional name of a custom OffsetDateSerializer.- Returns:
- the optional name of a custom OffsetDateSerializer
-
jsonb
boolean jsonb()Returns true if rendering for jsonb, false otherwise.- Returns:
- true if rendering for jsonb, false otherwise
-
schemaOptions
@Nullable String schemaOptions()Returns schema options, or null.- Returns:
- schema options, or null
-
implementsInterfaces
Returns an optional string containing the interfaces implemented by this DTO.- Returns:
- an optional string containing the interfaces implemented by this DTO
-
isEqualsPrimitive
boolean isEqualsPrimitive()Returns true if enumeration data type is primitive and can use == for equals.- Returns:
- true if enumeration data type is primitive and can use == for equals
-
isEnumUnknownDefault
boolean isEnumUnknownDefault()Returns true if enumeration should deserialize unknown input to the last enumeration entry.- Returns:
- true if enumeration should deserialize unknown input to the last enumeration entry
-
quarkusRegisterForReflection
boolean quarkusRegisterForReflection()Returns true if DTO should render @RegisterForReflection.- Returns:
- true if DTO should render @RegisterForReflection
-
isRenderPropertyOrderAnnotation
boolean isRenderPropertyOrderAnnotation()Returns true if the property order annotation should be rendered.- Returns:
- true if the property order annotation should be rendered
-
varsOpenapiOrder
List<CtxProperty> varsOpenapiOrder()Returns the properties of the class, in openapi document order.- Returns:
- the properties of the class, in openapi document order
-
classModifiers
Returns the optional class modifiers.- Returns:
- the optional class modifiers
-
isRenderSingleLineToString
boolean isRenderSingleLineToString()Returns true if the toString should create a single-line string.- Returns:
- true if the toString should create a single-line string
-
isRenderToStringHelper
boolean isRenderToStringHelper()Returns true if the toString indentation helper method should be rendered.- Returns:
- true if the toString indentation helper method should be rendered
-