Package gov.nist.secauto.oscal.lib.model
Class ProfileGroup
java.lang.Object
gov.nist.secauto.oscal.lib.model.ProfileGroup
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Control Group",
description="A group of (selected) controls or of groups of controls.",
name="group",
moduleClass=OscalProfileModule.class,
remarks="This construct mirrors the same construct that exists in an OSCAL catalog.")
public class ProfileGroup
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
A group of (selected) controls or of groups of controls.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addGroup
(ProfileGroup item) Add a newProfileGroup
item to the underlying collection.boolean
Add a newInsertControls
item to the underlying collection.boolean
Add a newLink
item to the underlying collection.boolean
Add a newParameter
item to the underlying collection.boolean
addPart
(ControlPart item) Add a newControlPart
item to the underlying collection.boolean
Add a newProperty
item to the underlying collection.getClazz()
getId()
getLinks()
gov.nist.secauto.metaschema.core.model.IMetaschemaData
getParts()
getProps()
gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine
getTitle()
boolean
removeGroup
(ProfileGroup item) Remove the first matchingProfileGroup
item from the underlying collection.boolean
Remove the first matchingInsertControls
item from the underlying collection.boolean
removeLink
(Link item) Remove the first matchingLink
item from the underlying collection.boolean
removeParam
(Parameter item) Remove the first matchingParameter
item from the underlying collection.boolean
removePart
(ControlPart item) Remove the first matchingControlPart
item from the underlying collection.boolean
removeProp
(Property item) Remove the first matchingProperty
item from the underlying collection.void
void
setGroups
(List<ProfileGroup> value) void
void
setInsertControls
(List<InsertControls> value) void
void
void
setParts
(List<ControlPart> value) void
void
setTitle
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value) toString()
-
Constructor Details
-
ProfileGroup
public ProfileGroup() -
ProfileGroup
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getId
-
setId
-
getClazz
-
setClazz
-
getTitle
-
setTitle
-
getParams
-
setParams
-
addParam
Add a newParameter
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeParam
Remove the first matchingParameter
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getProps
-
setProps
-
addProp
Add a newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getLinks
-
setLinks
-
addLink
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
Remove the first matchingLink
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getParts
-
setParts
-
addPart
Add a newControlPart
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removePart
Remove the first matchingControlPart
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getGroups
-
setGroups
-
addGroup
Add a newProfileGroup
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeGroup
Remove the first matchingProfileGroup
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getInsertControls
-
setInsertControls
-
addInsertControls
Add a newInsertControls
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeInsertControls
Remove the first matchingInsertControls
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-