Package dev.metaschema.oscal.lib.model
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 -
Method Summary
Modifier and TypeMethodDescriptionGet the "Constraint test".dev.metaschema.core.model.IMetaschemaDatadev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".voidsetExpression(String value) Set the "Constraint test".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".toString()
-
Constructor Details
-
Test
public Test()Constructs a newdev.metaschema.oscal.lib.model.ParameterConstraint.Testinstance with no metadata. -
Test
Constructs a newdev.metaschema.oscal.lib.model.ParameterConstraint.Testinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getExpression
Get the "Constraint test".A formal (executable) expression of a constraint.
- Returns:
- the expression value
-
setExpression
Set the "Constraint test".A formal (executable) expression of a constraint.
- Parameters:
value- the expression value to set
-
getRemarks
Get the "Remarks".Additional commentary about the containing object.
- Returns:
- the remarks value, or
nullif not set
-
setRemarks
Set the "Remarks".Additional commentary about the containing object.
- Parameters:
value- the remarks value to set, ornullto clear
-
toString
-