com.endeca.portal.data
Enum Feature

java.lang.Object
  extended by java.lang.Enum<Feature>
      extended by com.endeca.portal.data.Feature
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Feature>

public enum Feature
extends java.lang.Enum<Feature>

This class contains the mapping of MDEX version to feature support. It contains pre-defined collections of features for the various versions of v6 and v7 engines. A feature can be supported in the MDEX or in the presentation API, but the feature sets are mutually exclusive, and we assume that if the feature is supported in the presentation API, it is also supported by any MDEX that supports that API. For example, the As sort parameter is supported in the 6.1.4 presentation API. This feature should exist in the 6.1.4 presentation API feature set, but not the 6.1.4 MDEX feature set, and we assume that any MDEX that is compatible with the 6.1.4 presentation API will also support the 6.1.4 prsentation API feature set. This way, we can have a 6.1.3 presentation API against a 6.1.4 MDEX, and return the correct feature support. The 6.1.3 presentation API doesn't support the As parameter, so if we have a LS install with the 6.1.3 jar, we should return "false" for DataSource.supportsFeature( AGGREGATED_RECORD_SORT ), even if we're running against a 6.1.4 engine.


Enum Constant Summary
CONFIG_SERVICE
           
DIMENSION_GROUPS
           
DISPLAY_NAMES
           
INERT_DIMENSIONS
           
LQL_PARSER_SERVICE
           
NAVIGABLE_PROPERTIES
           
RANGE_FILTERS
           
RECORD_DETAILS
           
SCONFIG_SERVICE
           
 
Field Summary
static java.util.Set<Feature> SUPPORTED_FEATURES_7_API
           
static java.util.Set<Feature> SUPPORTED_FEATURES_720_MDEX
           
static java.util.Set<Feature> SUPPORTED_FEATURES_LATEST_MDEX
           
 
Method Summary
static Feature valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Feature[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NAVIGABLE_PROPERTIES

public static final Feature NAVIGABLE_PROPERTIES

DISPLAY_NAMES

public static final Feature DISPLAY_NAMES

RANGE_FILTERS

public static final Feature RANGE_FILTERS

RECORD_DETAILS

public static final Feature RECORD_DETAILS

DIMENSION_GROUPS

public static final Feature DIMENSION_GROUPS

INERT_DIMENSIONS

public static final Feature INERT_DIMENSIONS

CONFIG_SERVICE

public static final Feature CONFIG_SERVICE

SCONFIG_SERVICE

public static final Feature SCONFIG_SERVICE

LQL_PARSER_SERVICE

public static final Feature LQL_PARSER_SERVICE
Field Detail

SUPPORTED_FEATURES_720_MDEX

public static final java.util.Set<Feature> SUPPORTED_FEATURES_720_MDEX

SUPPORTED_FEATURES_LATEST_MDEX

public static final java.util.Set<Feature> SUPPORTED_FEATURES_LATEST_MDEX

SUPPORTED_FEATURES_7_API

public static final java.util.Set<Feature> SUPPORTED_FEATURES_7_API
Method Detail

values

public static Feature[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Feature c : Feature.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Feature valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null