org.eclipse.datatools.connectivity.oda.spec.valueexpr
Class NestedValueExpression
java.lang.Object
org.eclipse.datatools.connectivity.oda.spec.ValueExpression
org.eclipse.datatools.connectivity.oda.spec.valueexpr.NestedValueExpression
public class NestedValueExpression
- extends ValueExpression
A complex value expression with a nested expression.
- Since:
- 3.2.2 (DTP 1.7.2)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NestedValueExpression
public NestedValueExpression(ValueExpression nestedExpr)
getNestedExpression
public ValueExpression getNestedExpression()
- Returns the nested value expression.
- Returns:
validateSyntax
public void validateSyntax(ValidationContext context)
throws OdaException
- Description copied from class:
ValueExpression
- Performs syntactic validation of this expression in the specified context.
- Specified by:
validateSyntax
in class ValueExpression
- Parameters:
context
- context for validation; may be null which would limit the scope of validation
- Throws:
OdaException
- if validation failed. The concrete cause is
defined by the subclass implementing this method.
getName
public java.lang.String getName()
- Description copied from class:
ValueExpression
- Gets the name of this value expression type.
It may be used to identify this in user messages or logging.
- Overrides:
getName
in class ValueExpression
- Returns:
- name of this value expression
getOdaDataType
public java.lang.Integer getOdaDataType()
- Description copied from class:
ValueExpression
- Gets the ODA-defined code value of this variable's data type.
This serves as an optional hint that may have been specified based on the resolved expression.
- Overrides:
getOdaDataType
in class ValueExpression
- Returns:
- the ODA data type code of this variable, or null if not available
toString
public java.lang.String toString()
- Overrides:
toString
in class ValueExpression