Class MetaschemaModuleConstraints.Scope

java.lang.Object
dev.metaschema.databind.model.metaschema.binding.MetaschemaModuleConstraints.Scope
All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
Enclosing class:
MetaschemaModuleConstraints

@MetaschemaAssembly(name="scope", moduleClass=MetaschemaModelModule.class) public static class MetaschemaModuleConstraints.Scope extends Object implements dev.metaschema.core.model.IBoundObject
A binding class for the scope definition.
  • Constructor Details

    • Scope

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

      public Scope(dev.metaschema.core.model.IMetaschemaData data)
      Constructs a new dev.metaschema.databind.model.metaschema.binding.MetaschemaModuleConstraints.Scope instance with the specified metadata.
      Parameters:
      data - the metaschema data, or null if none
  • Method Details

    • getMetaschemaData

      public dev.metaschema.core.model.IMetaschemaData getMetaschemaData()
      Specified by:
      getMetaschemaData in interface dev.metaschema.core.model.IBoundObject
    • getMetaschemaNamespace

      @NonNull public URI getMetaschemaNamespace()
      Get the metaschema-namespace property.
      Returns:
      the metaschema-namespace value
    • setMetaschemaNamespace

      public void setMetaschemaNamespace(@NonNull URI value)
      Set the metaschema-namespace property.
      Parameters:
      value - the metaschema-namespace value to set
    • getMetaschemaShortName

      @NonNull public String getMetaschemaShortName()
      Get the metaschema-short-name property.
      Returns:
      the metaschema-short-name value
    • setMetaschemaShortName

      public void setMetaschemaShortName(@NonNull String value)
      Set the metaschema-short-name property.
      Parameters:
      value - the metaschema-short-name value to set
    • getConstraints

      @NonNull public List<? extends IValueConstraintsBase> getConstraints()
      Get the constraints choice group items.

      Items in this collection implement IValueConstraintsBase.

      Returns:
      the constraints items
    • setConstraints

      public void setConstraints(@NonNull List<? extends IValueConstraintsBase> value)
      Set the constraints choice group items.

      Items in this collection must implement IValueConstraintsBase.

      Parameters:
      value - the constraints items to set
    • getMessage

      @Nullable public String getMessage()
      Get the constraint Condition Violation Message.
      Returns:
      the message value, or null if not set
    • setMessage

      public void setMessage(@Nullable String value)
      Set the constraint Condition Violation Message.
      Parameters:
      value - the message value to set, or null to clear
    • 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