Class AssessmentResults
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject,IOscalInstance
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classUsed to define data objects that are used in the assessment plan, that do not appear in the referenced SSP. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.AssessmentResultsinstance with no metadata.AssessmentResults(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.AssessmentResultsinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newResultitem to the underlying collection.Get the "Back matter".Get the "Import Assessment Plan".Get the "Local Definitions".Get the "Document Metadata".dev.metaschema.core.model.IMetaschemaDataGet the "Assessment Result".getUuid()Get the "Assessment Results Universally Unique Identifier".booleanremoveResult(Result item) Remove the first matchingResultitem from the underlying collection.voidsetBackMatter(BackMatter value) Set the "Back matter".voidsetImportAp(ImportAp value) Set the "Import Assessment Plan".voidSet the "Local Definitions".voidsetMetadata(Metadata value) Set the "Document Metadata".voidsetResults(List<Result> value) Set the "Assessment Result".voidSet the "Assessment Results Universally Unique Identifier".toString()Methods inherited from class dev.metaschema.oscal.lib.model.AbstractOscalInstance
getResourceByUuid
-
Constructor Details
-
AssessmentResults
public AssessmentResults()Constructs a newdev.metaschema.oscal.lib.model.AssessmentResultsinstance with no metadata. -
AssessmentResults
Constructs a newdev.metaschema.oscal.lib.model.AssessmentResultsinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getUuid
Get the "Assessment Results Universally Unique Identifier".A machine-oriented, globally unique identifier with cross-instance scope that can be used to reference this assessment results instance in this or other OSCAL instances. The locally defined UUID of the
assessment resultcan be used to reference the data item locally or globally (e.g., in an imported OSCAL instance). This UUID should be assigned per-subject, which means it should be consistently used to identify the same subject across revisions of the document.- Specified by:
getUuidin interfaceIOscalInstance- Returns:
- the uuid value
-
setUuid
Set the "Assessment Results Universally Unique Identifier".A machine-oriented, globally unique identifier with cross-instance scope that can be used to reference this assessment results instance in this or other OSCAL instances. The locally defined UUID of the
assessment resultcan be used to reference the data item locally or globally (e.g., in an imported OSCAL instance). This UUID should be assigned per-subject, which means it should be consistently used to identify the same subject across revisions of the document.- Parameters:
value- the uuid value to set
-
getMetadata
Get the "Document Metadata".Provides information about the containing document, and defines concepts that are shared across the document.
- Specified by:
getMetadatain interfaceIOscalInstance- Returns:
- the metadata value
-
setMetadata
Set the "Document Metadata".Provides information about the containing document, and defines concepts that are shared across the document.
- Parameters:
value- the metadata value to set
-
getImportAp
Get the "Import Assessment Plan".Used by assessment-results to import information about the original plan for assessing the system.
- Returns:
- the import-ap value
-
setImportAp
Set the "Import Assessment Plan".Used by assessment-results to import information about the original plan for assessing the system.
- Parameters:
value- the import-ap value to set
-
getLocalDefinitions
Get the "Local Definitions".Used to define data objects that are used in the assessment plan, that do not appear in the referenced SSP.
- Returns:
- the local-definitions value, or
nullif not set
-
setLocalDefinitions
Set the "Local Definitions".Used to define data objects that are used in the assessment plan, that do not appear in the referenced SSP.
- Parameters:
value- the local-definitions value to set, ornullto clear
-
getResults
Get the "Assessment Result".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.
- Returns:
- the result value
-
setResults
Set the "Assessment Result".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.
- Parameters:
value- the result value to set
-
addResult
Add a newResultitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeResult
Remove the first matchingResultitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getBackMatter
Get the "Back matter".A collection of resources that may be referenced from within the OSCAL document instance.
- Specified by:
getBackMatterin interfaceIOscalInstance- Returns:
- the back-matter value, or
nullif not set
-
setBackMatter
Set the "Back matter".A collection of resources that may be referenced from within the OSCAL document instance.
- Parameters:
value- the back-matter value to set, ornullto clear
-
toString
-