Package dev.metaschema.oscal.lib.model
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 -
Method Summary
Modifier and TypeMethodDescriptiondev.metaschema.core.model.IMetaschemaDataGet the "Party UUID Reference".Get the "Actor Role".voidsetPartyUuid(UUID value) Set the "Party UUID Reference".voidSet the "Actor Role".toString()
-
Constructor Details
-
LoggedBy
public LoggedBy()Constructs a newdev.metaschema.oscal.lib.model.LoggedByinstance with no metadata. -
LoggedBy
Constructs a newdev.metaschema.oscal.lib.model.LoggedByinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
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
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
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
nullif not set
-
setRoleId
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, ornullto clear
-
toString
-