Module dev.metaschema.databind
Class MetaschemaModuleConstraints.Scope
java.lang.Object
dev.metaschema.databind.model.metaschema.binding.MetaschemaModuleConstraints.Scope
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
- Enclosing class:
- MetaschemaModuleConstraints
@MetaschemaAssembly(name="scope",
moduleClass=MetaschemaModelModule.class)
public static class MetaschemaModuleConstraints.Scope
extends Object
implements dev.metaschema.core.model.IBoundObject
A binding class for the
scope definition.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA binding class for theassemblydefinition.static classA binding class for thefielddefinition.static classA binding class for theflagdefinition. -
Constructor Summary
ConstructorsConstructorDescriptionScope()Constructs a newdev.metaschema.databind.model.metaschema.binding.MetaschemaModuleConstraints.Scopeinstance with no metadata.Scope(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.databind.model.metaschema.binding.MetaschemaModuleConstraints.Scopeinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionList<? extends IValueConstraintsBase>Get theconstraintschoice group items.Get the constraint Condition Violation Message.dev.metaschema.core.model.IMetaschemaDataGet themetaschema-namespaceproperty.Get themetaschema-short-nameproperty.Get the remarks.voidsetConstraints(List<? extends IValueConstraintsBase> value) Set theconstraintschoice group items.voidsetMessage(String value) Set the constraint Condition Violation Message.voidsetMetaschemaNamespace(URI value) Set themetaschema-namespaceproperty.voidsetMetaschemaShortName(String value) Set themetaschema-short-nameproperty.voidsetRemarks(Remarks value) Set the remarks.toString()
-
Constructor Details
-
Scope
public Scope()Constructs a newdev.metaschema.databind.model.metaschema.binding.MetaschemaModuleConstraints.Scopeinstance with no metadata. -
Scope
Constructs a newdev.metaschema.databind.model.metaschema.binding.MetaschemaModuleConstraints.Scopeinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getMetaschemaNamespace
Get themetaschema-namespaceproperty.- Returns:
- the metaschema-namespace value
-
setMetaschemaNamespace
Set themetaschema-namespaceproperty.- Parameters:
value- the metaschema-namespace value to set
-
getMetaschemaShortName
Get themetaschema-short-nameproperty.- Returns:
- the metaschema-short-name value
-
setMetaschemaShortName
Set themetaschema-short-nameproperty.- Parameters:
value- the metaschema-short-name value to set
-
getConstraints
Get theconstraintschoice group items.Items in this collection implement
IValueConstraintsBase.- Returns:
- the constraints items
-
setConstraints
Set theconstraintschoice group items.Items in this collection must implement
IValueConstraintsBase.- Parameters:
value- the constraints items to set
-
getMessage
Get the constraint Condition Violation Message.- Returns:
- the message value, or
nullif not set
-
setMessage
Set the constraint Condition Violation Message.- Parameters:
value- the message value to set, ornullto clear
-
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
-