com.raritantechnologies.endeca
Class EndecaSearchField

java.lang.Object
  extended bycom.raritantechnologies.searchApp.SearchField
      extended bycom.raritantechnologies.endeca.EndecaSearchField
All Implemented Interfaces:
java.util.Comparator

public class EndecaSearchField
extends SearchField

Extension of Raritan SearchField that has additional Endeca specific properties used by the X1 Connector to determine whether or not a field should be included in the main search box query. The field types are ExactMatch indicating that the field is not used in the main search box or Inclusive indicating that the field is included in the main search box query.


Developed by Raritan Technologies .

Author:
Pat Crabtree

Field Summary
static java.lang.String FIELD_TYPE_DIMENSION
           
static java.lang.String FIELD_TYPE_EXACT
           
static java.lang.String FIELD_TYPE_INCLUSIVE
           
static java.lang.String FIELD_TYPE_REQUEST
           
static java.lang.String[] FIELD_TYPES
           
 
Fields inherited from class com.raritantechnologies.searchApp.SearchField
ALPHANUMERIC, BOOLEANCOMBO, BOOLEANFIELD, DATE, NUMERIC
 
Constructor Summary
EndecaSearchField()
           
 
Method Summary
 java.lang.String getMatchMode()
           
 java.lang.String getXMLField()
           
 java.lang.String getXMLPath()
           
 boolean isCollectionFieldType(java.lang.String fieldType)
           
 boolean isDimensionType()
           
 boolean isExactMatch()
           
 boolean isFieldOperator()
           
 boolean isFreeTextField()
           
 boolean isInclusive()
           
 boolean isRequest()
           
 void setCollectionFieldType(java.lang.String collectionFieldType)
          Collection field type = ExactMatch, Inclusive
 void setFreeTextField(boolean freeTextField)
           
 void setMatchMode(java.lang.String matchMode)
           
 void setXMLField(java.lang.String xmlField)
           
 void setXMLPath(java.lang.String xmlPath)
           
 
Methods inherited from class com.raritantechnologies.searchApp.SearchField
addFieldData, addFieldData, compare, equals, getAbstractSearchField, getAssociatedField, getFieldData, getFieldDataValue, getFieldDataValue, getFieldFormat, getFieldID, getFieldLookupMap, getFieldName, getFieldType, getSearchField, getSearchType, getSource, setAbstractSearchField, setFieldData, setFieldFormat, setFieldID, setFieldLookupMap, setFieldName, setFieldType, setSearchField, setSearchType, setSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FIELD_TYPE_INCLUSIVE

public static final java.lang.String FIELD_TYPE_INCLUSIVE
See Also:
Constant Field Values

FIELD_TYPE_REQUEST

public static final java.lang.String FIELD_TYPE_REQUEST
See Also:
Constant Field Values

FIELD_TYPE_DIMENSION

public static final java.lang.String FIELD_TYPE_DIMENSION
See Also:
Constant Field Values

FIELD_TYPE_EXACT

public static final java.lang.String FIELD_TYPE_EXACT
See Also:
Constant Field Values

FIELD_TYPES

public static final java.lang.String[] FIELD_TYPES
Constructor Detail

EndecaSearchField

public EndecaSearchField()
Method Detail

setCollectionFieldType

public void setCollectionFieldType(java.lang.String collectionFieldType)
Collection field type = ExactMatch, Inclusive


isInclusive

public boolean isInclusive()

isExactMatch

public boolean isExactMatch()

isRequest

public boolean isRequest()

isCollectionFieldType

public boolean isCollectionFieldType(java.lang.String fieldType)

isDimensionType

public boolean isDimensionType()

isFieldOperator

public boolean isFieldOperator()

setXMLField

public void setXMLField(java.lang.String xmlField)

getXMLField

public java.lang.String getXMLField()

setXMLPath

public void setXMLPath(java.lang.String xmlPath)

getXMLPath

public java.lang.String getXMLPath()

setMatchMode

public void setMatchMode(java.lang.String matchMode)

getMatchMode

public java.lang.String getMatchMode()

setFreeTextField

public void setFreeTextField(boolean freeTextField)

isFreeTextField

public boolean isFreeTextField()