Module dev.metaschema.databind
Class MetaschemaBindings.MetaschemaBinding.DefineFieldBinding.Java
java.lang.Object
dev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineFieldBinding.Java
- All Implemented Interfaces:
IBoundObject
- Enclosing class:
- MetaschemaBindings.MetaschemaBinding.DefineFieldBinding
@MetaschemaAssembly(formalName="Java Object Definition Binding",
description="Field and assembly binding configurations for Java bound classes.",
name="java",
moduleClass=MetaschemaBindingsModule.class)
public static class MetaschemaBindings.MetaschemaBinding.DefineFieldBinding.Java
extends Object
implements IBoundObject
Field and assembly binding configurations for Java bound classes.
-
Constructor Summary
ConstructorsConstructorDescriptionJava()Constructs a newdev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineFieldBinding.Javainstance with no metadata.Java(IMetaschemaData data) Constructs a newdev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineFieldBinding.Javainstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddImplementInterface(String item) Add a newStringitem to the underlying collection.Get the collection Class.Get the extend Base Class.Get the implement Interface.Get additional Metaschema-related information for the object (i.e., resource location).Get the use Class Name.booleanRemove the first matchingStringitem from the underlying collection.voidsetCollectionClass(String value) Set the collection Class.voidsetExtendBaseClass(String value) Set the extend Base Class.voidsetImplementInterfaces(List<String> value) Set the implement Interface.voidsetUseClassName(String value) Set the use Class Name.toString()
-
Constructor Details
-
Java
public Java()Constructs a newdev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineFieldBinding.Javainstance with no metadata. -
Java
Constructs a newdev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineFieldBinding.Javainstance 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
-
getUseClassName
Get the use Class Name.The Java class name to use for the generated class.
- Returns:
- the use-class-name value, or
nullif not set
-
setUseClassName
Set the use Class Name.The Java class name to use for the generated class.
- Parameters:
value- the use-class-name value to set, ornullto clear
-
getImplementInterfaces
Get the implement Interface.A fully qualified Java interface name that the generated class should implement.
- Returns:
- the implement-interface value
-
setImplementInterfaces
Set the implement Interface.A fully qualified Java interface name that the generated class should implement.
- Parameters:
value- the implement-interface value to set
-
addImplementInterface
Add a newStringitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeImplementInterface
Remove the first matchingStringitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getExtendBaseClass
Get the extend Base Class.A fully qualified Java class name that the generated class should extend.
- Returns:
- the extend-base-class value, or
nullif not set
-
setExtendBaseClass
Set the extend Base Class.A fully qualified Java class name that the generated class should extend.
- Parameters:
value- the extend-base-class value to set, ornullto clear
-
getCollectionClass
Get the collection Class.A fully qualified Java collection class name to use instead of the default.
- Returns:
- the collection-class value, or
nullif not set
-
setCollectionClass
Set the collection Class.A fully qualified Java collection class name to use instead of the default.
- Parameters:
value- the collection-class value to set, ornullto clear
-
toString
-