public class CmplParameter
extends java.lang.Object
Constructor and Description |
---|
CmplParameter(java.lang.String name)
Constructor for a scalar parameter
|
CmplParameter(java.lang.String name,
CmplSet... sets)
Constructor for a parameter array
|
Modifier and Type | Method and Description |
---|---|
long |
len()
Length of the parameter array
|
java.lang.String |
name()
Name of the parameter
|
int |
rank()
Rank of the parameter
|
java.util.List<CmplSet> |
setList()
Returns a List of the invoked sets
|
void |
setValues(java.lang.Double val)
Sets the value of a scaler Double parameter
|
void |
setValues(java.lang.Float val)
Sets the value of a scalar Float parameter
|
void |
setValues(java.lang.Integer val)
Sets the value of a scalar Integer parameter
|
void |
setValues(java.lang.Long val)
Sets the value of a scalar Long parameter
|
void |
setValues(java.lang.Object val)
Defines the values of a parameter array
|
void |
setValues(java.lang.String val)
Sets the value of a scalar String parameter
|
int |
valType()
Returns whether the parameter is organized as list, array or single value
|
java.lang.Object |
value()
Value of a scalar parameter
|
java.lang.Object |
values()
List of the values of a parameter
|
public CmplParameter(java.lang.String name) throws CmplException
name
- Name of the setCmplException
public CmplParameter(java.lang.String name, CmplSet... sets) throws CmplException
name
- Name of the setsets
- CmplSets over that the parameter is definedCmplException
public void setValues(java.lang.Integer val) throws CmplException
val
- valueCmplException
public void setValues(java.lang.Long val) throws CmplException
val
- valueCmplException
public void setValues(java.lang.Float val) throws CmplException
val
- valueCmplException
public void setValues(java.lang.Double val) throws CmplException
val
- valueCmplException
public void setValues(java.lang.String val) throws CmplException
val
- valueCmplException
public void setValues(java.lang.Object val) throws CmplException
val
- List or array of parameter valuesCmplException
public java.util.List<CmplSet> setList()
public java.lang.Object values()
public java.lang.Object value()
public java.lang.String name()
public int rank()
public long len()
public int valType()