Module dev.metaschema.databind
Class MetaschemaBindings.ModelBinding
java.lang.Object
dev.metaschema.databind.config.binding.MetaschemaBindings.ModelBinding
- All Implemented Interfaces:
IBoundObject
- Enclosing class:
- MetaschemaBindings
@MetaschemaAssembly(formalName="Model Binding",
description="Defines binding configurations that apply to a whole model described by a namespace.",
name="model-binding",
moduleClass=MetaschemaBindingsModule.class)
public static class MetaschemaBindings.ModelBinding
extends Object
implements IBoundObject
Defines binding configurations that apply to a whole model described by a
namespace.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava-specific binding configuration for a model namespace. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.databind.config.binding.MetaschemaBindings.ModelBindinginstance with no metadata.ModelBinding(IMetaschemaData data) Constructs a newdev.metaschema.databind.config.binding.MetaschemaBindings.ModelBindinginstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptiongetJava()Get the java Model Binding.Get additional Metaschema-related information for the object (i.e., resource location).Get the namespace.voidSet the java Model Binding.voidsetNamespace(URI value) Set the namespace.toString()
-
Constructor Details
-
ModelBinding
public ModelBinding()Constructs a newdev.metaschema.databind.config.binding.MetaschemaBindings.ModelBindinginstance with no metadata. -
ModelBinding
Constructs a newdev.metaschema.databind.config.binding.MetaschemaBindings.ModelBindinginstance 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
-
getNamespace
Get the namespace.A URI referencing the namespace of one or more related metaschema definitions.
- Returns:
- the namespace value
-
setNamespace
Set the namespace.A URI referencing the namespace of one or more related metaschema definitions.
- Parameters:
value- the namespace value to set
-
getJava
Get the java Model Binding.Java-specific binding configuration for a model namespace.
- Returns:
- the java value, or
nullif not set
-
setJava
Set the java Model Binding.Java-specific binding configuration for a model namespace.
- Parameters:
value- the java value to set, ornullto clear
-
toString
-