Annotation Type DiscriminatorMapping

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.Class<?> schema
      The schema that is being mapped to a property value
      java.lang.String value
      The property value that will be mapped to a Schema
    • Element Detail

      • value

        java.lang.String value
        The property value that will be mapped to a Schema
        Returns:
        the property value
        Default:
        ""
      • schema

        java.lang.Class<?> schema
        The schema that is being mapped to a property value
        Returns:
        the Schema reference
        Default:
        java.lang.Void.class