Class ParameterConstraint.Test

java.lang.Object
dev.metaschema.oscal.lib.model.ParameterConstraint.Test
All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
Enclosing class:
ParameterConstraint

@MetaschemaAssembly(formalName="Constraint Test", description="A test expression which is expected to be evaluated by a tool.", name="test", moduleClass=OscalControlCommonModule.class) public static class ParameterConstraint.Test extends Object implements dev.metaschema.core.model.IBoundObject
A test expression which is expected to be evaluated by a tool.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a new dev.metaschema.oscal.lib.model.ParameterConstraint.Test instance with no metadata.
    Test(dev.metaschema.core.model.IMetaschemaData data)
    Constructs a new dev.metaschema.oscal.lib.model.ParameterConstraint.Test instance with the specified metadata.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the "Constraint test".
    dev.metaschema.core.model.IMetaschemaData
     
    dev.metaschema.core.datatype.markup.MarkupMultiline
    Get the "Remarks".
    void
    Set the "Constraint test".
    void
    setRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value)
    Set the "Remarks".
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Test

      public Test()
      Constructs a new dev.metaschema.oscal.lib.model.ParameterConstraint.Test instance with no metadata.
    • Test

      public Test(dev.metaschema.core.model.IMetaschemaData data)
      Constructs a new dev.metaschema.oscal.lib.model.ParameterConstraint.Test 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
    • getExpression

      @NonNull public String getExpression()
      Get the "Constraint test".

      A formal (executable) expression of a constraint.

      Returns:
      the expression value
    • setExpression

      public void setExpression(@NonNull String value)
      Set the "Constraint test".

      A formal (executable) expression of a constraint.

      Parameters:
      value - the expression value to set
    • getRemarks

      @Nullable public dev.metaschema.core.datatype.markup.MarkupMultiline getRemarks()
      Get the "Remarks".

      Additional commentary about the containing object.

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

      public void setRemarks(@Nullable dev.metaschema.core.datatype.markup.MarkupMultiline value)
      Set the "Remarks".

      Additional commentary about the containing object.

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

      public String toString()
      Overrides:
      toString in class Object