Class AssessmentResults.LocalDefinitions
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
- Enclosing class:
- AssessmentResults
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.AssessmentResults.LocalDefinitionsinstance with no metadata.LocalDefinitions(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.AssessmentResults.LocalDefinitionsinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddActivity(Activity item) Add a newActivityitem to the underlying collection.booleanAdd a newLocalObjectiveitem to the underlying collection.Get the "Activity".dev.metaschema.core.model.IMetaschemaDataGet the "Assessment-Specific Control Objective".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".booleanremoveActivity(Activity item) Remove the first matchingActivityitem from the underlying collection.booleanRemove the first matchingLocalObjectiveitem from the underlying collection.voidsetActivities(List<Activity> value) Set the "Activity".voidSet the "Assessment-Specific Control Objective".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".toString()
-
Constructor Details
-
LocalDefinitions
public LocalDefinitions()Constructs a newdev.metaschema.oscal.lib.model.AssessmentResults.LocalDefinitionsinstance with no metadata. -
LocalDefinitions
Constructs a newdev.metaschema.oscal.lib.model.AssessmentResults.LocalDefinitionsinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getObjectivesAndMethods
Get the "Assessment-Specific Control Objective".A local definition of a control objective for this assessment. Uses catalog syntax for control objective and assessment actions.
- Returns:
- the objectives-and-methods value
-
setObjectivesAndMethods
Set the "Assessment-Specific Control Objective".A local definition of a control objective for this assessment. Uses catalog syntax for control objective and assessment actions.
- Parameters:
value- the objectives-and-methods value to set
-
addObjectivesAndMethods
Add a newLocalObjectiveitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeObjectivesAndMethods
Remove the first matchingLocalObjectiveitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getActivities
Get the "Activity".Identifies an assessment or related process that can be performed. In the assessment plan, this is an intended activity which may be associated with an assessment task. In the assessment results, this an activity that was actually performed as part of an assessment.
- Returns:
- the activity value
-
setActivities
Set the "Activity".Identifies an assessment or related process that can be performed. In the assessment plan, this is an intended activity which may be associated with an assessment task. In the assessment results, this an activity that was actually performed as part of an assessment.
- Parameters:
value- the activity value to set
-
addActivity
Add a newActivityitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeActivity
Remove the first matchingActivityitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRemarks
Get the "Remarks".Additional commentary about the containing object.
- Returns:
- the remarks value, or
nullif not set
-
setRemarks
Set the "Remarks".Additional commentary about the containing object.
- Parameters:
value- the remarks value to set, ornullto clear
-
toString
-