Package gov.nist.secauto.oscal.lib.model
Class Modify.ProfileSetParameter
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.Modify.ProfileSetParameter
-
- Enclosing class:
- Modify
@MetaschemaAssembly(formalName="Parameter Setting", description="A parameter setting, to be propagated to points of insertion.", name="set-parameter", metaschema=OscalProfileMetaschema.class) public static class Modify.ProfileSetParameter extends ObjectA parameter setting, to be propagated to points of insertion.
-
-
Constructor Summary
Constructors Constructor Description ProfileSetParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddConstraint(ParameterConstraint item)Add a newParameterConstraintitem to the underlying collection.booleanaddGuideline(ParameterGuideline item)Add a newParameterGuidelineitem to the underlying collection.booleanaddLink(Link item)Add a newLinkitem to the underlying collection.booleanaddProp(Property item)Add a newPropertyitem to the underlying collection.booleanaddValue(String item)Add a newStringitem to the underlying collection.StringgetClazz()List<ParameterConstraint>getConstraints()StringgetDependsOn()List<ParameterGuideline>getGuidelines()gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLinegetLabel()List<Link>getLinks()StringgetParamId()List<Property>getProps()ParameterSelectiongetSelect()gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetUsage()List<String>getValues()booleanremoveConstraint(ParameterConstraint item)Remove the first matchingParameterConstraintitem from the underlying collection.booleanremoveGuideline(ParameterGuideline item)Remove 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.voidsetClazz(String value)voidsetConstraints(List<ParameterConstraint> value)voidsetDependsOn(String value)voidsetGuidelines(List<ParameterGuideline> value)voidsetLabel(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine value)voidsetLinks(List<Link> value)voidsetParamId(String value)voidsetProps(List<Property> value)voidsetSelect(ParameterSelection value)voidsetUsage(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)voidsetValues(List<String> value)StringtoString()
-
-
-
Constructor Detail
-
ProfileSetParameter
public ProfileSetParameter()
-
-
Method Detail
-
getParamId
public String getParamId()
-
setParamId
public void setParamId(String value)
-
getDependsOn
public String getDependsOn()
-
setDependsOn
public void setDependsOn(String value)
-
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
-
getLabel
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine getLabel()
-
setLabel
public void setLabel(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine value)
-
getUsage
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getUsage()
-
setUsage
public void setUsage(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
-
getConstraints
public List<ParameterConstraint> getConstraints()
-
setConstraints
public void setConstraints(List<ParameterConstraint> value)
-
addConstraint
public boolean addConstraint(ParameterConstraint item)
Add a newParameterConstraintitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeConstraint
public boolean removeConstraint(ParameterConstraint item)
Remove the first matchingParameterConstraintitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getGuidelines
public List<ParameterGuideline> getGuidelines()
-
setGuidelines
public void setGuidelines(List<ParameterGuideline> value)
-
addGuideline
public boolean addGuideline(ParameterGuideline item)
Add a newParameterGuidelineitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeGuideline
public boolean removeGuideline(ParameterGuideline item)
Remove the first matchingParameterGuidelineitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
addValue
public boolean addValue(String item)
Add a newStringitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeValue
public boolean removeValue(String item)
Remove the first matchingStringitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getSelect
public ParameterSelection getSelect()
-
setSelect
public void setSelect(ParameterSelection value)
-
-