Class Risk.RiskLog.Entry
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
- Enclosing class:
- Risk.RiskLog
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classIdentifies an individual risk response that this log entry is for. -
Constructor Summary
Constructors -
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.booleanAdd a newRisk.RiskLog.Entry.RelatedResponseitem to the underlying collection.dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Risk Task Description".getEnd()Get the "End".getLinks()Get the "Link".Get the "Logged By".dev.metaschema.core.model.IMetaschemaDatagetProps()Get the "Property".Get the "Risk Response Reference".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".getStart()Get the "Start".Get the "Risk Status".dev.metaschema.core.datatype.markup.MarkupLinegetTitle()Get the "Title".getUuid()Get the "Risk 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.booleanRemove the first matchingRisk.RiskLog.Entry.RelatedResponseitem from the underlying collection.voidsetDescription(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Risk Task Description".voidsetEnd(ZonedDateTime value) Set the "End".voidSet the "Link".voidsetLoggedBy(List<LoggedBy> value) Set the "Logged By".voidSet the "Property".voidSet the "Risk Response Reference".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".voidsetStart(ZonedDateTime value) Set the "Start".voidsetStatusChange(String value) Set the "Risk Status".voidsetTitle(dev.metaschema.core.datatype.markup.MarkupLine value) Set the "Title".voidSet the "Risk Log Entry Universally Unique Identifier".toString()
-
Constructor Details
-
Entry
public Entry()Constructs a newdev.metaschema.oscal.lib.model.Risk.RiskLog.Entryinstance with no metadata. -
Entry
Constructs a newdev.metaschema.oscal.lib.model.Risk.RiskLog.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 "Risk Log Entry Universally Unique Identifier".A machine-oriented, globally unique identifier with cross-instance scope that can be used to reference this risk log entry elsewhere in this or other OSCAL instances. The locally defined UUID of the
risk 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 "Risk Log Entry Universally Unique Identifier".A machine-oriented, globally unique identifier with cross-instance scope that can be used to reference this risk log entry elsewhere in this or other OSCAL instances. The locally defined UUID of the
risk 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 "Title".The title for this risk log entry.
- Returns:
- the title value, or
nullif not set
-
setTitle
Set the "Title".The title for this risk log entry.
- Parameters:
value- the title value to set, ornullto clear
-
getDescription
Get the "Risk Task Description".A human-readable description of what was done regarding the risk.
- Returns:
- the description value, or
nullif not set
-
setDescription
Set the "Risk Task Description".A human-readable description of what was done regarding the risk.
- Parameters:
value- the description value to set, ornullto clear
-
getStart
Get the "Start".Identifies the start date and time of the event.
- Returns:
- the start value
-
setStart
Set the "Start".Identifies the start date and time of the event.
- Parameters:
value- the start value to set
-
getEnd
Get the "End".Identifies the end date and time of the 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 the 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
-
getStatusChange
Get the "Risk Status".Describes the status of the associated risk.
- Returns:
- the status-change value, or
nullif not set
-
setStatusChange
Set the "Risk Status".Describes the status of the associated risk.
- Parameters:
value- the status-change value to set, ornullto clear
-
getRelatedResponses
Get the "Risk Response Reference".Identifies an individual risk response that this log entry is for.
- Returns:
- the related-response value
-
setRelatedResponses
Set the "Risk Response Reference".Identifies an individual risk response that this log entry is for.
- Parameters:
value- the related-response value to set
-
addRelatedResponse
Add a newRisk.RiskLog.Entry.RelatedResponseitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeRelatedResponse
Remove the first matchingRisk.RiskLog.Entry.RelatedResponseitem 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
-