Interface CtxDtoDiscriminator
@Immutable
public interface CtxDtoDiscriminator
Custom extensions. In separate (mada.) context so they are easier to spot in the templates.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final record
Defines a mapping between a model (DTO) name and a name used in the serialization stream. -
Method Summary
Modifier and TypeMethodDescriptionstatic dk.mada.jaxrs.generator.mpclient.dto.tmpl.ImmutableCtxDtoDiscriminator.Builder
builder()
Returns a builder for this type.Returns the list of mapped models.Returns the name of the property with the selector string.
-
Method Details
-
builder
static dk.mada.jaxrs.generator.mpclient.dto.tmpl.ImmutableCtxDtoDiscriminator.Builder builder()Returns a builder for this type.- Returns:
- a builder for this type
-
propertyBaseName
String propertyBaseName()Returns the name of the property with the selector string.- Returns:
- the name of the property with the selector string
-
mappedModels
List<CtxDtoDiscriminator.ModelMapping> mappedModels()Returns the list of mapped models.- Returns:
- the list of mapped models
-