com.sap.mdm.search
Class TextSearchConstraint

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

public class TextSearchConstraint
extends java.lang.Object
implements SearchConstraint

A text constraint.


Field Summary
static int CONTAINS
           
static int ENDS_WITH
           
static int EQUALS
           
static int EXCLUDES
           
static int LANGUAGE_LAYER
           
static int SOUNDS_LIKE
           
static int STARTS_WITH
           
 
Constructor Summary
TextSearchConstraint(java.lang.String value, int comparisonOperator)
          Constructor with the specified parameters.
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object obj)
           
 int getComparisonOperator()
          Returns the comparison operator.
 java.lang.String getValue()
          Returns the string value.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CONTAINS

public static final int CONTAINS
See Also:
Constant Field Values

STARTS_WITH

public static final int STARTS_WITH
See Also:
Constant Field Values

ENDS_WITH

public static final int ENDS_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

EXCLUDES

public static final int EXCLUDES
See Also:
Constant Field Values

LANGUAGE_LAYER

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

TextSearchConstraint

public TextSearchConstraint(java.lang.String value,
                            int comparisonOperator)
Constructor with the specified parameters.

Parameters:
value - the string value
comparisonOperator - the comparison operator
Method Detail

clone

public java.lang.Object clone()
Specified by:
clone in interface SearchConstraint

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()

toString

public java.lang.String toString()

getValue

public java.lang.String getValue()
Returns the string value.

Returns:
the string value

getComparisonOperator

public int getComparisonOperator()
Returns the comparison operator.

Returns:
the comparison operator


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.