Class MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding
- All Implemented Interfaces:
IBoundObject
- Enclosing class:
- MetaschemaBindings.MetaschemaBinding
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classProvides binding configuration for a choice group within the parent assembly.static classField and assembly binding configurations for Java bound classes.static classProvides binding configurations for a property within the parent definition. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBindinginstance with no metadata.Constructs a newdev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBindinginstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddChoiceGroupBinding(MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding item) Add a newMetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBindingitem to the underlying collection.booleanAdd a newMetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.PropertyBindingitem to the underlying collection.Get the choice Group Binding.getJava()Get the java Object Definition Binding.Get additional Metaschema-related information for the object (i.e., resource location).getName()Get the name.Get the property Binding.Get the target.booleanremoveChoiceGroupBinding(MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding item) Remove the first matchingMetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBindingitem from the underlying collection.booleanremovePropertyBinding(MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.PropertyBinding item) Remove the first matchingMetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.PropertyBindingitem from the underlying collection.voidsetChoiceGroupBindings(List<MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding> value) Set the choice Group Binding.voidSet the java Object Definition Binding.voidSet the name.voidsetPropertyBindings(List<MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.PropertyBinding> value) Set the property Binding.voidSet the target.toString()
-
Constructor Details
-
DefineAssemblyBinding
public DefineAssemblyBinding()Constructs a newdev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBindinginstance with no metadata. -
DefineAssemblyBinding
Constructs a newdev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBindinginstance 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 the name.The name of the metaschema assembly. Used for top-level definitions.
- Returns:
- the name value, or
nullif not set
-
setName
Set the name.The name of the metaschema assembly. Used for top-level definitions.
- Parameters:
value- the name value to set, ornullto clear
-
getTarget
Get the target.A Metapath expression targeting the assembly definition(s) within the metaschema. Used for inline definitions.
- Returns:
- the target value, or
nullif not set
-
setTarget
Set the target.A Metapath expression targeting the assembly definition(s) within the metaschema. Used for inline definitions.
- Parameters:
value- the target value to set, ornullto clear
-
getJava
Get the java Object Definition Binding.Field and assembly binding configurations for Java bound classes.
- Returns:
- the java value, or
nullif not set
-
setJava
public void setJava(@Nullable MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.Java value) Set the java Object Definition Binding.Field and assembly binding configurations for Java bound classes.
- Parameters:
value- the java value to set, ornullto clear
-
getPropertyBindings
@NonNull public List<MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.PropertyBinding> getPropertyBindings()Get the property Binding.Provides binding configurations for a property within the parent definition.
- Returns:
- the property-binding value
-
setPropertyBindings
public void setPropertyBindings(@NonNull List<MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.PropertyBinding> value) Set the property Binding.Provides binding configurations for a property within the parent definition.
- Parameters:
value- the property-binding value to set
-
addPropertyBinding
public boolean addPropertyBinding(MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.PropertyBinding item) Add a newMetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.PropertyBindingitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removePropertyBinding
public boolean removePropertyBinding(MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.PropertyBinding item) Remove the first matchingMetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.PropertyBindingitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getChoiceGroupBindings
@NonNull public List<MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding> getChoiceGroupBindings()Get the choice Group Binding.Provides binding configuration for a choice group within the parent assembly.
- Returns:
- the choice-group-binding value
-
setChoiceGroupBindings
public void setChoiceGroupBindings(@NonNull List<MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding> value) Set the choice Group Binding.Provides binding configuration for a choice group within the parent assembly.
- Parameters:
value- the choice-group-binding value to set
-
addChoiceGroupBinding
public boolean addChoiceGroupBinding(MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding item) Add a newMetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBindingitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeChoiceGroupBinding
public boolean removeChoiceGroupBinding(MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding item) Remove the first matchingMetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBindingitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
toString
-