Package gov.nist.secauto.oscal.lib.model
Class Result.Attestation
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.Result.Attestation
-
- Enclosing class:
- Result
@MetaschemaAssembly(formalName="Attestation Statements", description="A set of textual statements, typically written by the assessor.", name="attestation", metaschema=OscalArMetaschema.class) @AssemblyConstraints(isUnique=@IsUnique(id="unique-ar-attestation-responsible-party",level=ERROR,target="responsible-party",keyFields=@KeyField(target="@role-id"),remarks="Since `responsible-party` associates multiple `party-uuid` entries with a single `role-id`, each role-id must be referenced only once.")) public static class Result.Attestation extends Object
A set of textual statements, typically written by the assessor.
-
-
Constructor Summary
Constructors Constructor Description Attestation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addPart(AssessmentPart item)
Add a newAssessmentPart
item to the underlying collection.boolean
addResponsibleParty(ResponsibleParty item)
Add a newResponsibleParty
item to the underlying collection.List<AssessmentPart>
getParts()
List<ResponsibleParty>
getResponsibleParties()
boolean
removePart(AssessmentPart item)
Remove the first matchingAssessmentPart
item from the underlying collection.boolean
removeResponsibleParty(ResponsibleParty item)
Remove the first matchingResponsibleParty
item from the underlying collection.void
setParts(List<AssessmentPart> value)
void
setResponsibleParties(List<ResponsibleParty> value)
String
toString()
-
-
-
Constructor Detail
-
Attestation
public Attestation()
-
-
Method Detail
-
getResponsibleParties
public List<ResponsibleParty> getResponsibleParties()
-
setResponsibleParties
public void setResponsibleParties(List<ResponsibleParty> value)
-
addResponsibleParty
public boolean addResponsibleParty(ResponsibleParty item)
Add a newResponsibleParty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeResponsibleParty
public boolean removeResponsibleParty(ResponsibleParty item)
Remove the first matchingResponsibleParty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getParts
public List<AssessmentPart> getParts()
-
setParts
public void setParts(List<AssessmentPart> value)
-
addPart
public boolean addPart(AssessmentPart item)
Add a newAssessmentPart
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removePart
public boolean removePart(AssessmentPart item)
Remove the first matchingAssessmentPart
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
-