Class Result.AssessmentLog.Entry
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
- Enclosing class:
- Result.AssessmentLog
-
Constructor Summary
ConstructorsConstructorDescriptionEntry()Constructs a newdev.metaschema.oscal.lib.model.Result.AssessmentLog.Entryinstance with no metadata.Entry(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.Result.AssessmentLog.Entryinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newLinkitem to the underlying collection.booleanaddLoggedBy(LoggedBy item) Add a newLoggedByitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.booleanaddRelatedTask(RelatedTask item) Add a newRelatedTaskitem to the underlying collection.dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Action Description".getEnd()Get the "End".getLinks()Get the "Link".Get the "Logged By".dev.metaschema.core.model.IMetaschemaDatagetProps()Get the "Property".Get the "Task Reference".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".getStart()Get the "Start".dev.metaschema.core.datatype.markup.MarkupLinegetTitle()Get the "Action Title".getUuid()Get the "Assessment Log Entry Universally Unique Identifier".booleanremoveLink(Link item) Remove the first matchingLinkitem from the underlying collection.booleanremoveLoggedBy(LoggedBy item) Remove the first matchingLoggedByitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.booleanremoveRelatedTask(RelatedTask item) Remove the first matchingRelatedTaskitem from the underlying collection.voidsetDescription(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Action Description".voidsetEnd(ZonedDateTime value) Set the "End".voidSet the "Link".voidsetLoggedBy(List<LoggedBy> value) Set the "Logged By".voidSet the "Property".voidsetRelatedTasks(List<RelatedTask> value) Set the "Task Reference".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".voidsetStart(ZonedDateTime value) Set the "Start".voidsetTitle(dev.metaschema.core.datatype.markup.MarkupLine value) Set the "Action Title".voidSet the "Assessment Log Entry Universally Unique Identifier".toString()
-
Constructor Details
-
Entry
public Entry()Constructs a newdev.metaschema.oscal.lib.model.Result.AssessmentLog.Entryinstance with no metadata. -
Entry
Constructs a newdev.metaschema.oscal.lib.model.Result.AssessmentLog.Entryinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
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 entrycan 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
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 entrycan 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
Get the "Action Title".The title for this event.
- Returns:
- the title value, or
nullif not set
-
setTitle
Set the "Action Title".The title for this event.
- Parameters:
value- the title value to set, ornullto clear
-
getDescription
Get the "Action Description".A human-readable description of this event.
- Returns:
- the description value, or
nullif not set
-
setDescription
Set the "Action Description".A human-readable description of this event.
- Parameters:
value- the description value to set, ornullto clear
-
getStart
Get the "Start".Identifies the start date and time of an event.
- Returns:
- the start value
-
setStart
Set the "Start".Identifies the start date and time of an event.
- Parameters:
value- the start value to set
-
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
nullif not set
-
setEnd
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, ornullto clear
-
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
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
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
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
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
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getLoggedBy
Get the "Logged By".Used to indicate who created a log entry in what role.
- Returns:
- the logged-by value
-
setLoggedBy
Set the "Logged By".Used to indicate who created a log entry in what role.
- Parameters:
value- the logged-by value to set
-
addLoggedBy
Add a newLoggedByitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLoggedBy
Remove the first matchingLoggedByitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRelatedTasks
Get the "Task Reference".Identifies an individual task for which the containing object is a consequence of.
- Returns:
- the related-task value
-
setRelatedTasks
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
Add a newRelatedTaskitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeRelatedTask
Remove the first matchingRelatedTaskitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRemarks
Get the "Remarks".Additional commentary about the containing object.
- Returns:
- the remarks value, or
nullif not set
-
setRemarks
Set the "Remarks".Additional commentary about the containing object.
- Parameters:
value- the remarks value to set, ornullto clear
-
toString
-