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 Object
Identifies 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 class
AssessmentAssets.AssessmentPlatform
Used 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 boolean
addAssessmentPlatform(AssessmentAssets.AssessmentPlatform item)
Add a newAssessmentAssets.AssessmentPlatform
item to the underlying collection.boolean
addComponent(SystemComponent item)
Add a newSystemComponent
item to the underlying collection.List<AssessmentAssets.AssessmentPlatform>
getAssessmentPlatforms()
List<SystemComponent>
getComponents()
boolean
removeAssessmentPlatform(AssessmentAssets.AssessmentPlatform item)
Remove the first matchingAssessmentAssets.AssessmentPlatform
item from the underlying collection.boolean
removeComponent(SystemComponent item)
Remove the first matchingSystemComponent
item from the underlying collection.void
setAssessmentPlatforms(List<AssessmentAssets.AssessmentPlatform> value)
void
setComponents(List<SystemComponent> value)
String
toString()
-
-
-
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 newSystemComponent
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeComponent
public boolean removeComponent(SystemComponent item)
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
public List<AssessmentAssets.AssessmentPlatform> getAssessmentPlatforms()
-
setAssessmentPlatforms
public void setAssessmentPlatforms(List<AssessmentAssets.AssessmentPlatform> value)
-
addAssessmentPlatform
public boolean addAssessmentPlatform(AssessmentAssets.AssessmentPlatform item)
Add a newAssessmentAssets.AssessmentPlatform
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeAssessmentPlatform
public boolean removeAssessmentPlatform(AssessmentAssets.AssessmentPlatform item)
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
-
-