Package dev.metaschema.oscal.lib.model
Class PoamItem.AssociatedRisk
java.lang.Object
dev.metaschema.oscal.lib.model.PoamItem.AssociatedRisk
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
- Enclosing class:
- PoamItem
@MetaschemaAssembly(formalName="Associated Risk",
description="Relates the finding to a set of referenced risks that were used to determine the finding.",
name="associated-risk",
moduleClass=OscalPoamModule.class)
public static class PoamItem.AssociatedRisk
extends Object
implements dev.metaschema.core.model.IBoundObject
Relates the finding to a set of referenced risks that were used to determine the finding.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.PoamItem.AssociatedRiskinstance with no metadata.AssociatedRisk(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.PoamItem.AssociatedRiskinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptiondev.metaschema.core.model.IMetaschemaDataGet the "Risk Universally Unique Identifier Reference".voidsetRiskUuid(UUID value) Set the "Risk Universally Unique Identifier Reference".toString()
-
Constructor Details
-
AssociatedRisk
public AssociatedRisk()Constructs a newdev.metaschema.oscal.lib.model.PoamItem.AssociatedRiskinstance with no metadata. -
AssociatedRisk
Constructs a newdev.metaschema.oscal.lib.model.PoamItem.AssociatedRiskinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getRiskUuid
Get the "Risk Universally Unique Identifier Reference".A machine-oriented identifier reference to a risk defined in the list of risks.
- Returns:
- the risk-uuid value
-
setRiskUuid
Set the "Risk Universally Unique Identifier Reference".A machine-oriented identifier reference to a risk defined in the list of risks.
- Parameters:
value- the risk-uuid value to set
-
toString
-