Package gov.nist.secauto.oscal.lib.model
Class Result
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.Result
-
@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", metaschema=OscalArMetaschema.class) public class Result extends Object
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
Nested Classes Modifier and Type Class Description static class
Result.AssessmentLog
A log of all assessment-related actions taken.static class
Result.Attestation
A set of textual statements, typically written by the assessor.static class
Result.LocalDefinitions
Used to define data objects that are used in the assessment plan, that do not appear in the referenced SSP.
-
Constructor Summary
Constructors Constructor Description Result()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addAttestation(Result.Attestation item)
Add a newResult.Attestation
item to the underlying collection.boolean
addFinding(Finding item)
Add a newFinding
item to the underlying collection.boolean
addLink(Link item)
Add a newLink
item to the underlying collection.boolean
addObservation(Observation item)
Add a newObservation
item to the underlying collection.boolean
addProp(Property item)
Add a newProperty
item to the underlying collection.boolean
addRisk(Risk item)
Add a newRisk
item to the underlying collection.Result.AssessmentLog
getAssessmentLog()
List<Result.Attestation>
getAttestations()
gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline
getDescription()
ZonedDateTime
getEnd()
List<Finding>
getFindings()
List<Link>
getLinks()
Result.LocalDefinitions
getLocalDefinitions()
List<Observation>
getObservations()
List<Property>
getProps()
gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline
getRemarks()
ReviewedControls
getReviewedControls()
List<Risk>
getRisks()
ZonedDateTime
getStart()
gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine
getTitle()
UUID
getUuid()
boolean
removeAttestation(Result.Attestation item)
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
setAssessmentLog(Result.AssessmentLog value)
void
setAttestations(List<Result.Attestation> value)
void
setDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
void
setEnd(ZonedDateTime value)
void
setFindings(List<Finding> value)
void
setLinks(List<Link> value)
void
setLocalDefinitions(Result.LocalDefinitions value)
void
setObservations(List<Observation> value)
void
setProps(List<Property> value)
void
setRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
void
setReviewedControls(ReviewedControls value)
void
setRisks(List<Risk> value)
void
setStart(ZonedDateTime value)
void
setTitle(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine value)
void
setUuid(UUID value)
String
toString()
-
-
-
Constructor Detail
-
Result
public Result()
-
-
Method Detail
-
getTitle
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine getTitle()
-
setTitle
public void setTitle(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine value)
-
getDescription
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getDescription()
-
setDescription
public void setDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
-
getStart
public ZonedDateTime getStart()
-
setStart
public void setStart(ZonedDateTime value)
-
getEnd
public ZonedDateTime getEnd()
-
setEnd
public void setEnd(ZonedDateTime value)
-
addProp
public boolean addProp(Property item)
Add a newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
addLink
public boolean addLink(Link item)
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
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
public Result.LocalDefinitions getLocalDefinitions()
-
setLocalDefinitions
public void setLocalDefinitions(Result.LocalDefinitions value)
-
getReviewedControls
public ReviewedControls getReviewedControls()
-
setReviewedControls
public void setReviewedControls(ReviewedControls value)
-
getAttestations
public List<Result.Attestation> getAttestations()
-
setAttestations
public void setAttestations(List<Result.Attestation> value)
-
addAttestation
public boolean addAttestation(Result.Attestation item)
Add a newResult.Attestation
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeAttestation
public boolean removeAttestation(Result.Attestation item)
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
public Result.AssessmentLog getAssessmentLog()
-
setAssessmentLog
public void setAssessmentLog(Result.AssessmentLog value)
-
getObservations
public List<Observation> getObservations()
-
setObservations
public void setObservations(List<Observation> value)
-
addObservation
public boolean addObservation(Observation item)
Add a newObservation
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeObservation
public boolean removeObservation(Observation item)
Remove the first matchingObservation
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
addRisk
public boolean addRisk(Risk item)
Add a newRisk
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeRisk
public boolean removeRisk(Risk item)
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
public List<Finding> getFindings()
-
setFindings
public void setFindings(List<Finding> value)
-
addFinding
public boolean addFinding(Finding item)
Add a newFinding
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeFinding
public boolean removeFinding(Finding item)
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
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getRemarks()
-
setRemarks
public void setRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
-
-