Package gov.nist.secauto.oscal.lib.model
Class Response.RequiredAsset
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.Response.RequiredAsset
-
- Enclosing class:
- Response
@MetaschemaAssembly(formalName="Required Asset", description="Identifies an asset required to achieve remediation.", name="required-asset", metaschema=OscalAssessmentCommonMetaschema.class) public static class Response.RequiredAsset extends ObjectIdentifies an asset required to achieve remediation.
-
-
Constructor Summary
Constructors Constructor Description RequiredAsset()
-
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.booleanaddSubject(SubjectReference item)Add a newSubjectReferenceitem to the underlying collection.gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetDescription()List<Link>getLinks()List<Property>getProps()gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetRemarks()List<SubjectReference>getSubjects()gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLinegetTitle()UUIDgetUuid()booleanremoveLink(Link item)Remove the first matchingLinkitem from the underlying collection.booleanremoveProp(Property item)Remove the first matchingPropertyitem from the underlying collection.booleanremoveSubject(SubjectReference item)Remove the first matchingSubjectReferenceitem from the underlying collection.voidsetDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)voidsetLinks(List<Link> value)voidsetProps(List<Property> value)voidsetRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)voidsetSubjects(List<SubjectReference> value)voidsetTitle(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine value)voidsetUuid(UUID value)StringtoString()
-
-
-
Constructor Detail
-
RequiredAsset
public RequiredAsset()
-
-
Method Detail
-
getSubjects
public List<SubjectReference> getSubjects()
-
setSubjects
public void setSubjects(List<SubjectReference> value)
-
addSubject
public boolean addSubject(SubjectReference item)
Add a newSubjectReferenceitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeSubject
public boolean removeSubject(SubjectReference item)
Remove the first matchingSubjectReferenceitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getTitle
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine getTitle()
-
setTitle
public void setTitle(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine value)
-
getDescription
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getDescription()
-
setDescription
public void setDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline 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
-
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)
-
-