railo.runtime.type.util
Class UDFDefaultValue

java.lang.Object
  extended by railo.runtime.type.util.UDFDefaultValue
All Implemented Interfaces:
Serializable, Castable, ObjectWrap

Deprecated. this class is no longer used with no replacment

public class UDFDefaultValue
extends Object
implements ObjectWrap, Castable

See Also:
Serialized Form

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

UDFDefaultValue

public UDFDefaultValue(UDF udf,
                       int index)
Deprecated. 
Constructor of the class

Parameters:
udf -
index -
Method Detail

getEmbededObject

public Object getEmbededObject()
Deprecated. 
Description copied from interface: ObjectWrap
returns embeded Object

Specified by:
getEmbededObject in interface ObjectWrap
Returns:
embeded Object
See Also:
ObjectWrap.getEmbededObject()

getEmbededObject

public Object getEmbededObject(Object defaultValue)
Deprecated. 
Description copied from interface: ObjectWrap
returns embeded Object EL

Specified by:
getEmbededObject in interface ObjectWrap
Returns:
embeded Object
See Also:
ObjectWrap.getEmbededObject(java.lang.Object)

castToBooleanValue

public boolean castToBooleanValue()
                           throws PageException
Deprecated. 
Description copied from interface: Castable
cast the castable value to a boolean value

Specified by:
castToBooleanValue in interface Castable
Returns:
boolean Value representation of the Object
Throws:
PageException
See Also:
Castable.castToBooleanValue()

castToBoolean

public Boolean castToBoolean(Boolean defaultValue)
Deprecated. 
Description copied from interface: Castable
cast the castable value to a boolean value

Specified by:
castToBoolean in interface Castable
Returns:
boolean Value representation of the Object
See Also:
Castable.castToBoolean(java.lang.Boolean)

castToDateTime

public DateTime castToDateTime()
                        throws PageException
Deprecated. 
Description copied from interface: Castable
cast the castable value to a date time object

Specified by:
castToDateTime in interface Castable
Returns:
date time representation of the Object
Throws:
PageException
See Also:
Castable.castToDateTime()

castToDateTime

public DateTime castToDateTime(DateTime defaultValue)
Deprecated. 
Description copied from interface: Castable
cast the castable value to a date time object

Specified by:
castToDateTime in interface Castable
Parameters:
defaultValue - returned when it is not possible to cast to a dateTime object
Returns:
date time representation of the Object
See Also:
Castable.castToDateTime(railo.runtime.type.dt.DateTime)

castToDoubleValue

public double castToDoubleValue()
                         throws PageException
Deprecated. 
Description copied from interface: Castable
cast the castable value to a double value

Specified by:
castToDoubleValue in interface Castable
Returns:
double Value representation of the Object
Throws:
PageException
See Also:
Castable.castToDoubleValue()

castToDoubleValue

public double castToDoubleValue(double defaultValue)
Deprecated. 
Description copied from interface: Castable
cast the castable value to a double value

Specified by:
castToDoubleValue in interface Castable
Returns:
double Value representation of the Object
See Also:
Castable.castToDoubleValue(double)

castToString

public String castToString()
                    throws PageException
Deprecated. 
Description copied from interface: Castable
cast the castable value to a string, other than the Method toString, this Method can throw a Exception

Specified by:
castToString in interface Castable
Returns:
String representation of the Object
Throws:
PageException
See Also:
Castable.castToString()

castToString

public String castToString(String defaultValue)
Deprecated. 
Description copied from interface: Castable
cast the castable value to a string, return the default value, when the method is not castable

Specified by:
castToString in interface Castable
Returns:
String representation of the Object
See Also:
Castable.castToString(java.lang.String)

compareTo

public int compareTo(String str)
              throws PageException
Deprecated. 
Specified by:
compareTo in interface Castable
Throws:
PageException
See Also:
Castable.compareTo(java.lang.String)

compareTo

public int compareTo(boolean b)
              throws PageException
Deprecated. 
Specified by:
compareTo in interface Castable
Throws:
PageException
See Also:
Castable.compareTo(boolean)

compareTo

public int compareTo(double d)
              throws PageException
Deprecated. 
Specified by:
compareTo in interface Castable
Throws:
PageException
See Also:
Castable.compareTo(double)

compareTo

public int compareTo(DateTime dt)
              throws PageException
Deprecated. 
Specified by:
compareTo in interface Castable
Throws:
PageException
See Also:
Castable.compareTo(railo.runtime.type.dt.DateTime)


Copyright © 2012 Railo