Class Result.LocalDefinitions
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
- Enclosing class:
- Result
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.Result.LocalDefinitionsinstance with no metadata.LocalDefinitions(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.Result.LocalDefinitionsinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddAssessmentTask(Task item) Add a newTaskitem to the underlying collection.booleanaddComponent(SystemComponent item) Add a newSystemComponentitem to the underlying collection.booleanAdd a newInventoryItemitem to the underlying collection.booleanaddUser(SystemUser item) Add a newSystemUseritem to the underlying collection.Get the "Assessment Assets".Get the "Component".Get the "Inventory Item".dev.metaschema.core.model.IMetaschemaDatagetTasks()Get the "Task".getUsers()Get the "System User".booleanremoveAssessmentTask(Task item) Remove the first matchingTaskitem from the underlying collection.booleanRemove the first matchingSystemComponentitem from the underlying collection.booleanRemove the first matchingInventoryItemitem from the underlying collection.booleanremoveUser(SystemUser item) Remove the first matchingSystemUseritem from the underlying collection.voidSet the "Assessment Assets".voidsetComponents(List<SystemComponent> value) Set the "Component".voidsetInventoryItems(List<InventoryItem> value) Set the "Inventory Item".voidSet the "Task".voidsetUsers(List<SystemUser> value) Set the "System User".toString()
-
Constructor Details
-
LocalDefinitions
public LocalDefinitions()Constructs a newdev.metaschema.oscal.lib.model.Result.LocalDefinitionsinstance with no metadata. -
LocalDefinitions
Constructs a newdev.metaschema.oscal.lib.model.Result.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
-
getAssessmentAssets
Get the "Assessment Assets".Identifies the assets used to perform this assessment, such as the assessment team, scanning tools, and assumptions.
- Returns:
- the assessment-assets value, or
nullif not set
-
setAssessmentAssets
Set the "Assessment Assets".Identifies the assets used to perform this assessment, such as the assessment team, scanning tools, and assumptions.
- Parameters:
value- the assessment-assets value to set, ornullto clear
-
getTasks
Get the "Task".Represents a scheduled event or milestone, which may be associated with a series of assessment actions.
- Returns:
- the assessment-task value
-
setTasks
Set the "Task".Represents a scheduled event or milestone, which may be associated with a series of assessment actions.
- Parameters:
value- the assessment-task value to set
-
addAssessmentTask
Add a newTaskitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeAssessmentTask
Remove the first matchingTaskitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
toString
-