com.sap.mdm.search
Class FieldSearchDimension

java.lang.Object
  extended bycom.sap.mdm.search.AbstractSearchDimension
      extended bycom.sap.mdm.search.AbstractFieldSearchDimension
          extended bycom.sap.mdm.search.FieldSearchDimension
All Implemented Interfaces:
Cloneable, SearchDimension

public class FieldSearchDimension
extends AbstractFieldSearchDimension

A search dimension for regular fields, excluding taxonomy fields and qualifier fields.

See Also:
com.sap.mdm.search

Field Summary
 
Fields inherited from interface com.sap.mdm.search.SearchDimension
ATTRIBUTE, EXPRESSION, FIELD, KEYWORD, MASK, NAMED_SEARCH, QUALIFIER, REMOTE_KEY, REMOTE_SYSTEM
 
Constructor Summary
FieldSearchDimension(FieldId fieldId)
          Constructor with the specified parameter.
FieldSearchDimension(FieldId[] fieldPath)
          Constructor with the specified parameter.
FieldSearchDimension(ReverseLookupId reverseLookup, FieldId[] fieldPath)
          Specifies a reverse lookup search.
 
Method Summary
 Object clone()
          Clones the object.
 boolean equals(Object obj)
           
 ReverseLookupId getReverseLookup()
          Returns a reverse lookup.
 int getType()
          Returns the search dimension type.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class com.sap.mdm.search.AbstractFieldSearchDimension
getFieldPath
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldSearchDimension

public FieldSearchDimension(FieldId fieldId)
Constructor with the specified parameter.

Parameters:
fieldId - the field Id

FieldSearchDimension

public FieldSearchDimension(FieldId[] fieldPath)
Constructor with the specified parameter.

Note: The field path works correctly for tuple fields. For normal lookup fields, only the last field in the path is used. If there are two or more paths to the final destination lookup table, the server will picks the first field path it finds.

Parameters:
fieldPath - the list of field Ids path

FieldSearchDimension

public FieldSearchDimension(ReverseLookupId reverseLookup,
                            FieldId[] fieldPath)
Specifies a reverse lookup search.

Parameters:
reverseLookup - the reverse lookup
fieldPath - the field path
Since:
7.1 SP 08
Method Detail

hashCode

public int hashCode()

equals

public boolean equals(Object obj)
Overrides:
equals in class AbstractFieldSearchDimension

toString

public String toString()
Overrides:
toString in class AbstractFieldSearchDimension

clone

public Object clone()
Description copied from interface: SearchDimension
Clones the object.

Specified by:
clone in interface SearchDimension
Specified by:
clone in class AbstractSearchDimension

getType

public int getType()
Description copied from interface: SearchDimension
Returns the search dimension type.

Returns:
the search dimension type

getReverseLookup

public ReverseLookupId getReverseLookup()
Returns a reverse lookup.

Returns:
The reverse lookup ID
Since:
7.1 SP 08


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.