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 ObjectA 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 booleanaddGroup(ProfileGroup item)Add a newProfileGroupitem to the underlying collection.booleanaddInsertControls(InsertControls item)Add a newInsertControlsitem to the underlying collection.booleanaddLink(Link item)Add a newLinkitem to the underlying collection.booleanaddParam(Parameter item)Add a newParameteritem to the underlying collection.booleanaddPart(ControlPart item)Add a newControlPartitem to the underlying collection.booleanaddProp(Property item)Add a newPropertyitem to the underlying collection.StringgetClazz()List<ProfileGroup>getGroups()StringgetId()List<InsertControls>getInsertControls()List<Link>getLinks()List<Parameter>getParams()List<ControlPart>getParts()List<Property>getProps()gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLinegetTitle()booleanremoveGroup(ProfileGroup item)Remove the first matchingProfileGroupitem from the underlying collection.booleanremoveInsertControls(InsertControls item)Remove 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.voidsetClazz(String value)voidsetGroups(List<ProfileGroup> value)voidsetId(String value)voidsetInsertControls(List<InsertControls> value)voidsetLinks(List<Link> value)voidsetParams(List<Parameter> value)voidsetParts(List<ControlPart> value)voidsetProps(List<Property> value)voidsetTitle(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine value)StringtoString()
-
-
-
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 newParameteritem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeParam
public boolean removeParam(Parameter item)
Remove the first matchingParameteritem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
addProp
public boolean addProp(Property item)
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
addLink
public boolean addLink(Link item)
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getParts
public List<ControlPart> getParts()
-
setParts
public void setParts(List<ControlPart> value)
-
addPart
public boolean addPart(ControlPart item)
Add a newControlPartitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removePart
public boolean removePart(ControlPart item)
Remove the first matchingControlPartitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getGroups
public List<ProfileGroup> getGroups()
-
setGroups
public void setGroups(List<ProfileGroup> value)
-
addGroup
public boolean addGroup(ProfileGroup item)
Add a newProfileGroupitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeGroup
public boolean removeGroup(ProfileGroup item)
Remove the first matchingProfileGroupitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getInsertControls
public List<InsertControls> getInsertControls()
-
setInsertControls
public void setInsertControls(List<InsertControls> value)
-
addInsertControls
public boolean addInsertControls(InsertControls item)
Add a newInsertControlsitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeInsertControls
public boolean removeInsertControls(InsertControls item)
Remove the first matchingInsertControlsitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
-