| 
 | ||||||||||
| 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.AtomicValueExpression
org.eclipse.datatools.connectivity.oda.spec.valueexpr.FunctionValueExpression
org.eclipse.datatools.connectivity.oda.spec.valueexpr.CustomFunction
public class CustomFunction
Represents a custom function value expression contributed by an extension of
 the org.eclipse.datatools.connectivity.oda.dynamicResultSet extension point.
 
An ODA dynamicResultSet extension declares its contribution of 
 each custom function value expression in a functionExpressionType element 
 in its extension manifest.
| Field Summary | 
|---|
| Fields inherited from class org.eclipse.datatools.connectivity.oda.spec.ValueExpression | 
|---|
| UNKNOWN_ODA_DATA_TYPE | 
| Method Summary | |
|---|---|
|  boolean | canIgnoreDuplicateValues()Indicates whether this function type is capable of ignoring duplicate values of its input argument. | 
|  java.lang.Object | getData(java.lang.String key)Gets the value of an extension-defined property of the specified name. | 
|  java.lang.String | getDeclaringExtensionId()Gets the unique id of the dynamicResultSet extension that declares this custom expression type. | 
|  FunctionExpressionDefinition | getDefinition()Gets the definition of this expression's capabilities and metadata, as registered by the provider in its extension of the org.eclipse.datatools.connectivity.oda.dynamicResultSet extension point. | 
|  java.lang.String | getId()Gets the expression id. | 
|  java.lang.String | getName()Gets the name of this value expression type. | 
|  java.lang.String | getQualifiedId()Returns the qualified id of this expression type. | 
|  void | setData(java.lang.String key,
        java.lang.Object value)Sets the value of an extension-defined property of the specified name. | 
|  void | setInitializationData(org.eclipse.core.runtime.IConfigurationElement exprElement,
                      java.lang.String propertyName,
                      java.lang.Object data) | 
|  boolean | supportsDataSetType(java.lang.String odaDataSourceId,
                    java.lang.String odaDataSetId)Indicates whether this expression can be applied to the specified data set type within the data source type. | 
|  boolean | supportsDataSetType(SupportedDataSetType dataSetType)Indicates whether this expression can be applied to the specified data set type. | 
|  void | validateSyntax(ValidationContext context)Performs syntactic validation of this expression in the specified context. | 
| Methods inherited from class org.eclipse.datatools.connectivity.oda.spec.valueexpr.FunctionValueExpression | 
|---|
| getArguments, getOdaDataType, ignoresDuplicateValues, setArguments, setIgnoreDuplicateValues, toString | 
| Methods inherited from class org.eclipse.datatools.connectivity.oda.spec.ValueExpression | 
|---|
| getVariableType, setOdaDataType, validate, validate | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Method Detail | 
|---|
public void setInitializationData(org.eclipse.core.runtime.IConfigurationElement exprElement,
                                  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 getDeclaringExtensionId()
public java.lang.String getQualifiedId()
FunctionValueExpression
getQualifiedId in class FunctionValueExpressionpublic java.lang.String getName()
ValueExpression
getName in class ValueExpression
public boolean supportsDataSetType(java.lang.String odaDataSourceId,
                                   java.lang.String odaDataSetId)
odaDataSourceId - id of an ODA data source extensionodaDataSetId - id of an ODA data set defined within the data source extension
public boolean supportsDataSetType(SupportedDataSetType dataSetType)
dataSetType - an instance of SupportedDataSetType
public boolean canIgnoreDuplicateValues()
public FunctionExpressionDefinition getDefinition()
public java.lang.Object getData(java.lang.String key)
key - the name of property
public void setData(java.lang.String key,
                    java.lang.Object value)
key - the name of propertyvalue - the new value of the named property
public void validateSyntax(ValidationContext context)
                    throws OdaException
ValueExpression
validateSyntax in class FunctionValueExpressioncontext - 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.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||