org.eclipse.datatools.connectivity.oda.spec.valueexpr
Class SimpleValueExpression
java.lang.Object
   org.eclipse.datatools.connectivity.oda.spec.ValueExpression
org.eclipse.datatools.connectivity.oda.spec.ValueExpression
       org.eclipse.datatools.connectivity.oda.spec.valueexpr.AtomicValueExpression
org.eclipse.datatools.connectivity.oda.spec.valueexpr.AtomicValueExpression
           org.eclipse.datatools.connectivity.oda.spec.valueexpr.SimpleValueExpression
org.eclipse.datatools.connectivity.oda.spec.valueexpr.SimpleValueExpression
- public class SimpleValueExpression 
- extends AtomicValueExpression
A concrete value expression associated with an object as its value.
 The associated value object will be simply processed as is.
 
An ODA driver that implements the ODA dynamicResultSet extension point
 must support this type of expressions defined in a 
 QuerySpecification.
- Since:
- 3.2.2 (DTP 1.7.2)
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
SimpleValueExpression
public SimpleValueExpression(java.lang.Object value)
getValue
public java.lang.Object getValue()
- Returns the value of this simple expression.
 
- 
- Returns:
- expression value; may be null
 
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:
- getNamein class- ValueExpression
 
- 
- Returns:
- name of this value expression
 
getVariableType
public ExpressionVariable.VariableType getVariableType()
- Description copied from class: ValueExpression
- Returns the type of expression.
 
- 
- Overrides:
- getVariableTypein class- ValueExpression
 
- 
- 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:
- validateSyntaxin 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.
 
toString
public java.lang.String toString()
- 
- Overrides:
- toStringin class- ValueExpression
 
-