@Target(value={}) @Retention(value=RUNTIME) @Inherited public @interface DiscriminatorMapping
Schema.discriminatorMapping()
to define an optional mapping definition
in scenarios involving composition / inheritance where the value of the discriminator field does not match the schema
name or implicit mapping is not possible.
Use Schema.discriminatorProperty()
to define a discriminator property.
Schema
Copyright © 2020. All rights reserved.