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 Object
A 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 boolean
addConstraint(ParameterConstraint item)
Add a newParameterConstraint
item to the underlying collection.boolean
addGuideline(ParameterGuideline item)
Add a newParameterGuideline
item to the underlying collection.boolean
addLink(Link item)
Add a newLink
item to the underlying collection.boolean
addProp(Property item)
Add a newProperty
item to the underlying collection.boolean
addValue(String item)
Add a newString
item to the underlying collection.String
getClazz()
List<ParameterConstraint>
getConstraints()
String
getDependsOn()
List<ParameterGuideline>
getGuidelines()
gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine
getLabel()
List<Link>
getLinks()
String
getParamId()
List<Property>
getProps()
ParameterSelection
getSelect()
gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline
getUsage()
List<String>
getValues()
boolean
removeConstraint(ParameterConstraint item)
Remove the first matchingParameterConstraint
item from the underlying collection.boolean
removeGuideline(ParameterGuideline item)
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
setClazz(String value)
void
setConstraints(List<ParameterConstraint> value)
void
setDependsOn(String value)
void
setGuidelines(List<ParameterGuideline> value)
void
setLabel(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine value)
void
setLinks(List<Link> value)
void
setParamId(String value)
void
setProps(List<Property> value)
void
setSelect(ParameterSelection value)
void
setUsage(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
void
setValues(List<String> value)
String
toString()
-
-
-
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 newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
addLink
public boolean addLink(Link item)
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
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
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 newParameterConstraint
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeConstraint
public boolean removeConstraint(ParameterConstraint item)
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
public List<ParameterGuideline> getGuidelines()
-
setGuidelines
public void setGuidelines(List<ParameterGuideline> value)
-
addGuideline
public boolean addGuideline(ParameterGuideline item)
Add a newParameterGuideline
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeGuideline
public boolean removeGuideline(ParameterGuideline item)
Remove the first matchingParameterGuideline
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
addValue
public boolean addValue(String item)
Add a newString
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeValue
public boolean removeValue(String item)
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
public ParameterSelection getSelect()
-
setSelect
public void setSelect(ParameterSelection value)
-
-