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 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
    • toString

      public String toString()
      Overrides:
      toString in class Object