Package com.example.metaschema
Class TargetedReportConstraint
java.lang.Object
com.example.metaschema.TargetedReportConstraint
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Report Condition Constraint",
name="targeted-report-constraint",
moduleClass=MetaschemaModelModule.class)
public class TargetedReportConstraint
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
-
Constructor Summary
ConstructorsConstructorDescriptionTargetedReportConstraint(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newPropertyitem to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupLinegetId()getLevel()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetProps()getTest()booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.voidsetDescription(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value) voidsetFormalName(String value) voidvoidvoidsetMessage(String value) voidvoidsetRemarks(Remarks value) voidvoidtoString()
-
Constructor Details
-
TargetedReportConstraint
public TargetedReportConstraint() -
TargetedReportConstraint
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getId
-
setId
-
getLevel
-
setLevel
-
getTest
-
setTest
-
getTarget
-
setTarget
-
getFormalName
-
setFormalName
-
getDescription
-
setDescription
-
getProps
-
setProps
-
addProp
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getMessage
-
setMessage
-
getRemarks
-
setRemarks
-
toString
-