Package dev.metaschema.oscal.lib.model
Class Result.AssessmentLog
java.lang.Object
dev.metaschema.oscal.lib.model.Result.AssessmentLog
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
- Enclosing class:
- Result
@MetaschemaAssembly(formalName="Assessment Log",
description="A log of all assessment-related actions taken.",
name="assessment-log",
moduleClass=OscalArModule.class)
public static class Result.AssessmentLog
extends Object
implements dev.metaschema.core.model.IBoundObject
A log of all assessment-related actions taken.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classIdentifies the result of an action and/or task that occurred as part of executing an assessment plan or an assessment event that occurred in producing the assessment results. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.Result.AssessmentLoginstance with no metadata.AssessmentLog(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.Result.AssessmentLoginstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newResult.AssessmentLog.Entryitem to the underlying collection.Get the "Assessment Log Entry".dev.metaschema.core.model.IMetaschemaDatabooleanRemove the first matchingResult.AssessmentLog.Entryitem from the underlying collection.voidsetEntries(List<Result.AssessmentLog.Entry> value) Set the "Assessment Log Entry".toString()
-
Constructor Details
-
AssessmentLog
public AssessmentLog()Constructs a newdev.metaschema.oscal.lib.model.Result.AssessmentLoginstance with no metadata. -
AssessmentLog
Constructs a newdev.metaschema.oscal.lib.model.Result.AssessmentLoginstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getEntries
Get the "Assessment Log Entry".Identifies the result of an action and/or task that occurred as part of executing an assessment plan or an assessment event that occurred in producing the assessment results.
- Returns:
- the entry value
-
setEntries
Set the "Assessment Log Entry".Identifies the result of an action and/or task that occurred as part of executing an assessment plan or an assessment event that occurred in producing the assessment results.
- Parameters:
value- the entry value to set
-
addEntry
Add a newResult.AssessmentLog.Entryitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeEntry
Remove the first matchingResult.AssessmentLog.Entryitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
toString
-