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 Object
The 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 boolean
addLink(Link item)
Add a newLink
item to the underlying collection.boolean
addProp(Property item)
Add a newProperty
item to the underlying collection.gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline
getAdjustmentJustification()
String
getBase()
List<Link>
getLinks()
List<Property>
getProps()
String
getSelected()
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.void
setAdjustmentJustification(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
void
setBase(String value)
void
setLinks(List<Link> value)
void
setProps(List<Property> value)
void
setSelected(String value)
String
toString()
-
-
-
Constructor Detail
-
Impact
public Impact()
-
-
Method Detail
-
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
-
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)
-
-