Class MetaschemaMetaConstraints.DefinitionContext

java.lang.Object
dev.metaschema.databind.model.metaschema.binding.MetaschemaMetaConstraints.DefinitionContext
All Implemented Interfaces:
IBoundObject
Enclosing class:
MetaschemaMetaConstraints

@MetaschemaAssembly(name="definition-context", moduleClass=MetaschemaModelModule.class) public static class MetaschemaMetaConstraints.DefinitionContext extends Object implements IBoundObject
A binding class for the definition-context definition.
  • Constructor Details

    • DefinitionContext

      public DefinitionContext()
      Constructs a new dev.metaschema.databind.model.metaschema.binding.MetaschemaMetaConstraints.DefinitionContext instance with no metadata.
    • DefinitionContext

      public DefinitionContext(IMetaschemaData data)
      Constructs a new dev.metaschema.databind.model.metaschema.binding.MetaschemaMetaConstraints.DefinitionContext 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
    • getName

      @NonNull public String getName()
      Get the name property.
      Returns:
      the name value
    • setName

      public void setName(@NonNull String value)
      Set the name property.
      Parameters:
      value - the name value to set
    • getNamespace

      @NonNull public URI getNamespace()
      Get the namespace property.
      Returns:
      the namespace value
    • setNamespace

      public void setNamespace(@NonNull URI value)
      Set the namespace property.
      Parameters:
      value - the namespace value to set
    • getConstraints

      @NonNull public AssemblyConstraints getConstraints()
      Get the constraints property.
      Returns:
      the constraints value
    • setConstraints

      public void setConstraints(@NonNull AssemblyConstraints value)
      Set the constraints property.
      Parameters:
      value - the constraints value to set
    • getRemarks

      @Nullable public Remarks getRemarks()
      Get the remarks.

      Any explanatory or helpful information to be provided about the remarks parent.

      Returns:
      the remarks value, or null if not set
    • setRemarks

      public void setRemarks(@Nullable Remarks value)
      Set the remarks.

      Any explanatory or helpful information to be provided about the remarks parent.

      Parameters:
      value - the remarks value to set, or null to clear
    • toString

      public String toString()
      Overrides:
      toString in class Object