|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectjCMPL.CmplParameter
public class CmplParameter
Handling of CMPL parameters in jCMPL
Constructor Summary | |
---|---|
CmplParameter(java.lang.String name)
Constructor for a scalar parameter |
|
CmplParameter(java.lang.String name,
CmplSet... sets)
Constructor for a parameter array |
Method Summary | |
---|---|
long |
len()
Length of the parameter array |
java.lang.String |
name()
Name of the parameter |
long |
rank()
Rank of the parameter |
java.util.List<CmplSet> |
setList()
Returns a List of the invoked sets |
void |
setValues(java.lang.Integer val)
Sets the value of a scaler Integer parameter |
void |
setValues(java.lang.Long val)
Sets the value of a scaler 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 scaler 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmplParameter(java.lang.String name) throws CmplException
name
- Name of the set
CmplException
public CmplParameter(java.lang.String name, CmplSet... sets) throws CmplException
name
- Name of the setsets
- CmplSets over that the parameter is defined
CmplException
Method Detail |
---|
public void setValues(java.lang.Integer val) throws CmplException
val
- value
CmplException
public void setValues(java.lang.Long val) throws CmplException
val
- value
CmplException
public void setValues(java.lang.String val) throws CmplException
val
- value
CmplException
public void setValues(java.lang.Object val) throws CmplException
val
- List or array of parameter values
CmplException
public java.util.List<CmplSet> setList()
public java.lang.Object values()
public java.lang.Object value()
public java.lang.String name()
public long rank()
public long len()
public int valType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |