Package gov.nist.secauto.oscal.lib.model
Class Modify.ProfileSetParameter
java.lang.Object
gov.nist.secauto.oscal.lib.model.Modify.ProfileSetParameter
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
- Enclosing class:
- Modify
@MetaschemaAssembly(formalName="Parameter Setting",
description="A parameter setting, to be propagated to points of insertion.",
name="set-parameter",
moduleClass=OscalProfileModule.class)
public static class Modify.ProfileSetParameter
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
A parameter setting, to be propagated to points of insertion.
-
Constructor Summary
ConstructorDescriptionProfileSetParameter
(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newParameterConstraint
item to the underlying collection.boolean
Add a newParameterGuideline
item to the underlying collection.boolean
Add a newLink
item to the underlying collection.boolean
Add a newProperty
item to the underlying collection.boolean
Add a newString
item to the underlying collection.getClazz()
gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine
getLabel()
getLinks()
gov.nist.secauto.metaschema.core.model.IMetaschemaData
getProps()
gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline
getUsage()
boolean
Remove the first matchingParameterConstraint
item from the underlying collection.boolean
Remove the first matchingParameterGuideline
item from the underlying collection.boolean
removeLink
(Link item) Remove the first matchingLink
item from the underlying collection.boolean
removeProp
(Property item) Remove the first matchingProperty
item from the underlying collection.boolean
removeValue
(String item) Remove the first matchingString
item from the underlying collection.void
void
setConstraints
(List<ParameterConstraint> value) void
setDependsOn
(String value) void
setGuidelines
(List<ParameterGuideline> value) void
setLabel
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value) void
void
setParamId
(String value) void
void
setSelect
(ParameterSelection value) void
setUsage
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) void
toString()
-
Constructor Details
-
ProfileSetParameter
public ProfileSetParameter() -
ProfileSetParameter
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getParamId
-
setParamId
-
getClazz
-
setClazz
-
getDependsOn
-
setDependsOn
-
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
-
getLabel
-
setLabel
-
getUsage
-
setUsage
-
getConstraints
-
setConstraints
-
addConstraint
Add a newParameterConstraint
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeConstraint
Remove the first matchingParameterConstraint
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getGuidelines
-
setGuidelines
-
addGuideline
Add a newParameterGuideline
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeGuideline
Remove the first matchingParameterGuideline
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getValues
-
setValues
-
addValue
Add a newString
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeValue
Remove the first matchingString
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getSelect
-
setSelect
-
toString
-