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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addPart
(AssessmentPart item) Add a newAssessmentPart
item to the underlying collection.boolean
Add a newResponsibleParty
item to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaData
getParts()
boolean
removePart
(AssessmentPart item) Remove the first matchingAssessmentPart
item from the underlying collection.boolean
Remove the first matchingResponsibleParty
item from the underlying collection.void
setParts
(List<AssessmentPart> value) void
toString()
-
Constructor Details
-
Attestation
public Attestation() -
Attestation
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getResponsibleParties
-
setResponsibleParties
-
addResponsibleParty
Add a newResponsibleParty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeResponsibleParty
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
-
setParts
-
addPart
Add a newAssessmentPart
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removePart
Remove the first matchingAssessmentPart
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-