Class Risk.RelatedObservation

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

@MetaschemaAssembly(formalName="Related Observation", description="Relates the finding to a set of referenced observations that were used to determine the finding.", name="related-observation", moduleClass=OscalAssessmentCommonModule.class) public static class Risk.RelatedObservation extends Object implements dev.metaschema.core.model.IBoundObject
Relates the finding to a set of referenced observations that were used to determine the finding.
  • Constructor Details

    • RelatedObservation

      Constructs a new dev.metaschema.oscal.lib.model.Risk.RelatedObservation instance with no metadata.
    • RelatedObservation

      public RelatedObservation(dev.metaschema.core.model.IMetaschemaData data)
      Constructs a new dev.metaschema.oscal.lib.model.Risk.RelatedObservation 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
    • getObservationUuid

      @NonNull public UUID getObservationUuid()
      Get the "Observation Universally Unique Identifier Reference".

      A machine-oriented identifier reference to an observation defined in the list of observations.

      Returns:
      the observation-uuid value
    • setObservationUuid

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

      A machine-oriented identifier reference to an observation defined in the list of observations.

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

      public String toString()
      Overrides:
      toString in class Object