|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.connectivity.oda.spec.manifest.ExtensionContributor
public class ExtensionContributor
Represents the contributor defining its scope and capabilities, as specifed in an extension of the org.eclipse.datatools.connectivity.oda.dynamicResultSet extension point.
| Field Summary | |
|---|---|
static java.lang.String |
ATTR_NESTED_VALUEEXPR_SUPPORT
|
static java.lang.String |
ATTR_NULL_ORDERING_SUPPORT
|
static java.lang.String |
ATTR_ODA_FILTER_EXPR_NAME
|
static java.lang.String |
ATTR_SPEC_FACTORY_CLASS
|
static java.lang.String |
ATTR_VALIDATOR_CLASS
|
static java.lang.String |
ELEMENT_NAME
|
static java.lang.String |
SUB_ELEMENT_FILTER_EXPRESSION_TYPE
|
static java.lang.String |
SUB_ELEMENT_ROW_ORDERING_SUPPORT
|
| Constructor Summary | |
|---|---|
ExtensionContributor(org.eclipse.core.runtime.IConfigurationElement contributorElement)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDeclaringExtensionId()
Gets the unique extension id that declares this dynamicResultSet contributor. |
java.lang.String |
getName()
|
QuerySpecificationFactory |
getSpecificationFactory()
|
SupportedDataSetType[] |
getSupportedDataSetTypes()
Gets a collection of data set types supported by this contributor. |
java.lang.String[] |
getSupportedOdaFilterExpressions()
Gets a collection of the ODA defined filter expression names supported by this contributor. |
IValidator |
getValidator()
Gets the IValidator instance of this contributor. |
int |
hashCode()
|
static java.util.List<SupportedDataSetType> |
processDataSetTypeElements(org.eclipse.core.runtime.IConfigurationElement contributorElement)
An utility method to process the specified contributor configuration element and returns a list of its supported data set types. |
boolean |
supportsCombinedValueExpressionType()
Indicates whether this extension supports handling of combined value expression type. |
boolean |
supportsDataSetType(java.lang.String odaDataSourceId,
java.lang.String odaDataSetId)
Indicates whether this supports the specified data set type defined within the specified data source type. |
boolean |
supportsDataSetType(SupportedDataSetType dataSetType)
Indicates whether this supports the specified data set type. |
boolean |
supportsDynamicRowOrdering()
Indicates whether this contributor supports dynamic row ordering of its result sets for all its supported data set types. |
boolean |
supportsFunctionValueExpressionType()
Indicates whether this extension supports handling of function value expression type. |
boolean |
supportsNestedValueExpressionType()
Indicates whether this extension supports handling of nested value expression type. |
boolean |
supportsNullValueOrdering()
Indicates whether this contributor's support of dynamic row ordering includes control over the ordering of null vs. |
boolean |
supportsOdaCombinedOperator(java.lang.String builtInOperatorId)
Indicates whether this supports the specified ODA built-in combined operator type. |
boolean |
supportsOdaFilterExpression(java.lang.String odaExprName)
Indicates whether this supports the specified ODA defined filter expression. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ELEMENT_NAME
public static final java.lang.String SUB_ELEMENT_FILTER_EXPRESSION_TYPE
public static final java.lang.String ATTR_ODA_FILTER_EXPR_NAME
public static final java.lang.String ATTR_VALIDATOR_CLASS
public static final java.lang.String ATTR_SPEC_FACTORY_CLASS
public static final java.lang.String SUB_ELEMENT_ROW_ORDERING_SUPPORT
public static final java.lang.String ATTR_NULL_ORDERING_SUPPORT
public static final java.lang.String ATTR_NESTED_VALUEEXPR_SUPPORT
| Constructor Detail |
|---|
public ExtensionContributor(org.eclipse.core.runtime.IConfigurationElement contributorElement)
throws OdaException
OdaException| Method Detail |
|---|
public static java.util.List<SupportedDataSetType> processDataSetTypeElements(org.eclipse.core.runtime.IConfigurationElement contributorElement)
throws OdaException
contributorElement - contributor configuration element
SupportedDataSetType declared as supported in the contributor element
OdaException - if specified element has invalid configuration contentpublic java.lang.String getDeclaringExtensionId()
public java.lang.String getName()
getName in interface org.eclipse.core.runtime.IContributor
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 SupportedDataSetType[] getSupportedDataSetTypes()
SupportedDataSetTypepublic boolean supportsOdaFilterExpression(java.lang.String odaExprName)
odaExprName - simple name of an ODA defined filter expression
public java.lang.String[] getSupportedOdaFilterExpressions()
public boolean supportsDynamicRowOrdering()
public boolean supportsNullValueOrdering()
public boolean supportsOdaCombinedOperator(java.lang.String builtInOperatorId)
builtInOperatorId - the id of a built-in value expression combined operator type;
the constants are defined in
CombinedValueExpressionOperator
org.eclipse.datatools.connectivity.oda.spec.util.ExpressionFactory#getCombinedOperator(String, String)}public boolean supportsCombinedValueExpressionType()
public boolean supportsNestedValueExpressionType()
public boolean supportsFunctionValueExpressionType()
public IValidator getValidator()
throws OdaException
IValidator instance of this contributor.
OdaException - if exception occurs in instantiating the validator class
public QuerySpecificationFactory getSpecificationFactory()
throws OdaException
OdaExceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||