Class SchemaVersion


  • public final class SchemaVersion
    extends java.lang.Object
    Utility methods for getting the version of the model schema from the model code.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getSchema()
      Return a string representing the schema which includes the definition of all persisted entity types (and their field types, recursively).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getSchema

        public static java.lang.String getSchema()
        Return a string representing the schema which includes the definition of all persisted entity types (and their field types, recursively). Each definition contains the field names and their types (for classes), or else a list of all possible values (for enums).