Class Result.AssessmentLog

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

@MetaschemaAssembly(formalName="Assessment Log", description="A log of all assessment-related actions taken.", name="assessment-log", moduleClass=OscalArModule.class) public static class Result.AssessmentLog extends Object implements dev.metaschema.core.model.IBoundObject
A log of all assessment-related actions taken.
  • Constructor Details

    • AssessmentLog

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

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

      Get the "Assessment Log Entry".

      Identifies the result of an action and/or task that occurred as part of executing an assessment plan or an assessment event that occurred in producing the assessment results.

      Returns:
      the entry value
    • setEntries

      public void setEntries(@NonNull List<Result.AssessmentLog.Entry> value)
      Set the "Assessment Log Entry".

      Identifies the result of an action and/or task that occurred as part of executing an assessment plan or an assessment event that occurred in producing the assessment results.

      Parameters:
      value - the entry value to set
    • addEntry

      public boolean addEntry(Result.AssessmentLog.Entry item)
      Add a new Result.AssessmentLog.Entry item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removeEntry

      public boolean removeEntry(Result.AssessmentLog.Entry item)
      Remove the first matching Result.AssessmentLog.Entry item from the underlying collection.
      Parameters:
      item - the item to remove
      Returns:
      true if the item was removed or false otherwise
    • toString

      public String toString()
      Overrides:
      toString in class Object