Class AssessmentPlan.TermsAndConditions

java.lang.Object
dev.metaschema.oscal.lib.model.AssessmentPlan.TermsAndConditions
All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
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", moduleClass=OscalApModule.class, valueConstraints=@ValueConstraints(allowedValues=@AllowedValues(id="oscal-terms-and-conditions-part-name",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 implements dev.metaschema.core.model.IBoundObject
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 Details

    • TermsAndConditions

      Constructs a new dev.metaschema.oscal.lib.model.AssessmentPlan.TermsAndConditions instance with no metadata.
    • TermsAndConditions

      public TermsAndConditions(dev.metaschema.core.model.IMetaschemaData data)
      Constructs a new dev.metaschema.oscal.lib.model.AssessmentPlan.TermsAndConditions instance with the specified metadata.
      Parameters:
      data - the metaschema data, or null if none
  • Method Details

    • getMetaschemaData

      public dev.metaschema.core.model.IMetaschemaData getMetaschemaData()
      Specified by:
      getMetaschemaData in interface dev.metaschema.core.model.IBoundObject
    • getParts

      @NonNull public List<AssessmentPart> getParts()
      Get the "Assessment Part".

      A partition of an assessment plan or results or a child of another part.

      Returns:
      the part value
    • setParts

      public void setParts(@NonNull List<AssessmentPart> value)
      Set the "Assessment Part".

      A partition of an assessment plan or results or a child of another part.

      Parameters:
      value - the part value to set
    • addPart

      public boolean addPart(AssessmentPart item)
      Add a new AssessmentPart item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removePart

      public boolean removePart(AssessmentPart item)
      Remove the first matching AssessmentPart item from the underlying collection.
      Parameters:
      item - the item to remove
      Returns:
      true if the item was removed or false otherwise
    • toString

      public String toString()
      Overrides:
      toString in class Object