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