Class AssessmentResults.LocalDefinitions

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

@MetaschemaAssembly(formalName="Local Definitions", description="Used to define data objects that are used in the assessment plan, that do not appear in the referenced SSP.", name="local-definitions", moduleClass=OscalArModule.class) public static class AssessmentResults.LocalDefinitions extends Object implements dev.metaschema.core.model.IBoundObject
Used to define data objects that are used in the assessment plan, that do not appear in the referenced SSP.
  • Constructor Details

    • LocalDefinitions

      Constructs a new dev.metaschema.oscal.lib.model.AssessmentResults.LocalDefinitions instance with no metadata.
    • LocalDefinitions

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

      Get the "Assessment-Specific Control Objective".

      A local definition of a control objective for this assessment. Uses catalog syntax for control objective and assessment actions.

      Returns:
      the objectives-and-methods value
    • setObjectivesAndMethods

      public void setObjectivesAndMethods(@NonNull List<LocalObjective> value)
      Set the "Assessment-Specific Control Objective".

      A local definition of a control objective for this assessment. Uses catalog syntax for control objective and assessment actions.

      Parameters:
      value - the objectives-and-methods value to set
    • addObjectivesAndMethods

      public boolean addObjectivesAndMethods(LocalObjective item)
      Add a new LocalObjective item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removeObjectivesAndMethods

      Remove the first matching LocalObjective item from the underlying collection.
      Parameters:
      item - the item to remove
      Returns:
      true if the item was removed or false otherwise
    • getActivities

      @NonNull public List<Activity> getActivities()
      Get the "Activity".

      Identifies an assessment or related process that can be performed. In the assessment plan, this is an intended activity which may be associated with an assessment task. In the assessment results, this an activity that was actually performed as part of an assessment.

      Returns:
      the activity value
    • setActivities

      public void setActivities(@NonNull List<Activity> value)
      Set the "Activity".

      Identifies an assessment or related process that can be performed. In the assessment plan, this is an intended activity which may be associated with an assessment task. In the assessment results, this an activity that was actually performed as part of an assessment.

      Parameters:
      value - the activity value to set
    • addActivity

      public boolean addActivity(Activity item)
      Add a new Activity item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removeActivity

      public boolean removeActivity(Activity item)
      Remove the first matching Activity item from the underlying collection.
      Parameters:
      item - the item to remove
      Returns:
      true if the item was removed or false otherwise
    • getRemarks

      @Nullable public dev.metaschema.core.datatype.markup.MarkupMultiline getRemarks()
      Get the "Remarks".

      Additional commentary about the containing object.

      Returns:
      the remarks value, or null if not set
    • setRemarks

      public void setRemarks(@Nullable dev.metaschema.core.datatype.markup.MarkupMultiline value)
      Set the "Remarks".

      Additional commentary about the containing object.

      Parameters:
      value - the remarks value to set, or null to clear
    • toString

      public String toString()
      Overrides:
      toString in class Object