Class AssessmentPlan.LocalDefinitions
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
- Enclosing class:
- AssessmentPlan
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.AssessmentPlan.LocalDefinitionsinstance with no metadata.LocalDefinitions(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.AssessmentPlan.LocalDefinitionsinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddActivity(Activity item) Add a newActivityitem to the underlying collection.booleanaddComponent(SystemComponent item) Add a newSystemComponentitem to the underlying collection.booleanAdd a newInventoryItemitem to the underlying collection.booleanAdd a newLocalObjectiveitem to the underlying collection.booleanaddUser(SystemUser item) Add a newSystemUseritem to the underlying collection.Get the "Activity".Get the "Component".Get the "Inventory Item".dev.metaschema.core.model.IMetaschemaDataGet the "Assessment-Specific Control Objective".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".getUsers()Get the "System User".booleanremoveActivity(Activity item) Remove the first matchingActivityitem from the underlying collection.booleanRemove the first matchingSystemComponentitem from the underlying collection.booleanRemove the first matchingInventoryItemitem from the underlying collection.booleanRemove the first matchingLocalObjectiveitem from the underlying collection.booleanremoveUser(SystemUser item) Remove the first matchingSystemUseritem from the underlying collection.voidsetActivities(List<Activity> value) Set the "Activity".voidsetComponents(List<SystemComponent> value) Set the "Component".voidsetInventoryItems(List<InventoryItem> value) Set the "Inventory Item".voidSet the "Assessment-Specific Control Objective".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".voidsetUsers(List<SystemUser> value) Set the "System User".toString()
-
Constructor Details
-
LocalDefinitions
public LocalDefinitions()Constructs a newdev.metaschema.oscal.lib.model.AssessmentPlan.LocalDefinitionsinstance with no metadata. -
LocalDefinitions
Constructs a newdev.metaschema.oscal.lib.model.AssessmentPlan.LocalDefinitionsinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getComponents
Get the "Component".A defined component that can be part of an implemented system.
- Returns:
- the component value
-
setComponents
Set the "Component".A defined component that can be part of an implemented system.
- Parameters:
value- the component value to set
-
addComponent
Add a newSystemComponentitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeComponent
Remove the first matchingSystemComponentitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getInventoryItems
Get the "Inventory Item".A single managed inventory item within the system.
- Returns:
- the inventory-item value
-
setInventoryItems
Set the "Inventory Item".A single managed inventory item within the system.
- Parameters:
value- the inventory-item value to set
-
addInventoryItem
Add a newInventoryItemitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeInventoryItem
Remove the first matchingInventoryItemitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getUsers
Get the "System User".A type of user that interacts with the system based on an associated role.
- Returns:
- the user value
-
setUsers
Set the "System User".A type of user that interacts with the system based on an associated role.
- Parameters:
value- the user value to set
-
addUser
Add a newSystemUseritem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeUser
Remove the first matchingSystemUseritem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
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
-