Class LoggedBy

java.lang.Object
dev.metaschema.oscal.lib.model.LoggedBy
All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject

@MetaschemaAssembly(formalName="Logged By", description="Used to indicate who created a log entry in what role.", name="logged-by", moduleClass=OscalAssessmentCommonModule.class) public class LoggedBy extends Object implements dev.metaschema.core.model.IBoundObject
Used to indicate who created a log entry in what role.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a new dev.metaschema.oscal.lib.model.LoggedBy instance with no metadata.
    LoggedBy(dev.metaschema.core.model.IMetaschemaData data)
    Constructs a new dev.metaschema.oscal.lib.model.LoggedBy instance with the specified metadata.
  • Method Summary

    Modifier and Type
    Method
    Description
    dev.metaschema.core.model.IMetaschemaData
     
    Get the "Party UUID Reference".
    dev.metaschema.core.datatype.markup.MarkupMultiline
    Get the "Remarks".
    Get the "Actor Role".
    void
    Set the "Party UUID Reference".
    void
    setRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value)
    Set the "Remarks".
    void
    Set the "Actor Role".
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • LoggedBy

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

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

      @NonNull public UUID getPartyUuid()
      Get the "Party UUID Reference".

      A machine-oriented identifier reference to the party who is making the log entry.

      Returns:
      the party-uuid value
    • setPartyUuid

      public void setPartyUuid(@NonNull UUID value)
      Set the "Party UUID Reference".

      A machine-oriented identifier reference to the party who is making the log entry.

      Parameters:
      value - the party-uuid value to set
    • getRoleId

      @Nullable public String getRoleId()
      Get the "Actor Role".

      A point to the role-id of the role in which the party is making the log entry.

      Returns:
      the role-id value, or null if not set
    • setRoleId

      public void setRoleId(@Nullable String value)
      Set the "Actor Role".

      A point to the role-id of the role in which the party is making the log entry.

      Parameters:
      value - the role-id value to set, or null to clear
    • 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