Package gov.nist.secauto.oscal.lib.model
Class AssessmentAssets
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.AssessmentAssets
-
@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", metaschema=OscalAssessmentCommonMetaschema.class) @AssemblyConstraints(isUnique=@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 ObjectIdentifies the assets used to perform this assessment, such as the assessment team, scanning tools, and assumptions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAssessmentAssets.AssessmentPlatformUsed to represent the toolset used to perform aspects of the assessment.
-
Constructor Summary
Constructors Constructor Description AssessmentAssets()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddAssessmentPlatform(AssessmentAssets.AssessmentPlatform item)Add a newAssessmentAssets.AssessmentPlatformitem to the underlying collection.booleanaddComponent(SystemComponent item)Add a newSystemComponentitem to the underlying collection.List<AssessmentAssets.AssessmentPlatform>getAssessmentPlatforms()List<SystemComponent>getComponents()booleanremoveAssessmentPlatform(AssessmentAssets.AssessmentPlatform item)Remove the first matchingAssessmentAssets.AssessmentPlatformitem from the underlying collection.booleanremoveComponent(SystemComponent item)Remove the first matchingSystemComponentitem from the underlying collection.voidsetAssessmentPlatforms(List<AssessmentAssets.AssessmentPlatform> value)voidsetComponents(List<SystemComponent> value)StringtoString()
-
-
-
Constructor Detail
-
AssessmentAssets
public AssessmentAssets()
-
-
Method Detail
-
getComponents
public List<SystemComponent> getComponents()
-
setComponents
public void setComponents(List<SystemComponent> value)
-
addComponent
public boolean addComponent(SystemComponent item)
Add a newSystemComponentitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeComponent
public boolean removeComponent(SystemComponent item)
Remove the first matchingSystemComponentitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getAssessmentPlatforms
public List<AssessmentAssets.AssessmentPlatform> getAssessmentPlatforms()
-
setAssessmentPlatforms
public void setAssessmentPlatforms(List<AssessmentAssets.AssessmentPlatform> value)
-
addAssessmentPlatform
public boolean addAssessmentPlatform(AssessmentAssets.AssessmentPlatform item)
Add a newAssessmentAssets.AssessmentPlatformitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeAssessmentPlatform
public boolean removeAssessmentPlatform(AssessmentAssets.AssessmentPlatform item)
Remove the first matchingAssessmentAssets.AssessmentPlatformitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
-