| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.connectivity.oda.spec.valueexpr.CombinedValueExpressionOperator
public class CombinedValueExpressionOperator
Represents the operator that combines two value expressions in a CombinedValueExpression.
 
An ODA dynamicResultSet extension declares its support of specific built-in operator types
 in the combinedOperatorTypes element in its extension manifest.  
 
An extension may extend this class to override the literal representation 
 of a built-in combined operator, or to implement its custom combined operator type(s). 
 A subclass specified in a dynamicResultSet extension manifest must implement IExecutableExtension
 with a public 0-arg constructor, and override the #setLiteral and/or #getLiteral methods.
| Field Summary | |
|---|---|
| static java.lang.String | ADDThe id of built-in combined operator types. | 
| static CombinedValueExpressionOperator | ADD_LITERALLiteral instances of built-in combined operator types. | 
| static java.lang.String | CONCATENATE | 
| static CombinedValueExpressionOperator | CONCATENATE_LITERAL | 
| static java.lang.String | DIVIDE | 
| static CombinedValueExpressionOperator | DIVIDE_LITERAL | 
| static java.lang.String | MULTIPLY | 
| static CombinedValueExpressionOperator | MULTIPLY_LITERAL | 
| static java.lang.String | SUBTRACT | 
| static CombinedValueExpressionOperator | SUBTRACT_LITERAL | 
| Method Summary | |
|---|---|
| static CombinedValueExpressionOperator | get(java.lang.String builtInOperatorId)Returns the literal instance of the specified built-in combined operator type. | 
|  java.lang.String | getId()Returns the id of this operator. | 
|  java.lang.String | getLiteral()Returns the literal symbol or representation of this operator. | 
|  void | setInitializationData(org.eclipse.core.runtime.IConfigurationElement config,
                      java.lang.String propertyName,
                      java.lang.Object data) | 
|  java.lang.String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.lang.String ADD
public static final java.lang.String SUBTRACT
public static final java.lang.String MULTIPLY
public static final java.lang.String DIVIDE
public static final java.lang.String CONCATENATE
public static final CombinedValueExpressionOperator ADD_LITERAL
public static final CombinedValueExpressionOperator SUBTRACT_LITERAL
public static final CombinedValueExpressionOperator MULTIPLY_LITERAL
public static final CombinedValueExpressionOperator DIVIDE_LITERAL
public static final CombinedValueExpressionOperator CONCATENATE_LITERAL
| Method Detail | 
|---|
public static final CombinedValueExpressionOperator get(java.lang.String builtInOperatorId)
type - the type code of a built-in combined operator
public void setInitializationData(org.eclipse.core.runtime.IConfigurationElement config,
                                  java.lang.String propertyName,
                                  java.lang.Object data)
                           throws org.eclipse.core.runtime.CoreException
setInitializationData in interface org.eclipse.core.runtime.IExecutableExtensionorg.eclipse.core.runtime.CoreExceptionpublic java.lang.String getId()
public java.lang.String getLiteral()
public java.lang.String toString()
toString in class java.lang.Object| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||