Package gov.nist.secauto.oscal.lib.model
Class AssessmentAssets
java.lang.Object
gov.nist.secauto.oscal.lib.model.AssessmentAssets
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Assessment Assets",
description="Identifies the assets used to perform this assessment, such as the assessment team, scanning tools, and assumptions.",
name="assessment-assets",
moduleClass=OscalAssessmentCommonModule.class,
modelConstraints=@AssemblyConstraints(unique=@IsUnique(id="unique-ssp-assessment-assets-component",level=ERROR,target="component",keyFields=@KeyField(target="@uuid"),remarks="Since multiple assessment `component` entries can be provided, each component must have a unique `uuid`.")))
public class AssessmentAssets
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Identifies the assets used to perform this assessment, such as the assessment team, scanning tools, and assumptions.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Used to represent the toolset used to perform aspects of the assessment. -
Constructor Summary
ConstructorDescriptionAssessmentAssets
(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newAssessmentAssets.AssessmentPlatform
item to the underlying collection.boolean
addComponent
(SystemComponent item) Add a newSystemComponent
item to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaData
boolean
Remove the first matchingAssessmentAssets.AssessmentPlatform
item from the underlying collection.boolean
Remove the first matchingSystemComponent
item from the underlying collection.void
void
setComponents
(List<SystemComponent> value) toString()
-
Constructor Details
-
AssessmentAssets
public AssessmentAssets() -
AssessmentAssets
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getComponents
-
setComponents
-
addComponent
Add a newSystemComponent
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeComponent
Remove the first matchingSystemComponent
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getAssessmentPlatforms
-
setAssessmentPlatforms
-
addAssessmentPlatform
Add a newAssessmentAssets.AssessmentPlatform
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeAssessmentPlatform
Remove the first matchingAssessmentAssets.AssessmentPlatform
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-