| java.lang.Object org.apache.ojb.jdo.jdoql.QueryTreeNode org.apache.ojb.jdo.jdoql.Expression org.apache.ojb.jdo.jdoql.UnaryExpression
OPERATOR_BITWISE_COMPLEMENT | final public static int OPERATOR_BITWISE_COMPLEMENT(Code) | | |
OPERATOR_CAST | final public static int OPERATOR_CAST(Code) | | |
OPERATOR_MINUS | final public static int OPERATOR_MINUS(Code) | | |
OPERATOR_NOT | final public static int OPERATOR_NOT(Code) | | |
OPERATOR_PLUS | final public static int OPERATOR_PLUS(Code) | | |
UnaryExpression | public UnaryExpression(int operator, Expression inner)(Code) | | Creates a new unary expression object.
Parameters: operator - The unary operator Parameters: inner - The inner expression |
UnaryExpression | public UnaryExpression(Type castType, Expression inner)(Code) | | Creates a new cast expression object.
Parameters: castType - The cast-to type Parameters: inner - The inner expression |
getCastType | public Type getCastType()(Code) | | Returns the target type of this cast expression.
The type name of the cast type, or null if this is nocast expression |
getInnerExpression | public Expression getInnerExpression()(Code) | | Returns the inner expression.
The inner expression |
getOperator | public int getOperator()(Code) | | Returns the operator.
The operator |
setType | public void setType(Class type)(Code) | | Sets the type of this unary expression.
Parameters: type - The type |
|
|