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
ConstructorsConstructorDescriptionProfileSetParameter(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
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()gov.nist.secauto.metaschema.core.datatype.markup.MarkupLinegetLabel()getLinks()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetProps()gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinegetUsage()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.voidvoidsetConstraints(List<ParameterConstraint> value) voidsetDependsOn(String value) voidsetGuidelines(List<ParameterGuideline> value) voidsetLabel(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value) voidvoidsetParamId(String value) voidvoidsetSelect(ParameterSelection value) voidsetUsage(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) voidtoString()
-
Constructor Details
-
ProfileSetParameter
public ProfileSetParameter() -
ProfileSetParameter
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getParamId
-
setParamId
-
getClazz
-
setClazz
-
getDependsOn
-
setDependsOn
-
getProps
-
setProps
-
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
-
setLinks
-
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
-
setLabel
-
getUsage
-
setUsage
-
getConstraints
-
setConstraints
-
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
-
setGuidelines
-
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
-
setValues
-
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
-
setSelect
-
toString
-