com.sap.mdm.search
Class KeywordSearchConstraint

java.lang.Object
  extended bycom.sap.mdm.search.AbstractSearchConstraint
      extended bycom.sap.mdm.search.KeywordSearchConstraint
All Implemented Interfaces:
Cloneable, SearchConstraint

public class KeywordSearchConstraint
extends AbstractSearchConstraint

A keyword constraint.


Field Summary
static int CONTAINS
           
static int EQUALS
           
static int PROGRESSIVE
           
static int SOUNDS_LIKE
           
static int STARTS_WITH
           
 
Fields inherited from interface com.sap.mdm.search.SearchConstraint
BOOLEAN_SEARCH_CONSTRAINT, DATE_TIME_SEARCH_CONSTRAINT, EXPRESSION_SEARCH_CONSTRAINT, KEYWORD_SEARCH_CONSTRAINT, MEASUREMENT_SEARCH_CONSTRAINT, NULL_SEARCH_CONSTRAINT, NUMERIC_SEARCH_CONSTRAINT, PICK_LIST_SEARCH_CONSTRAINT, REGION_LAYER_SEARCH_CONSTRAINT, REMOTE_KEY_SEARCH_CONSTRAINT, REMOTE_SYSTEM_SEARCH_CONSTRAINT, TEXT_SEARCH_CONSTRAINT
 
Constructor Summary
KeywordSearchConstraint(String value, int comparisonOperator)
          Constructor with the specified parameters.
 
Method Summary
 Object clone()
           
 boolean equals(Object obj)
           
 int getComparisonOperator()
          Returns the comparison operator.
 int getType()
           
 String getValue()
          Return the keyword.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PROGRESSIVE

public static final int PROGRESSIVE
See Also:
Constant Field Values

CONTAINS

public static final int CONTAINS
See Also:
Constant Field Values

STARTS_WITH

public static final int STARTS_WITH
See Also:
Constant Field Values

EQUALS

public static final int EQUALS
See Also:
Constant Field Values

SOUNDS_LIKE

public static final int SOUNDS_LIKE
See Also:
Constant Field Values
Constructor Detail

KeywordSearchConstraint

public KeywordSearchConstraint(String value,
                               int comparisonOperator)
Constructor with the specified parameters.

Parameters:
value - the string value to keyword search for
comparisonOperator - the comparison operator
Method Detail

clone

public Object clone()
Specified by:
clone in interface SearchConstraint
Specified by:
clone in class AbstractSearchConstraint

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

toString

public String toString()

getValue

public String getValue()
Return the keyword.

Returns:
the keyword

getComparisonOperator

public int getComparisonOperator()
Returns the comparison operator.

Returns:
the comparison operator

getType

public int getType()
Specified by:
getType in interface SearchConstraint
Specified by:
getType in class AbstractSearchConstraint


Copyright 2004-2007 by SAP AG. All Rights Reserved.

SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.