Class CatalogGroup
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject,ICatalogGroup,IControlContainer,IGroupContainer
-
Nested Class Summary
Nested classes/interfaces inherited from class dev.metaschema.oscal.lib.model.control.catalog.AbstractCatalogGroup
AbstractCatalogGroup.Builder -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.CatalogGroupinstance with no metadata.CatalogGroup(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.CatalogGroupinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddControl(Control item) Add a newControlitem to the underlying collection.booleanaddGroup(CatalogGroup item) Add a newCatalogGroupitem to the underlying collection.booleanAdd a newLinkitem to the underlying collection.booleanAdd a newParameteritem to the underlying collection.booleanaddPart(ControlPart item) Add a newControlPartitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.getClazz()Get the "Group Class".Get the "Control".Get the "Control Group".getId()Get the "Group Identifier".getLinks()Get the "Link".dev.metaschema.core.model.IMetaschemaDataGet the "Parameter".getParts()Get the "Part".getProps()Get the "Property".dev.metaschema.core.datatype.markup.MarkupLinegetTitle()Get the "Group Title".booleanremoveControl(Control item) Remove the first matchingControlitem from the underlying collection.booleanremoveGroup(CatalogGroup item) Remove the first matchingCatalogGroupitem from the underlying collection.booleanremoveLink(Link item) Remove the first matchingLinkitem from the underlying collection.booleanremoveParam(Parameter item) Remove the first matchingParameteritem from the underlying collection.booleanremovePart(ControlPart item) Remove the first matchingControlPartitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.voidSet the "Group Class".voidsetControls(List<Control> value) Set the "Control".voidsetGroups(List<CatalogGroup> value) Set the "Control Group".voidSet the "Group Identifier".voidSet the "Link".voidSet the "Parameter".voidsetParts(List<ControlPart> value) Set the "Part".voidSet the "Property".voidsetTitle(dev.metaschema.core.datatype.markup.MarkupLine value) Set the "Group Title".toString()Methods inherited from class dev.metaschema.oscal.lib.model.control.catalog.AbstractCatalogGroup
builder, getReferencedParameterIds
-
Constructor Details
-
CatalogGroup
public CatalogGroup()Constructs a newdev.metaschema.oscal.lib.model.CatalogGroupinstance with no metadata. -
CatalogGroup
Constructs a newdev.metaschema.oscal.lib.model.CatalogGroupinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getId
Get the "Group Identifier".Identifies the group for the purpose of cross-linking within the defining instance or from other instances that reference the catalog.
- Returns:
- the id value, or
nullif not set
-
setId
Set the "Group Identifier".Identifies the group for the purpose of cross-linking within the defining instance or from other instances that reference the catalog.
- Parameters:
value- the id value to set, ornullto clear
-
getClazz
Get the "Group Class".A textual label that provides a sub-type or characterization of the group.
- Returns:
- the class value, or
nullif not set
-
setClazz
Set the "Group Class".A textual label that provides a sub-type or characterization of the group.
- Parameters:
value- the class value to set, ornullto clear
-
getTitle
Get the "Group Title".A name given to the group, which may be used by a tool for display and navigation.
- Returns:
- the title value
-
setTitle
Set the "Group Title".A name given to the group, which may be used by a tool for display and navigation.
- Parameters:
value- the title value to set
-
getParams
Get the "Parameter".Parameters provide a mechanism for the dynamic assignment of value(s) in a control.
- Specified by:
getParamsin interfaceIControlContainer- Returns:
- the param value
-
setParams
Set the "Parameter".Parameters provide a mechanism for the dynamic assignment of value(s) in a control.
- Parameters:
value- the param value to set
-
addParam
Add a newParameteritem to the underlying collection.- Specified by:
addParamin interfaceIControlContainer- Parameters:
item- the item to add- Returns:
true
-
removeParam
Remove the first matchingParameteritem from the underlying collection.- Specified by:
removeParamin interfaceIControlContainer- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getProps
Get the "Property".An attribute, characteristic, or quality of the containing object expressed as a namespace qualified name/value pair.
- Returns:
- the prop value
-
setProps
Set the "Property".An attribute, characteristic, or quality of the containing object expressed as a namespace qualified name/value pair.
- Parameters:
value- the prop value to set
-
addProp
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getLinks
Get the "Link".A reference to a local or remote resource, that has a specific relation to the containing object.
- Returns:
- the link value
-
setLinks
Set the "Link".A reference to a local or remote resource, that has a specific relation to the containing object.
- Parameters:
value- the link value to set
-
addLink
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getParts
Get the "Part".An annotated, markup-based textual element of a control's or catalog group's definition, or a child of another part.
- Specified by:
getPartsin interfaceICatalogGroup- Returns:
- the part value
-
setParts
Set the "Part".An annotated, markup-based textual element of a control's or catalog group's definition, or a child of another part.
- Parameters:
value- the part value to set
-
addPart
Add a newControlPartitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removePart
Remove the first matchingControlPartitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getGroups
Get the "Control Group".A group of controls, or of groups of controls.
- Specified by:
getGroupsin interfaceIGroupContainer- Returns:
- the group value
-
setGroups
Set the "Control Group".A group of controls, or of groups of controls.
- Parameters:
value- the group value to set
-
addGroup
Add a newCatalogGroupitem to the underlying collection.- Specified by:
addGroupin interfaceIGroupContainer- Parameters:
item- the item to add- Returns:
true
-
removeGroup
Remove the first matchingCatalogGroupitem from the underlying collection.- Specified by:
removeGroupin interfaceIGroupContainer- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getControls
Get the "Control".A structured object representing a requirement or guideline, which when implemented will reduce an aspect of risk related to an information system and its information.
- Specified by:
getControlsin interfaceIControlContainer- Returns:
- the control value
-
setControls
Set the "Control".A structured object representing a requirement or guideline, which when implemented will reduce an aspect of risk related to an information system and its information.
- Parameters:
value- the control value to set
-
addControl
Add a newControlitem to the underlying collection.- Specified by:
addControlin interfaceIControlContainer- Parameters:
item- the item to add- Returns:
true
-
removeControl
Remove the first matchingControlitem from the underlying collection.- Specified by:
removeControlin interfaceIControlContainer- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
toString
-