Package gov.nist.secauto.oscal.lib.model
Class Impact
java.lang.Object
gov.nist.secauto.oscal.lib.model.Impact
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Impact Level",
description="The expected level of impact resulting from the described information.",
name="impact",
moduleClass=OscalSspModule.class)
public class Impact
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
The expected level of impact resulting from the described information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinegetBase()getLinks()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetProps()booleanremoveLink(Link item) Remove the first matchingLinkitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.voidsetAdjustmentJustification(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) voidvoidvoidvoidsetSelected(String value) toString()
-
Constructor Details
-
Impact
public Impact() -
Impact
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getProps
-
setProps
-
addProp
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getLinks
-
setLinks
-
addLink
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getBase
-
setBase
-
getSelected
-
setSelected
-
getAdjustmentJustification
public gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline getAdjustmentJustification() -
setAdjustmentJustification
public void setAdjustmentJustification(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) -
toString
-