Class Result.AssessmentLog.Entry

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

@MetaschemaAssembly(formalName="Assessment Log Entry", description="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.", name="entry", moduleClass=OscalArModule.class) public static class Result.AssessmentLog.Entry extends Object implements dev.metaschema.core.model.IBoundObject
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.
  • Constructor Details

    • Entry

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

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

      @NonNull public UUID getUuid()
      Get the "Assessment Log Entry Universally Unique Identifier".

      A machine-oriented, globally unique identifier with cross-instance scope that can be used to reference an assessment event in this or other OSCAL instances. The locally defined UUID of the assessment log entry can be used to reference the data item locally or globally (e.g., in an imported OSCAL instance). This UUID should be assigned per-subject, which means it should be consistently used to identify the same subject across revisions of the document.

      Returns:
      the uuid value
    • setUuid

      public void setUuid(@NonNull UUID value)
      Set the "Assessment Log Entry Universally Unique Identifier".

      A machine-oriented, globally unique identifier with cross-instance scope that can be used to reference an assessment event in this or other OSCAL instances. The locally defined UUID of the assessment log entry can be used to reference the data item locally or globally (e.g., in an imported OSCAL instance). This UUID should be assigned per-subject, which means it should be consistently used to identify the same subject across revisions of the document.

      Parameters:
      value - the uuid value to set
    • getTitle

      @Nullable public dev.metaschema.core.datatype.markup.MarkupLine getTitle()
      Get the "Action Title".

      The title for this event.

      Returns:
      the title value, or null if not set
    • setTitle

      public void setTitle(@Nullable dev.metaschema.core.datatype.markup.MarkupLine value)
      Set the "Action Title".

      The title for this event.

      Parameters:
      value - the title value to set, or null to clear
    • getDescription

      @Nullable public dev.metaschema.core.datatype.markup.MarkupMultiline getDescription()
      Get the "Action Description".

      A human-readable description of this event.

      Returns:
      the description value, or null if not set
    • setDescription

      public void setDescription(@Nullable dev.metaschema.core.datatype.markup.MarkupMultiline value)
      Set the "Action Description".

      A human-readable description of this event.

      Parameters:
      value - the description value to set, or null to clear
    • getStart

      @NonNull public ZonedDateTime getStart()
      Get the "Start".

      Identifies the start date and time of an event.

      Returns:
      the start value
    • setStart

      public void setStart(@NonNull ZonedDateTime value)
      Set the "Start".

      Identifies the start date and time of an event.

      Parameters:
      value - the start value to set
    • getEnd

      @Nullable public ZonedDateTime getEnd()
      Get the "End".

      Identifies the end date and time of an event. If the event is a point in time, the start and end will be the same date and time.

      Returns:
      the end value, or null if not set
    • setEnd

      public void setEnd(@Nullable ZonedDateTime value)
      Set the "End".

      Identifies the end date and time of an event. If the event is a point in time, the start and end will be the same date and time.

      Parameters:
      value - the end value to set, or null to clear
    • getProps

      @NonNull public List<Property> getProps()
      Get the "Property".

      An attribute, characteristic, or quality of the containing object expressed as a namespace qualified name/value pair.

      Returns:
      the prop value
    • setProps

      public void setProps(@NonNull List<Property> value)
      Set the "Property".

      An attribute, characteristic, or quality of the containing object expressed as a namespace qualified name/value pair.

      Parameters:
      value - the prop value to set
    • addProp

      public boolean addProp(Property item)
      Add a new Property item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removeProp

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

      @NonNull public List<Link> getLinks()
      Get the "Link".

      A reference to a local or remote resource, that has a specific relation to the containing object.

      Returns:
      the link value
    • setLinks

      public void setLinks(@NonNull List<Link> value)
      Set the "Link".

      A reference to a local or remote resource, that has a specific relation to the containing object.

      Parameters:
      value - the link value to set
    • addLink

      public boolean addLink(Link item)
      Add a new Link item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removeLink

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

      @NonNull public List<LoggedBy> getLoggedBy()
      Get the "Logged By".

      Used to indicate who created a log entry in what role.

      Returns:
      the logged-by value
    • setLoggedBy

      public void setLoggedBy(@NonNull List<LoggedBy> value)
      Set the "Logged By".

      Used to indicate who created a log entry in what role.

      Parameters:
      value - the logged-by value to set
    • addLoggedBy

      public boolean addLoggedBy(LoggedBy item)
      Add a new LoggedBy item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removeLoggedBy

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

      @NonNull public List<RelatedTask> getRelatedTasks()
      Get the "Task Reference".

      Identifies an individual task for which the containing object is a consequence of.

      Returns:
      the related-task value
    • setRelatedTasks

      public void setRelatedTasks(@NonNull List<RelatedTask> value)
      Set the "Task Reference".

      Identifies an individual task for which the containing object is a consequence of.

      Parameters:
      value - the related-task value to set
    • addRelatedTask

      public boolean addRelatedTask(RelatedTask item)
      Add a new RelatedTask item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removeRelatedTask

      public boolean removeRelatedTask(RelatedTask item)
      Remove the first matching RelatedTask 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