java.lang.Object
dev.metaschema.model.testing.testsuite.Metaschema
All Implemented Interfaces:
IBoundObject

@MetaschemaAssembly(formalName="Metaschema", description="Reference to a metaschema module to load.", name="metaschema", moduleClass=MetaschemaTestSuiteModule.class) public class Metaschema extends Object implements IBoundObject
Reference to a metaschema module to load.
  • Constructor Details

    • Metaschema

      public Metaschema()
      Constructs a new dev.metaschema.model.testing.testsuite.Metaschema instance with no metadata.
    • Metaschema

      public Metaschema(IMetaschemaData data)
      Constructs a new dev.metaschema.model.testing.testsuite.Metaschema 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
    • getLocation

      @NonNull public URI getLocation()
      Get the location.

      A URI reference to the metaschema module location.

      Returns:
      the location value
    • setLocation

      public void setLocation(@NonNull URI value)
      Set the location.

      A URI reference to the metaschema module location.

      Parameters:
      value - the location value to set
    • toString

      public String toString()
      Overrides:
      toString in class Object