Package gov.nist.secauto.oscal.lib.model
Class Result.Attestation
java.lang.Object
gov.nist.secauto.oscal.lib.model.Result.Attestation
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
- Enclosing class:
- Result
@MetaschemaAssembly(formalName="Attestation Statements",
description="A set of textual statements, typically written by the assessor.",
name="attestation",
moduleClass=OscalArModule.class,
modelConstraints=@AssemblyConstraints(unique=@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
implements gov.nist.secauto.metaschema.core.model.IBoundObject
A set of textual statements, typically written by the assessor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddPart(AssessmentPart item) Add a newAssessmentPartitem to the underlying collection.booleanAdd a newResponsiblePartyitem to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetParts()booleanremovePart(AssessmentPart item) Remove the first matchingAssessmentPartitem from the underlying collection.booleanRemove the first matchingResponsiblePartyitem from the underlying collection.voidsetParts(List<AssessmentPart> value) voidtoString()
-
Constructor Details
-
Attestation
public Attestation() -
Attestation
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getResponsibleParties
-
setResponsibleParties
-
addResponsibleParty
Add a newResponsiblePartyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeResponsibleParty
Remove the first matchingResponsiblePartyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getParts
-
setParts
-
addPart
Add a newAssessmentPartitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removePart
Remove the first matchingAssessmentPartitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
toString
-