|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cesta.types.Parameter
public final class Parameter
Type Parameter
is composed of a name and a value.
Constructor Summary | |
---|---|
Parameter()
|
Method Summary | |
---|---|
protected static java.lang.Boolean |
getBooleanValue(java.lang.String value)
Returns boolean value if value equals yes, true, on or 1 and false if value equals no, false, off or 0. |
java.lang.String |
getName()
Get the name attribute. |
protected static java.lang.Number |
getNumberValue(java.lang.String value)
Returns numberic value if value has numeric format (Integer or Double). |
java.lang.Object |
getValue()
Get the value attribute. |
void |
setName(java.lang.String name)
Set the name attribute. |
void |
setValue(java.lang.String value)
Set the value attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Parameter()
Method Detail |
---|
public void setName(java.lang.String name)
name
- a String
valueprotected static java.lang.Boolean getBooleanValue(java.lang.String value)
value
- value
protected static java.lang.Number getNumberValue(java.lang.String value)
value
- value
public void setValue(java.lang.String value)
value
- a String
valuepublic java.lang.String getName()
String
valuepublic java.lang.Object getValue()
Object
value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |