Package gov.nist.secauto.oscal.lib.model
Class AssessmentPlan.TermsAndConditions
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.AssessmentPlan.TermsAndConditions
-
- Enclosing class:
- AssessmentPlan
@MetaschemaAssembly(formalName="Assessment Plan Terms and Conditions", description="Used to define various terms and conditions under which an assessment, described by the plan, can be performed. Each child part defines a different type of term or condition.", name="terms-and-conditions", metaschema=OscalApMetaschema.class) @ValueConstraints(allowedValues=@AllowedValues(level=ERROR,target="part[has-oscal-namespace(\'http://csrc.nist.gov/ns/oscal\')]/@name",values={@AllowedValue(value="rules-of-engagement",description="Defines the circumstances, conditions, degree, and manner in which the use of cyber-attack techniques or actions may be applied to the assessment."),@AllowedValue(value="disclosures",description="Any information the assessor should make known to the system owner or authorizing official. Has child \'item\' parts for each individual disclosure."),@AllowedValue(value="assessment-inclusions",description="Defines any assessment activities which the system owner or authorizing official wishes to ensure are performed as part of the assessment."),@AllowedValue(value="assessment-exclusions",description="Defines any assessment activities which the system owner or authorizing official explicitly prohibits from being performed as part of the assessment."),@AllowedValue(value="results-delivery",description="Defines conditions related to the delivery of the assessment results, such as when to deliver, how, and to whom."),@AllowedValue(value="assumptions",description="Defines any supposition made by the assessor. Has child \'item\' parts for each assumption."),@AllowedValue(value="methodology",description="An explanation of practices, procedures, and rules used in the course of the assessment.")})) public static class AssessmentPlan.TermsAndConditions extends Object
Used to define various terms and conditions under which an assessment, described by the plan, can be performed. Each child part defines a different type of term or condition.
-
-
Constructor Summary
Constructors Constructor Description TermsAndConditions()
-
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.List<AssessmentPart>
getParts()
boolean
removePart(AssessmentPart item)
Remove the first matchingAssessmentPart
item from the underlying collection.void
setParts(List<AssessmentPart> value)
String
toString()
-
-
-
Constructor Detail
-
TermsAndConditions
public TermsAndConditions()
-
-
Method Detail
-
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
-
-