Class MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.Java

java.lang.Object
dev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.Java
All Implemented Interfaces:
IBoundObject
Enclosing class:
MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding

@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.DefineAssemblyBinding.Java extends Object implements IBoundObject
Field and assembly binding configurations for Java bound classes.
  • Constructor Details

    • Java

      public Java()
      Constructs a new dev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.Java instance with no metadata.
    • Java

      public Java(IMetaschemaData data)
      Constructs a new dev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.Java instance with the specified metadata.
      Parameters:
      data - the metaschema data, or null if none
  • Method Details

    • getMetaschemaData

      public IMetaschemaData getMetaschemaData()
      Description copied from interface: IBoundObject
      Get additional Metaschema-related information for the object (i.e., resource location).
      Specified by:
      getMetaschemaData in interface IBoundObject
      Returns:
      the Metaschema-related information
    • getUseClassName

      @Nullable public String getUseClassName()
      Get the use Class Name.

      The Java class name to use for the generated class.

      Returns:
      the use-class-name value, or null if not set
    • setUseClassName

      public void setUseClassName(@Nullable String value)
      Set the use Class Name.

      The Java class name to use for the generated class.

      Parameters:
      value - the use-class-name value to set, or null to clear
    • getImplementInterfaces

      @NonNull public List<String> getImplementInterfaces()
      Get the implement Interface.

      A fully qualified Java interface name that the generated class should implement.

      Returns:
      the implement-interface value
    • setImplementInterfaces

      public void setImplementInterfaces(@NonNull List<String> value)
      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

      public boolean addImplementInterface(String item)
      Add a new String item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removeImplementInterface

      public boolean removeImplementInterface(String item)
      Remove the first matching String item from the underlying collection.
      Parameters:
      item - the item to remove
      Returns:
      true if the item was removed or false otherwise
    • getExtendBaseClass

      @Nullable public String 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 null if not set
    • setExtendBaseClass

      public void setExtendBaseClass(@Nullable String value)
      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, or null to clear
    • getCollectionClass

      @Nullable public String getCollectionClass()
      Get the collection Class.

      A fully qualified Java collection class name to use instead of the default.

      Returns:
      the collection-class value, or null if not set
    • setCollectionClass

      public void setCollectionClass(@Nullable String value)
      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, or null to clear
    • toString

      public String toString()
      Overrides:
      toString in class Object