|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.jwarp.service.param.Property
Title: JWeb Developer Header Description: Draft Copyright: Copyright (c) 2001 Company: ORCA Systems GmbH
| Field Summary | |
protected java.lang.String |
name
|
java.lang.Object |
value
|
| Constructor Summary | |
Property()
|
|
Property(java.lang.String name)
|
|
| Method Summary | |
boolean |
getAsBoolean(boolean defaultValue)
Retrieve the boolean value of the specified parameter. |
double |
getAsDouble(double defaultValue)
Retrieve the float value of the specified parameter. |
float |
getAsFloat(float defaultValue)
Retrieve the float value of the specified parameter. |
int |
getAsInteger(int defaultValue)
Retrieve the int value of the specified parameter. |
long |
getAsLong(long defaultValue)
Retrieve the long value of the specified parameter. |
java.lang.String |
getAsString(java.lang.String defaultValue)
Retrieve the string value of the specified parameter. |
java.lang.String |
getName()
|
java.lang.Object |
getValue()
Retrieve the value of the specified parameter. |
java.lang.Object |
getValue(java.lang.Object defaultValue)
Retrieve the String value of the specified parameter. |
void |
setName(java.lang.String name)
|
void |
setValue(java.lang.Object object)
Set a new value. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
protected java.lang.String name
public java.lang.Object value
| Constructor Detail |
public Property()
public Property(java.lang.String name)
| Method Detail |
public java.lang.String getName()
getName in interface IPropertypublic void setName(java.lang.String name)
public void setValue(java.lang.Object object)
throws ParameterException
setValue in interface IPropertyThe - new valueParameterException - Raise if the validation of the new value failes or the parameter
is only a IN-parameter (read-only).public java.lang.Object getValue(java.lang.Object defaultValue)
String value of the specified parameter.
If the specified parameter cannot be found, defaultValue is returned.getValue in interface IPropertypublic java.lang.Object getValue()
IPropertygetValue in interface IPropertypublic int getAsInteger(int defaultValue)
int value of the specified parameter.
If the specified parameter cannot be found, defaultValue is returned.getAsInteger in interface IPropertypublic long getAsLong(long defaultValue)
long value of the specified parameter.
If the specified parameter cannot be found, defaultValue is returned.getAsLong in interface IPropertypublic java.lang.String getAsString(java.lang.String defaultValue)
string value of the specified parameter.
If the specified parameter cannot be found, defaultValue is returned.getAsString in interface IPropertypublic float getAsFloat(float defaultValue)
float value of the specified parameter.
If the specified parameter cannot be found, defaultValue is returned.getAsFloat in interface IPropertypublic double getAsDouble(double defaultValue)
float value of the specified parameter.
If the specified parameter cannot be found, defaultValue is returned.getAsDouble in interface IPropertypublic boolean getAsBoolean(boolean defaultValue)
boolean value of the specified parameter.
If the specified parameter cannot be found, defaultValue is returned.getAsBoolean in interface IProperty
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||