Package google.registry.model
Class SchemaVersion
- java.lang.Object
-
- google.registry.model.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).
-
-
-
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).
-
-