Package gov.nist.secauto.oscal.lib.model
Class Risk.RiskLog
java.lang.Object
gov.nist.secauto.oscal.lib.model.Risk.RiskLog
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
- Enclosing class:
- Risk
@MetaschemaAssembly(formalName="Risk Log",
description="A log of all risk-related tasks taken.",
name="risk-log",
moduleClass=OscalAssessmentCommonModule.class)
public static class Risk.RiskLog
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
A log of all risk-related tasks taken.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classIdentifies an individual risk response that occurred as part of managing an identified risk. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddEntry(Risk.RiskLog.Entry item) Add a newRisk.RiskLog.Entryitem to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaDatabooleanRemove the first matchingRisk.RiskLog.Entryitem from the underlying collection.voidsetEntries(List<Risk.RiskLog.Entry> value) toString()
-
Constructor Details
-
RiskLog
public RiskLog() -
RiskLog
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getEntries
-
setEntries
-
addEntry
Add a newRisk.RiskLog.Entryitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeEntry
Remove the first matchingRisk.RiskLog.Entryitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
toString
-