Module dev.metaschema.databind
Class MetaschemaMetaConstraints.DefinitionContext
java.lang.Object
dev.metaschema.databind.model.metaschema.binding.MetaschemaMetaConstraints.DefinitionContext
- All Implemented Interfaces:
IBoundObject
- Enclosing class:
- MetaschemaMetaConstraints
@MetaschemaAssembly(name="definition-context",
moduleClass=MetaschemaModelModule.class)
public static class MetaschemaMetaConstraints.DefinitionContext
extends Object
implements IBoundObject
A binding class for the
definition-context definition.-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.databind.model.metaschema.binding.MetaschemaMetaConstraints.DefinitionContextinstance with no metadata.Constructs a newdev.metaschema.databind.model.metaschema.binding.MetaschemaMetaConstraints.DefinitionContextinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionGet theconstraintsproperty.Get additional Metaschema-related information for the object (i.e., resource location).getName()Get thenameproperty.Get thenamespaceproperty.Get the remarks.voidSet theconstraintsproperty.voidSet thenameproperty.voidsetNamespace(URI value) Set thenamespaceproperty.voidsetRemarks(Remarks value) Set the remarks.toString()
-
Constructor Details
-
DefinitionContext
public DefinitionContext()Constructs a newdev.metaschema.databind.model.metaschema.binding.MetaschemaMetaConstraints.DefinitionContextinstance with no metadata. -
DefinitionContext
Constructs a newdev.metaschema.databind.model.metaschema.binding.MetaschemaMetaConstraints.DefinitionContextinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
Description copied from interface:IBoundObjectGet additional Metaschema-related information for the object (i.e., resource location).- Specified by:
getMetaschemaDatain interfaceIBoundObject- Returns:
- the Metaschema-related information
-
getName
Get thenameproperty.- Returns:
- the name value
-
setName
Set thenameproperty.- Parameters:
value- the name value to set
-
getNamespace
Get thenamespaceproperty.- Returns:
- the namespace value
-
setNamespace
Set thenamespaceproperty.- Parameters:
value- the namespace value to set
-
getConstraints
Get theconstraintsproperty.- Returns:
- the constraints value
-
setConstraints
Set theconstraintsproperty.- Parameters:
value- the constraints value to set
-
getRemarks
Get the remarks.Any explanatory or helpful information to be provided about the remarks parent.
- Returns:
- the remarks value, or
nullif not set
-
setRemarks
Set the remarks.Any explanatory or helpful information to be provided about the remarks parent.
- Parameters:
value- the remarks value to set, ornullto clear
-
toString
-