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 Object
Identifies 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 boolean
addLink(Link item)
Add a newLink
item to the underlying collection.boolean
addProp(Property item)
Add a newProperty
item to the underlying collection.boolean
addRelatedTask(RelatedTask item)
Add a newRelatedTask
item to the underlying collection.List<Link>
getLinks()
List<Property>
getProps()
List<RelatedTask>
getRelatedTasks()
gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline
getRemarks()
UUID
getResponseUuid()
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
setLinks(List<Link> value)
void
setProps(List<Property> value)
void
setRelatedTasks(List<RelatedTask> value)
void
setRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
void
setResponseUuid(UUID value)
String
toString()
-
-
-
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 newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
addLink
public boolean addLink(Link item)
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
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
public List<RelatedTask> getRelatedTasks()
-
setRelatedTasks
public void setRelatedTasks(List<RelatedTask> value)
-
addRelatedTask
public boolean addRelatedTask(RelatedTask item)
Add a newRelatedTask
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeRelatedTask
public boolean removeRelatedTask(RelatedTask item)
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
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)
-
-