Package gov.nist.secauto.oscal.lib.model
Class SetParameter
java.lang.Object
gov.nist.secauto.oscal.lib.model.SetParameter
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Set Parameter Value",
description="Identifies the parameter that will be set by the enclosed value.",
name="set-parameter",
moduleClass=OscalImplementationCommonModule.class)
public class SetParameter
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Identifies the parameter that will be set by the enclosed value.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newStringitem to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaDatagov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinebooleanremoveValue(String item) Remove the first matchingStringitem from the underlying collection.voidsetParamId(String value) voidsetRemarks(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) voidtoString()
-
Constructor Details
-
SetParameter
public SetParameter() -
SetParameter
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getParamId
-
setParamId
-
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
-
getRemarks
-
setRemarks
-
toString
-