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 ObjectA 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 booleanaddPart(AssessmentPart item)Add a newAssessmentPartitem to the underlying collection.booleanaddResponsibleParty(ResponsibleParty item)Add a newResponsiblePartyitem to the underlying collection.List<AssessmentPart>getParts()List<ResponsibleParty>getResponsibleParties()booleanremovePart(AssessmentPart item)Remove the first matchingAssessmentPartitem from the underlying collection.booleanremoveResponsibleParty(ResponsibleParty item)Remove the first matchingResponsiblePartyitem from the underlying collection.voidsetParts(List<AssessmentPart> value)voidsetResponsibleParties(List<ResponsibleParty> value)StringtoString()
-
-
-
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 newResponsiblePartyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeResponsibleParty
public boolean removeResponsibleParty(ResponsibleParty item)
Remove the first matchingResponsiblePartyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getParts
public List<AssessmentPart> getParts()
-
setParts
public void setParts(List<AssessmentPart> value)
-
addPart
public boolean addPart(AssessmentPart item)
Add a newAssessmentPartitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removePart
public boolean removePart(AssessmentPart item)
Remove the first matchingAssessmentPartitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
-