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
Nested ClassesModifier and TypeClassDescriptionstatic classUsed to represent the toolset used to perform aspects of the assessment. -
Constructor Summary
ConstructorsConstructorDescriptionAssessmentAssets(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newAssessmentAssets.AssessmentPlatformitem to the underlying collection.booleanaddComponent(SystemComponent item) Add a newSystemComponentitem to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaDatabooleanRemove the first matchingAssessmentAssets.AssessmentPlatformitem from the underlying collection.booleanRemove the first matchingSystemComponentitem from the underlying collection.voidvoidsetComponents(List<SystemComponent> value) toString()
-
Constructor Details
-
AssessmentAssets
public AssessmentAssets() -
AssessmentAssets
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getComponents
-
setComponents
-
addComponent
Add a newSystemComponentitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeComponent
Remove the first matchingSystemComponentitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getAssessmentPlatforms
-
setAssessmentPlatforms
-
addAssessmentPlatform
Add a newAssessmentAssets.AssessmentPlatformitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeAssessmentPlatform
Remove the first matchingAssessmentAssets.AssessmentPlatformitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
toString
-