Class Modify.ProfileSetParameter
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
- Enclosing class:
- Modify
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.Modify.ProfileSetParameterinstance with no metadata.ProfileSetParameter(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.Modify.ProfileSetParameterinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newParameterConstraintitem to the underlying collection.booleanAdd a newParameterGuidelineitem to the underlying collection.booleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.booleanAdd a newStringitem to the underlying collection.getClazz()Get the "Parameter Class".Get the "Constraint".Get the "Depends On".Get the "Guideline".dev.metaschema.core.datatype.markup.MarkupLinegetLabel()Get the "Parameter Label".getLinks()Get the "Link".dev.metaschema.core.model.IMetaschemaDataGet the "Parameter ID".getProps()Get the "Property".Get the "Selection".dev.metaschema.core.datatype.markup.MarkupMultilinegetUsage()Get the "Parameter Usage Description".Get the "Parameter Value".booleanRemove the first matchingParameterConstraintitem from the underlying collection.booleanRemove the first matchingParameterGuidelineitem from the underlying collection.booleanremoveLink(Link item) Remove the first matchingLinkitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.booleanremoveValue(String item) Remove the first matchingStringitem from the underlying collection.voidSet the "Parameter Class".voidsetConstraints(List<ParameterConstraint> value) Set the "Constraint".voidsetDependsOn(String value) Set the "Depends On".voidsetGuidelines(List<ParameterGuideline> value) Set the "Guideline".voidsetLabel(dev.metaschema.core.datatype.markup.MarkupLine value) Set the "Parameter Label".voidSet the "Link".voidsetParamId(String value) Set the "Parameter ID".voidSet the "Property".voidsetSelect(ParameterSelection value) Set the "Selection".voidsetUsage(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Parameter Usage Description".voidSet the "Parameter Value".toString()
-
Constructor Details
-
ProfileSetParameter
public ProfileSetParameter()Constructs a newdev.metaschema.oscal.lib.model.Modify.ProfileSetParameterinstance with no metadata. -
ProfileSetParameter
Constructs a newdev.metaschema.oscal.lib.model.Modify.ProfileSetParameterinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getParamId
Get the "Parameter ID".An identifier for the parameter.
- Returns:
- the param-id value
-
setParamId
Set the "Parameter ID".An identifier for the parameter.
- Parameters:
value- the param-id value to set
-
getClazz
Get the "Parameter Class".A textual label that provides a characterization of the parameter.
- Returns:
- the class value, or
nullif not set
-
setClazz
Set the "Parameter Class".A textual label that provides a characterization of the parameter.
- Parameters:
value- the class value to set, ornullto clear
-
getDependsOn
Get the "Depends On".**(deprecated)** Another parameter invoking this one. This construct has been deprecated and should not be used.
- Returns:
- the depends-on value, or
nullif not set
-
setDependsOn
Set the "Depends On".**(deprecated)** Another parameter invoking this one. This construct has been deprecated and should not be used.
- Parameters:
value- the depends-on value to set, ornullto clear
-
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
-
getLabel
Get the "Parameter Label".A short, placeholder name for the parameter, which can be used as a substitute for a
valueif no value is assigned.- Returns:
- the label value, or
nullif not set
-
setLabel
Set the "Parameter Label".A short, placeholder name for the parameter, which can be used as a substitute for a
valueif no value is assigned.- Parameters:
value- the label value to set, ornullto clear
-
getUsage
Get the "Parameter Usage Description".Describes the purpose and use of a parameter.
- Returns:
- the usage value, or
nullif not set
-
setUsage
Set the "Parameter Usage Description".Describes the purpose and use of a parameter.
- Parameters:
value- the usage value to set, ornullto clear
-
getConstraints
Get the "Constraint".A formal or informal expression of a constraint or test.
- Returns:
- the constraint value
-
setConstraints
Set the "Constraint".A formal or informal expression of a constraint or test.
- Parameters:
value- the constraint value to set
-
addConstraint
Add a newParameterConstraintitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeConstraint
Remove the first matchingParameterConstraintitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getGuidelines
Get the "Guideline".A prose statement that provides a recommendation for the use of a parameter.
- Returns:
- the guideline value
-
setGuidelines
Set the "Guideline".A prose statement that provides a recommendation for the use of a parameter.
- Parameters:
value- the guideline value to set
-
addGuideline
Add a newParameterGuidelineitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeGuideline
Remove the first matchingParameterGuidelineitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getValues
Get the "Parameter Value".A parameter value or set of values.
- Returns:
- the value value
-
setValues
Set the "Parameter Value".A parameter value or set of values.
- Parameters:
value- the value value to set
-
addValue
Add a newStringitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeValue
Remove the first matchingStringitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getSelect
Get the "Selection".Presenting a choice among alternatives.
- Returns:
- the select value, or
nullif not set
-
setSelect
Set the "Selection".Presenting a choice among alternatives.
- Parameters:
value- the select value to set, ornullto clear
-
toString
-