Class PoamItem.AssociatedRisk

java.lang.Object
dev.metaschema.oscal.lib.model.PoamItem.AssociatedRisk
All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
Enclosing class:
PoamItem

@MetaschemaAssembly(formalName="Associated Risk", description="Relates the finding to a set of referenced risks that were used to determine the finding.", name="associated-risk", moduleClass=OscalPoamModule.class) public static class PoamItem.AssociatedRisk extends Object implements dev.metaschema.core.model.IBoundObject
Relates the finding to a set of referenced risks that were used to determine the finding.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a new dev.metaschema.oscal.lib.model.PoamItem.AssociatedRisk instance with no metadata.
    AssociatedRisk(dev.metaschema.core.model.IMetaschemaData data)
    Constructs a new dev.metaschema.oscal.lib.model.PoamItem.AssociatedRisk instance with the specified metadata.
  • Method Summary

    Modifier and Type
    Method
    Description
    dev.metaschema.core.model.IMetaschemaData
     
    Get the "Risk Universally Unique Identifier Reference".
    void
    Set the "Risk Universally Unique Identifier Reference".
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AssociatedRisk

      public AssociatedRisk()
      Constructs a new dev.metaschema.oscal.lib.model.PoamItem.AssociatedRisk instance with no metadata.
    • AssociatedRisk

      public AssociatedRisk(dev.metaschema.core.model.IMetaschemaData data)
      Constructs a new dev.metaschema.oscal.lib.model.PoamItem.AssociatedRisk instance with the specified metadata.
      Parameters:
      data - the metaschema data, or null if none
  • Method Details

    • getMetaschemaData

      public dev.metaschema.core.model.IMetaschemaData getMetaschemaData()
      Specified by:
      getMetaschemaData in interface dev.metaschema.core.model.IBoundObject
    • getRiskUuid

      @NonNull public UUID getRiskUuid()
      Get the "Risk Universally Unique Identifier Reference".

      A machine-oriented identifier reference to a risk defined in the list of risks.

      Returns:
      the risk-uuid value
    • setRiskUuid

      public void setRiskUuid(@NonNull UUID value)
      Set the "Risk Universally Unique Identifier Reference".

      A machine-oriented identifier reference to a risk defined in the list of risks.

      Parameters:
      value - the risk-uuid value to set
    • toString

      public String toString()
      Overrides:
      toString in class Object