|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.connectivity.oda.spec.ValueExpression
org.eclipse.datatools.connectivity.oda.spec.valueexpr.CombinedValueExpression
public class CombinedValueExpression
A complex value expression whose value is resolved by combining two value expressions with a combined operator.
Field Summary |
---|
Fields inherited from class org.eclipse.datatools.connectivity.oda.spec.ValueExpression |
---|
UNKNOWN_ODA_DATA_TYPE |
Constructor Summary | |
---|---|
CombinedValueExpression(ValueExpression leftExpr,
CombinedValueExpressionOperator operator,
ValueExpression rightExpr)
|
Method Summary | |
---|---|
CombinedValueExpressionOperator |
getCombinedOperator()
Returns the combined operator. |
ValueExpression |
getLeftExpression()
Returns the left value expression. |
java.lang.String |
getName()
Gets the name of this value expression type. |
java.lang.Integer |
getOdaDataType()
Gets the ODA-defined code value of this variable's data type. |
ValueExpression |
getRightExpression()
Returns the right value expression. |
java.lang.String |
toString()
|
void |
validateSyntax(ValidationContext context)
Performs syntactic validation of this expression in the specified context. |
Methods inherited from class org.eclipse.datatools.connectivity.oda.spec.ValueExpression |
---|
getQualifiedId, getVariableType, setOdaDataType, validate, validate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CombinedValueExpression(ValueExpression leftExpr, CombinedValueExpressionOperator operator, ValueExpression rightExpr)
Method Detail |
---|
public ValueExpression getLeftExpression()
public ValueExpression getRightExpression()
public CombinedValueExpressionOperator getCombinedOperator()
public void validateSyntax(ValidationContext context) throws OdaException
ValueExpression
validateSyntax
in class ValueExpression
context
- context for validation; may be null which would limit the scope of validation
OdaException
- if validation failed. The concrete cause is
defined by the subclass implementing this method.public java.lang.String getName()
ValueExpression
getName
in class ValueExpression
public java.lang.Integer getOdaDataType()
ValueExpression
getOdaDataType
in class ValueExpression
public java.lang.String toString()
toString
in class ValueExpression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |