Package gov.nist.secauto.oscal.lib.model
Class LocalDefinitions
java.lang.Object
gov.nist.secauto.oscal.lib.model.LocalDefinitions
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Local Definitions",
description="Allows components, and inventory-items to be defined within the POA\\&M for circumstances where no OSCAL-based SSP exists, or is not delivered with the POA\\&M.",
name="local-definitions",
moduleClass=OscalPoamModule.class,
modelConstraints=@AssemblyConstraints(unique=@IsUnique(id="unique-poam-local-definitions-component",level=ERROR,target="component",keyFields=@KeyField(target="@uuid"),remarks="Since multiple `component` entries can be provided, each component must have a unique `uuid`.")))
public class LocalDefinitions
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Allows components, and inventory-items to be defined within the POA&M for circumstances where no OSCAL-based SSP exists, or is not delivered with the POA&M.
-
Constructor Summary
ConstructorsConstructorDescriptionLocalDefinitions(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddComponent(SystemComponent item) Add a newSystemComponentitem to the underlying collection.booleanAdd a newInventoryItemitem to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaDatagov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinebooleanRemove the first matchingSystemComponentitem from the underlying collection.booleanRemove the first matchingInventoryItemitem from the underlying collection.voidvoidsetComponents(List<SystemComponent> value) voidsetInventoryItems(List<InventoryItem> value) voidsetRemarks(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) toString()
-
Constructor Details
-
LocalDefinitions
public LocalDefinitions() -
LocalDefinitions
-
-
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
-
getInventoryItems
-
setInventoryItems
-
addInventoryItem
Add a newInventoryItemitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeInventoryItem
Remove the first matchingInventoryItemitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getAssessmentAssets
-
setAssessmentAssets
-
getRemarks
-
setRemarks
-
toString
-