Package gov.nist.secauto.oscal.lib.model
Class Risk.MitigatingFactor
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.Risk.MitigatingFactor
-
- Enclosing class:
- Risk
@MetaschemaAssembly(formalName="Mitigating Factor", description="Describes an existing mitigating factor that may affect the overall determination of the risk, with an optional link to an implementation statement in the SSP.", name="mitigating-factor", metaschema=OscalAssessmentCommonMetaschema.class) public static class Risk.MitigatingFactor extends Object
Describes an existing mitigating factor that may affect the overall determination of the risk, with an optional link to an implementation statement in the SSP.
-
-
Constructor Summary
Constructors Constructor Description MitigatingFactor()
-
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
addSubject(SubjectReference item)
Add a newSubjectReference
item to the underlying collection.gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline
getDescription()
UUID
getImplementationUuid()
List<Link>
getLinks()
List<Property>
getProps()
List<SubjectReference>
getSubjects()
UUID
getUuid()
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
removeSubject(SubjectReference item)
Remove the first matchingSubjectReference
item from the underlying collection.void
setDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
void
setImplementationUuid(UUID value)
void
setLinks(List<Link> value)
void
setProps(List<Property> value)
void
setSubjects(List<SubjectReference> value)
void
setUuid(UUID value)
String
toString()
-
-
-
Constructor Detail
-
MitigatingFactor
public MitigatingFactor()
-
-
Method Detail
-
getImplementationUuid
public UUID getImplementationUuid()
-
setImplementationUuid
public void setImplementationUuid(UUID value)
-
getDescription
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getDescription()
-
setDescription
public void setDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline 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
-
getSubjects
public List<SubjectReference> getSubjects()
-
setSubjects
public void setSubjects(List<SubjectReference> value)
-
addSubject
public boolean addSubject(SubjectReference item)
Add a newSubjectReference
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeSubject
public boolean removeSubject(SubjectReference item)
Remove the first matchingSubjectReference
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
-