Package gov.nist.secauto.oscal.lib.model
Class AssessmentResults
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.AssessmentResults
-
@MetaschemaAssembly(formalName="Security Assessment Results (SAR)", description="Security assessment results, such as those provided by a FedRAMP assessor in the FedRAMP Security Assessment Report.", name="assessment-results", metaschema=OscalArMetaschema.class, rootName="assessment-results") public class AssessmentResults extends Object
Security assessment results, such as those provided by a FedRAMP assessor in the FedRAMP Security Assessment Report.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AssessmentResults.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 AssessmentResults()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addResult(Result item)
Add a newResult
item to the underlying collection.BackMatter
getBackMatter()
ImportAp
getImportAp()
AssessmentResults.LocalDefinitions
getLocalDefinitions()
Metadata
getMetadata()
List<Result>
getResults()
UUID
getUuid()
boolean
removeResult(Result item)
Remove the first matchingResult
item from the underlying collection.void
setBackMatter(BackMatter value)
void
setImportAp(ImportAp value)
void
setLocalDefinitions(AssessmentResults.LocalDefinitions value)
void
setMetadata(Metadata value)
void
setResults(List<Result> value)
void
setUuid(UUID value)
String
toString()
-
-
-
Constructor Detail
-
AssessmentResults
public AssessmentResults()
-
-
Method Detail
-
getMetadata
public Metadata getMetadata()
-
setMetadata
public void setMetadata(Metadata value)
-
getImportAp
public ImportAp getImportAp()
-
setImportAp
public void setImportAp(ImportAp value)
-
getLocalDefinitions
public AssessmentResults.LocalDefinitions getLocalDefinitions()
-
setLocalDefinitions
public void setLocalDefinitions(AssessmentResults.LocalDefinitions value)
-
getResults
public List<Result> getResults()
-
setResults
public void setResults(List<Result> value)
-
addResult
public boolean addResult(Result item)
Add a newResult
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeResult
public boolean removeResult(Result item)
Remove the first matchingResult
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getBackMatter
public BackMatter getBackMatter()
-
setBackMatter
public void setBackMatter(BackMatter value)
-
-