Interface Schemable<S extends Schema<S>>

Type Parameters:
S - The actual type of the Schema being provided (usually an implemented Schema does not require any type parameters any more).

public interface Schemable<S extends Schema<S>>
The Schemable mixin provides means for a data structure to describe itself.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the Schema describing the implementing data structure.
  • Method Details

    • toSchema

      S toSchema()
      Returns the Schema describing the implementing data structure.
      Returns:
      The Schema describing the data structure.