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 ObjectDescribes 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 booleanaddLink(Link item)Add a newLinkitem to the underlying collection.booleanaddProp(Property item)Add a newPropertyitem to the underlying collection.booleanaddSubject(SubjectReference item)Add a newSubjectReferenceitem to the underlying collection.gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetDescription()UUIDgetImplementationUuid()List<Link>getLinks()List<Property>getProps()List<SubjectReference>getSubjects()UUIDgetUuid()booleanremoveLink(Link item)Remove the first matchingLinkitem from the underlying collection.booleanremoveProp(Property item)Remove the first matchingPropertyitem from the underlying collection.booleanremoveSubject(SubjectReference item)Remove the first matchingSubjectReferenceitem from the underlying collection.voidsetDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)voidsetImplementationUuid(UUID value)voidsetLinks(List<Link> value)voidsetProps(List<Property> value)voidsetSubjects(List<SubjectReference> value)voidsetUuid(UUID value)StringtoString()
-
-
-
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 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
-
getSubjects
public List<SubjectReference> getSubjects()
-
setSubjects
public void setSubjects(List<SubjectReference> value)
-
addSubject
public boolean addSubject(SubjectReference item)
Add a newSubjectReferenceitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeSubject
public boolean removeSubject(SubjectReference item)
Remove the first matchingSubjectReferenceitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
-