Package gov.nist.secauto.oscal.lib.model
Class AssessmentAssets.AssessmentPlatform.UsesComponent
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.AssessmentAssets.AssessmentPlatform.UsesComponent
-
- Enclosing class:
- AssessmentAssets.AssessmentPlatform
@MetaschemaAssembly(formalName="Uses Component", description="The set of components that are used by the assessment platform.", name="uses-component", metaschema=OscalAssessmentCommonMetaschema.class) @AssemblyConstraints(isUnique=@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
The set of components that are used by the assessment platform.
-
-
Constructor Summary
Constructors Constructor Description UsesComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addLink(Link item)
Add a newLink
item to the underlying collection.boolean
addProp(Property item)
Add a newProperty
item to the underlying collection.boolean
addResponsibleParty(ResponsibleParty item)
Add a newResponsibleParty
item to the underlying collection.UUID
getComponentUuid()
List<Link>
getLinks()
List<Property>
getProps()
gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline
getRemarks()
List<ResponsibleParty>
getResponsibleParties()
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
removeResponsibleParty(ResponsibleParty item)
Remove the first matchingResponsibleParty
item from the underlying collection.void
setComponentUuid(UUID value)
void
setLinks(List<Link> value)
void
setProps(List<Property> value)
void
setRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
void
setResponsibleParties(List<ResponsibleParty> value)
String
toString()
-
-
-
Constructor Detail
-
UsesComponent
public UsesComponent()
-
-
Method Detail
-
getComponentUuid
public UUID getComponentUuid()
-
setComponentUuid
public void setComponentUuid(UUID value)
-
addProp
public boolean addProp(Property item)
Add a newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
addLink
public boolean addLink(Link item)
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
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
public List<ResponsibleParty> getResponsibleParties()
-
setResponsibleParties
public void setResponsibleParties(List<ResponsibleParty> value)
-
addResponsibleParty
public boolean addResponsibleParty(ResponsibleParty item)
Add a newResponsibleParty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeResponsibleParty
public boolean removeResponsibleParty(ResponsibleParty item)
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
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getRemarks()
-
setRemarks
public void setRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
-
-