Package gov.nist.secauto.oscal.lib.model
Class Risk.MitigatingFactor
java.lang.Object
gov.nist.secauto.oscal.lib.model.Risk.MitigatingFactor
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
- 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",
moduleClass=OscalAssessmentCommonModule.class)
public static class Risk.MitigatingFactor
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
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
ConstructorsConstructorDescriptionMitigatingFactor(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.booleanaddSubject(SubjectReference item) Add a newSubjectReferenceitem to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinegetLinks()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetProps()getUuid()booleanremoveLink(Link item) Remove the first matchingLinkitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.booleanRemove the first matchingSubjectReferenceitem from the underlying collection.voidsetDescription(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) voidsetImplementationUuid(UUID value) voidvoidvoidsetSubjects(List<SubjectReference> value) voidtoString()
-
Constructor Details
-
MitigatingFactor
public MitigatingFactor() -
MitigatingFactor
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getUuid
-
setUuid
-
getImplementationUuid
-
setImplementationUuid
-
getDescription
-
setDescription
-
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
-
getSubjects
-
setSubjects
-
addSubject
Add a newSubjectReferenceitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeSubject
Remove the first matchingSubjectReferenceitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
toString
-