jrun.ejb.ejbql
Class InputParam
java.lang.Object
|
+--jrun.ejb.ejbql.ExpressionBase
|
+--jrun.ejb.ejbql.InputParam
- All Implemented Interfaces:
- Element, Expression, Literal
- public class InputParam
- extends ExpressionBase
- implements Literal
Represents the use of a finder or select method
parameter in an EJB QL expression.
- Author:
- Enrique Duvos
|
Constructor Summary |
InputParam(java.lang.Integer paramIndex,
java.lang.Class paramClass)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InputParam
public InputParam(java.lang.Integer paramIndex,
java.lang.Class paramClass)
throws ParseException
getLiteral
public java.lang.Object getLiteral()
- Specified by:
getLiteral in interface Literal
isInputParam
public boolean isInputParam()
- Specified by:
isInputParam in interface Expression- Overrides:
isInputParam in class ExpressionBase
isRemoteInterface
public boolean isRemoteInterface()
isLocalInterface
public boolean isLocalInterface()
getParamIndex
public java.lang.Integer getParamIndex()
- The corresponding input parameter from the associated method
getParamClass
public java.lang.Class getParamClass()
getJavaType
public java.lang.String getJavaType()
- Specified by:
getJavaType in interface Expression
accept
public void accept(Visitor visitor)
- Specified by:
accept in interface Element
addField
public void addField(java.lang.String name)
getFields
public java.util.List getFields()
toString
public java.lang.String toString()
- Specified by:
toString in interface Literal- Overrides:
toString in class java.lang.Object
toSql
public java.lang.String toSql()
- Specified by:
toSql in interface Literal
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals in class java.lang.Object
Copyright � 2002 Macromedia Corporation. All Rights Reserved.