Class Risk.RiskLog.Entry.RelatedResponse
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
- Enclosing class:
- Risk.RiskLog.Entry
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.Risk.RiskLog.Entry.RelatedResponseinstance with no metadata.RelatedResponse(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.Risk.RiskLog.Entry.RelatedResponseinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.booleanaddRelatedTask(RelatedTask item) Add a newRelatedTaskitem to the underlying collection.getLinks()Get the "Link".dev.metaschema.core.model.IMetaschemaDatagetProps()Get the "Property".Get the "Task Reference".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".Get the "Response Universally Unique Identifier Reference".booleanremoveLink(Link item) Remove the first matchingLinkitem 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.voidSet the "Link".voidSet the "Property".voidsetRelatedTasks(List<RelatedTask> value) Set the "Task Reference".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".voidsetResponseUuid(UUID value) Set the "Response Universally Unique Identifier Reference".toString()
-
Constructor Details
-
RelatedResponse
public RelatedResponse()Constructs a newdev.metaschema.oscal.lib.model.Risk.RiskLog.Entry.RelatedResponseinstance with no metadata. -
RelatedResponse
Constructs a newdev.metaschema.oscal.lib.model.Risk.RiskLog.Entry.RelatedResponseinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getResponseUuid
Get the "Response Universally Unique Identifier Reference".A machine-oriented identifier reference to a unique risk response.
- Returns:
- the response-uuid value
-
setResponseUuid
Set the "Response Universally Unique Identifier Reference".A machine-oriented identifier reference to a unique risk response.
- Parameters:
value- the response-uuid value to set
-
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
-
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
-