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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddGroup(ProfileGroup item) Add a newProfileGroupitem to the underlying collection.booleanAdd a newInsertControlsitem 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()getId()getLinks()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetParts()getProps()gov.nist.secauto.metaschema.core.datatype.markup.MarkupLinegetTitle()booleanremoveGroup(ProfileGroup item) Remove the first matchingProfileGroupitem from the underlying collection.booleanRemove the first matchingInsertControlsitem 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.voidvoidsetGroups(List<ProfileGroup> value) voidvoidsetInsertControls(List<InsertControls> value) voidvoidvoidsetParts(List<ControlPart> value) voidvoidsetTitle(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value) toString()
-
Constructor Details
-
ProfileGroup
public ProfileGroup() -
ProfileGroup
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getId
-
setId
-
getClazz
-
setClazz
-
getTitle
-
setTitle
-
getParams
-
setParams
-
addParam
Add a newParameteritem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeParam
Remove the first matchingParameteritem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getProps
-
setProps
-
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
-
setLinks
-
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
-
setParts
-
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
-
setGroups
-
addGroup
Add a newProfileGroupitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeGroup
Remove the first matchingProfileGroupitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getInsertControls
-
setInsertControls
-
addInsertControls
Add a newInsertControlsitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeInsertControls
Remove the first matchingInsertControlsitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
toString
-