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
-
- 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", metaschema=OscalAssessmentCommonMetaschema.class) public static class Risk.RiskLog.Entry.RelatedResponse extends ObjectIdentifies an individual risk response that this log entry is for.
-
-
Constructor Summary
Constructors Constructor Description RelatedResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddLink(Link item)Add a newLinkitem to the underlying collection.booleanaddProp(Property item)Add a newPropertyitem to the underlying collection.booleanaddRelatedTask(RelatedTask item)Add a newRelatedTaskitem to the underlying collection.List<Link>getLinks()List<Property>getProps()List<RelatedTask>getRelatedTasks()gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetRemarks()UUIDgetResponseUuid()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.voidsetLinks(List<Link> value)voidsetProps(List<Property> value)voidsetRelatedTasks(List<RelatedTask> value)voidsetRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)voidsetResponseUuid(UUID value)StringtoString()
-
-
-
Constructor Detail
-
RelatedResponse
public RelatedResponse()
-
-
Method Detail
-
getResponseUuid
public UUID getResponseUuid()
-
setResponseUuid
public void setResponseUuid(UUID value)
-
addProp
public boolean addProp(Property item)
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
addLink
public boolean addLink(Link item)
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRelatedTasks
public List<RelatedTask> getRelatedTasks()
-
setRelatedTasks
public void setRelatedTasks(List<RelatedTask> value)
-
addRelatedTask
public boolean addRelatedTask(RelatedTask item)
Add a newRelatedTaskitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeRelatedTask
public boolean removeRelatedTask(RelatedTask item)
Remove the first matchingRelatedTaskitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRemarks
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getRemarks()
-
setRemarks
public void setRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
-
-