Package gov.nist.secauto.oscal.lib.model
Class Impact
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.Impact
-
@MetaschemaAssembly(formalName="Impact Level", description="The expected level of impact resulting from the described information.", name="impact", metaschema=OscalSspMetaschema.class) public class Impact extends ObjectThe expected level of impact resulting from the described information.
-
-
Constructor Summary
Constructors Constructor Description Impact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddLink(Link item)Add a newLinkitem to the underlying collection.booleanaddProp(Property item)Add a newPropertyitem to the underlying collection.gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetAdjustmentJustification()StringgetBase()List<Link>getLinks()List<Property>getProps()StringgetSelected()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.model.common.datatype.markup.MarkupMultiline value)voidsetBase(String value)voidsetLinks(List<Link> value)voidsetProps(List<Property> value)voidsetSelected(String value)StringtoString()
-
-
-
Constructor Detail
-
Impact
public Impact()
-
-
Method Detail
-
addProp
public boolean addProp(Property item)
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
addLink
public boolean addLink(Link item)
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getSelected
public String getSelected()
-
setSelected
public void setSelected(String value)
-
getAdjustmentJustification
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getAdjustmentJustification()
-
setAdjustmentJustification
public void setAdjustmentJustification(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
-
-