Package gov.nist.secauto.oscal.lib.model
Class Risk.RiskLog.Entry.RelatedResponse
java.lang.Object
gov.nist.secauto.oscal.lib.model.Risk.RiskLog.Entry.RelatedResponse
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
- Enclosing class:
- Risk.RiskLog.Entry
@MetaschemaAssembly(formalName="Risk Response Reference",
description="Identifies an individual risk response that this log entry is for.",
name="related-response",
moduleClass=OscalAssessmentCommonModule.class)
public static class Risk.RiskLog.Entry.RelatedResponse
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Identifies an individual risk response that this log entry is for.
-
Constructor Summary
ConstructorDescriptionRelatedResponse
(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newLink
item to the underlying collection.boolean
Add a newProperty
item to the underlying collection.boolean
addRelatedTask
(RelatedTask item) Add a newRelatedTask
item to the underlying collection.getLinks()
gov.nist.secauto.metaschema.core.model.IMetaschemaData
getProps()
gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline
boolean
removeLink
(Link item) Remove the first matchingLink
item from the underlying collection.boolean
removeProp
(Property item) Remove the first matchingProperty
item from the underlying collection.boolean
removeRelatedTask
(RelatedTask item) Remove the first matchingRelatedTask
item from the underlying collection.void
void
void
setRelatedTasks
(List<RelatedTask> value) void
setRemarks
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) void
setResponseUuid
(UUID value) toString()
-
Constructor Details
-
RelatedResponse
public RelatedResponse() -
RelatedResponse
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getResponseUuid
-
setResponseUuid
-
getProps
-
setProps
-
addProp
Add a newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getLinks
-
setLinks
-
addLink
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
Remove the first matchingLink
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getRelatedTasks
-
setRelatedTasks
-
addRelatedTask
Add a newRelatedTask
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeRelatedTask
Remove the first matchingRelatedTask
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getRemarks
-
setRemarks
-
toString
-