Module dev.metaschema.databind
Package dev.metaschema.databind.codegen
Interface IGeneratedDefinitionClass
- All Superinterfaces:
IGeneratedClass
Represents a generated Java class for a Metaschema definition.
-
Method Summary
Modifier and TypeMethodDescriptionGet the Module definition associated with this class.booleanIndicates if the class represents a root Module assembly which can be the top-level element/property of an XML, JSON, or YAML instance.Methods inherited from interface dev.metaschema.databind.codegen.IGeneratedClass
getClassFile, getClassName
-
Method Details
-
getDefinition
Get the Module definition associated with this class.- Returns:
- the definition
-
isRootClass
boolean isRootClass()Indicates if the class represents a root Module assembly which can be the top-level element/property of an XML, JSON, or YAML instance.- Returns:
trueif the class is a root assembly, orfalseotherwise
-