|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.type.util.UDFDefaultValue
public class UDFDefaultValue
Constructor Summary | |
---|---|
UDFDefaultValue(UDF udf,
int index)
Deprecated. Constructor of the class |
Method Summary | |
---|---|
Boolean |
castToBoolean(Boolean defaultValue)
Deprecated. cast the castable value to a boolean value |
boolean |
castToBooleanValue()
Deprecated. cast the castable value to a boolean value |
DateTime |
castToDateTime()
Deprecated. cast the castable value to a date time object |
DateTime |
castToDateTime(DateTime defaultValue)
Deprecated. cast the castable value to a date time object |
double |
castToDoubleValue()
Deprecated. cast the castable value to a double value |
double |
castToDoubleValue(double defaultValue)
Deprecated. cast the castable value to a double value |
String |
castToString()
Deprecated. cast the castable value to a string, other than the Method toString, this Method can throw a Exception |
String |
castToString(String defaultValue)
Deprecated. cast the castable value to a string, return the default value, when the method is not castable |
int |
compareTo(boolean b)
Deprecated. |
int |
compareTo(DateTime dt)
Deprecated. |
int |
compareTo(double d)
Deprecated. |
int |
compareTo(String str)
Deprecated. |
Object |
getEmbededObject()
Deprecated. returns embeded Object |
Object |
getEmbededObject(Object defaultValue)
Deprecated. returns embeded Object EL |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UDFDefaultValue(UDF udf, int index)
udf
- index
- Method Detail |
---|
public Object getEmbededObject()
ObjectWrap
getEmbededObject
in interface ObjectWrap
ObjectWrap.getEmbededObject()
public Object getEmbededObject(Object defaultValue)
ObjectWrap
getEmbededObject
in interface ObjectWrap
ObjectWrap.getEmbededObject(java.lang.Object)
public boolean castToBooleanValue() throws PageException
Castable
castToBooleanValue
in interface Castable
PageException
Castable.castToBooleanValue()
public Boolean castToBoolean(Boolean defaultValue)
Castable
castToBoolean
in interface Castable
Castable.castToBoolean(java.lang.Boolean)
public DateTime castToDateTime() throws PageException
Castable
castToDateTime
in interface Castable
PageException
Castable.castToDateTime()
public DateTime castToDateTime(DateTime defaultValue)
Castable
castToDateTime
in interface Castable
defaultValue
- returned when it is not possible to cast to a dateTime object
Castable.castToDateTime(railo.runtime.type.dt.DateTime)
public double castToDoubleValue() throws PageException
Castable
castToDoubleValue
in interface Castable
PageException
Castable.castToDoubleValue()
public double castToDoubleValue(double defaultValue)
Castable
castToDoubleValue
in interface Castable
Castable.castToDoubleValue(double)
public String castToString() throws PageException
Castable
castToString
in interface Castable
PageException
Castable.castToString()
public String castToString(String defaultValue)
Castable
castToString
in interface Castable
Castable.castToString(java.lang.String)
public int compareTo(String str) throws PageException
compareTo
in interface Castable
PageException
Castable.compareTo(java.lang.String)
public int compareTo(boolean b) throws PageException
compareTo
in interface Castable
PageException
Castable.compareTo(boolean)
public int compareTo(double d) throws PageException
compareTo
in interface Castable
PageException
Castable.compareTo(double)
public int compareTo(DateTime dt) throws PageException
compareTo
in interface Castable
PageException
Castable.compareTo(railo.runtime.type.dt.DateTime)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |