com.sap.mdm.search
Class RegionLayerSearchConstraint

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

public class RegionLayerSearchConstraint
extends AbstractSearchConstraint

A region layer constraint. It applies to text fields that are mark as multi-lingual. In addition, lookup fields that have the display field as multi-lingual can use this search constraint.

For example, this search constraint can be use to search for a multi-lingual field that has a value that is inherited from any region layer.

Since:
SP6 Patch 02

Field Summary
static int REGION_LAYER_DOES_NOT_INHERIT
           
static int REGION_LAYER_HAS_VALUE
          The language layer has a value.
static int REGION_LAYER_INHERITS_ANY
          One or more values are inherited from primary and secondary.
static int REGION_LAYER_INHERITS_PRIMARY
          One or more values are inherited from the primary.
static int REGION_LAYER_INHERITS_SECONDARY
          One or more values are inherited from the secondary.
static int REGION_LAYER_IS_MISSING_VALUE
          The
 
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
RegionLayerSearchConstraint(int regionLayer)
          Constructor with the specified parameter.
 
Method Summary
 Object clone()
           
 boolean equals(Object obj)
           
 int getRegionLayer()
          Returns the region layer constraint type.
 int getType()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

REGION_LAYER_HAS_VALUE

public static final int REGION_LAYER_HAS_VALUE
The language layer has a value.

See Also:
Constant Field Values

REGION_LAYER_IS_MISSING_VALUE

public static final int REGION_LAYER_IS_MISSING_VALUE
The

See Also:
Constant Field Values

REGION_LAYER_INHERITS_PRIMARY

public static final int REGION_LAYER_INHERITS_PRIMARY
One or more values are inherited from the primary.

See Also:
Constant Field Values

REGION_LAYER_INHERITS_SECONDARY

public static final int REGION_LAYER_INHERITS_SECONDARY
One or more values are inherited from the secondary.

See Also:
Constant Field Values

REGION_LAYER_INHERITS_ANY

public static final int REGION_LAYER_INHERITS_ANY
One or more values are inherited from primary and secondary.

See Also:
Constant Field Values

REGION_LAYER_DOES_NOT_INHERIT

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

RegionLayerSearchConstraint

public RegionLayerSearchConstraint(int regionLayer)
Constructor with the specified parameter.

Parameters:
regionLayer - the region layer type
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()

getRegionLayer

public int getRegionLayer()
Returns the region layer constraint type.

Returns:
the region layer type

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.