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
ConstructorsConstructorDescriptionRelatedResponse(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
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()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetProps()gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinebooleanremoveLink(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.voidvoidvoidsetRelatedTasks(List<RelatedTask> value) voidsetRemarks(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) voidsetResponseUuid(UUID value) toString()
-
Constructor Details
-
RelatedResponse
public RelatedResponse() -
RelatedResponse
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getResponseUuid
-
setResponseUuid
-
getProps
-
setProps
-
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
-
setLinks
-
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
-
setRelatedTasks
-
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
-
setRemarks
-
toString
-