Package dev.metaschema.oscal.lib.model
Class RelatedObservation
java.lang.Object
dev.metaschema.oscal.lib.model.RelatedObservation
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Related Observation",
description="Relates the identified element to a set of referenced observations that were used to support its determination.",
name="related-observation",
moduleClass=OscalAssessmentCommonModule.class)
public class RelatedObservation
extends Object
implements dev.metaschema.core.model.IBoundObject
Relates the identified element to a set of referenced observations that were used to support its determination.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.RelatedObservationinstance with no metadata.RelatedObservation(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.RelatedObservationinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptiondev.metaschema.core.model.IMetaschemaDataGet the "Observation Universally Unique Identifier Reference".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".voidsetObservationUuid(UUID value) Set the "Observation Universally Unique Identifier Reference".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".toString()
-
Constructor Details
-
RelatedObservation
public RelatedObservation()Constructs a newdev.metaschema.oscal.lib.model.RelatedObservationinstance with no metadata. -
RelatedObservation
Constructs a newdev.metaschema.oscal.lib.model.RelatedObservationinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
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
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
-
getRemarks
Get the "Remarks".Additional commentary about the containing object.
- Returns:
- the remarks value, or
nullif not set
-
setRemarks
Set the "Remarks".Additional commentary about the containing object.
- Parameters:
value- the remarks value to set, ornullto clear
-
toString
-