Package gov.nist.secauto.oscal.lib.model
Class AssessmentAssets.AssessmentPlatform.UsesComponent
java.lang.Object
gov.nist.secauto.oscal.lib.model.AssessmentAssets.AssessmentPlatform.UsesComponent
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
- Enclosing class:
- AssessmentAssets.AssessmentPlatform
@MetaschemaAssembly(formalName="Uses Component",
description="The set of components that are used by the assessment platform.",
name="uses-component",
moduleClass=OscalAssessmentCommonModule.class,
modelConstraints=@AssemblyConstraints(unique=@IsUnique(id="unique-ssp-uses-component-responsible-party",level=ERROR,target="responsible-party",keyFields=@KeyField(target="@role-id"),remarks="Since `responsible-party` associates multiple `party-uuid` entries with a single `role-id`, each role-id must be referenced only once.")))
public static class AssessmentAssets.AssessmentPlatform.UsesComponent
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
The set of components that are used by the assessment platform.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newLink
item to the underlying collection.boolean
Add a newProperty
item to the underlying collection.boolean
Add a newResponsibleParty
item to the underlying collection.getLinks()
gov.nist.secauto.metaschema.core.model.IMetaschemaData
getProps()
gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline
boolean
removeLink
(Link item) Remove the first matchingLink
item from the underlying collection.boolean
removeProp
(Property item) Remove the first matchingProperty
item from the underlying collection.boolean
Remove the first matchingResponsibleParty
item from the underlying collection.void
setComponentUuid
(UUID value) void
void
void
setRemarks
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) void
toString()
-
Constructor Details
-
UsesComponent
public UsesComponent() -
UsesComponent
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getComponentUuid
-
setComponentUuid
-
getProps
-
setProps
-
addProp
Add a newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getLinks
-
setLinks
-
addLink
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
Remove the first matchingLink
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getResponsibleParties
-
setResponsibleParties
-
addResponsibleParty
Add a newResponsibleParty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeResponsibleParty
Remove the first matchingResponsibleParty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getRemarks
-
setRemarks
-
toString
-