Class ProfileGroup
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.ProfileGroupinstance with no metadata.ProfileGroup(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.ProfileGroupinstance with the specified metadata. -
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()Get the "Group Class".Get the "Control Group".getId()Get the "Group Identifier".Get the "Insert Controls".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".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.voidSet the "Group Class".voidsetGroups(List<ProfileGroup> value) Set the "Control Group".voidSet the "Group Identifier".voidsetInsertControls(List<InsertControls> value) Set the "Insert Controls".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()
-
Constructor Details
-
ProfileGroup
public ProfileGroup()Constructs a newdev.metaschema.oscal.lib.model.ProfileGroupinstance with no metadata. -
ProfileGroup
Constructs a newdev.metaschema.oscal.lib.model.ProfileGroupinstance 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.
- Returns:
- the id value, or
nullif not set
-
setId
Set the "Group Identifier".Identifies the group.
- 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 to be given to the group for use in display.
- Returns:
- the title value
-
setTitle
Set the "Group Title".A name to be given to the group for use in display.
- 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.
- 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.- 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
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.
- 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 (selected) controls or of groups of controls.
- Returns:
- the group value
-
setGroups
Set the "Control Group".A group of (selected) controls or of groups of controls.
- Parameters:
value- the group value to set
-
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
Get the "Insert Controls".Specifies which controls to use in the containing context.
- Returns:
- the insert-controls value
-
setInsertControls
Set the "Insert Controls".Specifies which controls to use in the containing context.
- Parameters:
value- the insert-controls value to set
-
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
-