| java.lang.Object com.caucho.amber.expr.AbstractAmberExpr com.caucho.amber.expr.EnumExpr
Constructor Summary | |
public | EnumExpr(Class javaType, String name, int ordinal) Creates a new enum expression. |
EnumExpr | public EnumExpr(Class javaType, String name, int ordinal)(Code) | | Creates a new enum expression.
Parameters: javaType - the java type of the enum Parameters: name - the string name of the enum value Parameters: ordinal - the integer value of the enum |
generateHaving | public void generateHaving(CharBuffer cb)(Code) | | Generates the having expression.
|
generateUpdateWhere | public void generateUpdateWhere(CharBuffer cb)(Code) | | Generates the (update) enum.
|
generateWhere | public void generateWhere(CharBuffer cb)(Code) | | Generates the enum.
|
getJavaType | public Class getJavaType()(Code) | | Returns the java type
|
getOrdinal | public int getOrdinal()(Code) | | Returns the enum value
|
getType | public Type getType()(Code) | | Returns the expr type.
|
isOrdinal | public boolean isOrdinal()(Code) | | Returns true for ordinal
|
setOrdinal | public void setOrdinal(boolean isOrdinal)(Code) | | Sets true for ordinal
|
|
|