Package gov.nist.secauto.oscal.lib.model
Class Result
java.lang.Object
gov.nist.secauto.oscal.lib.model.Result
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Assessment Result",
description="Used by the assessment results and POA\\&M. In the assessment results, this identifies all of the assessment observations and findings, initial and residual risks, deviations, and disposition. In the POA\\&M, this identifies initial and residual risks, deviations, and disposition.",
name="result",
moduleClass=OscalArModule.class)
public class Result
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Used by the assessment results and POA&M. In the assessment results, this identifies all of the assessment observations and findings, initial and residual risks, deviations, and disposition. In the POA&M, this identifies initial and residual risks, deviations, and disposition.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A log of all assessment-related actions taken.static class
A set of textual statements, typically written by the assessor.static class
Used to define data objects that are used in the assessment plan, that do not appear in the referenced SSP. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newResult.Attestation
item to the underlying collection.boolean
addFinding
(Finding item) Add a newFinding
item to the underlying collection.boolean
Add a newLink
item to the underlying collection.boolean
addObservation
(Observation item) Add a newObservation
item to the underlying collection.boolean
Add a newProperty
item to the underlying collection.boolean
Add a newRisk
item to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline
getEnd()
getLinks()
gov.nist.secauto.metaschema.core.model.IMetaschemaData
getProps()
gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline
getRisks()
getStart()
gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine
getTitle()
getUuid()
boolean
Remove the first matchingResult.Attestation
item from the underlying collection.boolean
removeFinding
(Finding item) Remove the first matchingFinding
item from the underlying collection.boolean
removeLink
(Link item) Remove the first matchingLink
item from the underlying collection.boolean
removeObservation
(Observation item) Remove the first matchingObservation
item from the underlying collection.boolean
removeProp
(Property item) Remove the first matchingProperty
item from the underlying collection.boolean
removeRisk
(Risk item) Remove the first matchingRisk
item from the underlying collection.void
void
setAttestations
(List<Result.Attestation> value) void
setDescription
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) void
setEnd
(ZonedDateTime value) void
setFindings
(List<Finding> value) void
void
void
setObservations
(List<Observation> value) void
void
setRemarks
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) void
void
void
setStart
(ZonedDateTime value) void
setTitle
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value) void
toString()
-
Constructor Details
-
Result
public Result() -
Result
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getUuid
-
setUuid
-
getTitle
-
setTitle
-
getDescription
-
setDescription
-
getStart
-
setStart
-
getEnd
-
setEnd
-
getProps
-
setProps
-
addProp
Add a newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getLinks
-
setLinks
-
addLink
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
Remove the first matchingLink
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getLocalDefinitions
-
setLocalDefinitions
-
getReviewedControls
-
setReviewedControls
-
getAttestations
-
setAttestations
-
addAttestation
Add a newResult.Attestation
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeAttestation
Remove the first matchingResult.Attestation
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getAssessmentLog
-
setAssessmentLog
-
getObservations
-
setObservations
-
addObservation
Add a newObservation
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeObservation
Remove the first matchingObservation
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getRisks
-
setRisks
-
addRisk
Add a newRisk
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeRisk
Remove the first matchingRisk
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getFindings
-
setFindings
-
addFinding
Add a newFinding
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeFinding
Remove the first matchingFinding
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getRemarks
-
setRemarks
-
toString
-