com.sap.mdm.schema
Class LookupRange

java.lang.Object
  extended bycom.sap.mdm.schema.AbstractKeyRange
      extended bycom.sap.mdm.schema.LookupRange
All Implemented Interfaces:
KeyRange

public class LookupRange
extends AbstractKeyRange

Indicates a lookup range. A key range can be specified for each lookup record.

Since:
7.1 SP 05
See Also:
RemoteSystemProperties

Constructor Summary
LookupRange(TableId tableId, FieldId fieldId, LookupRecordRange[] recordRanges)
          Constructor with the specified lookup field and lookup record range.
 
Method Summary
 Object clone()
           
 boolean equals(Object obj)
           
 FieldId getLookupFieldId()
          Returns the lookup field Id.
 LookupRecordRange[] getLookupRecordRanges()
          Returns the lookup record ranges
 TableId getTableId()
          Returns the table Id.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupRange

public LookupRange(TableId tableId,
                   FieldId fieldId,
                   LookupRecordRange[] recordRanges)
Constructor with the specified lookup field and lookup record range.

Note: The user should pass in a valid table Id but is currently ignored. In addition, the table Id returned by the API is currently set to TableId.INVALID_TABLE_ID when retrieved from the server.

Parameters:
tableId - a table
fieldId - a lookup field
recordRanges - a list of lookup record ranges
Method Detail

getTableId

public TableId getTableId()
Returns the table Id.

Returns:
a table Id

getLookupFieldId

public FieldId getLookupFieldId()
Returns the lookup field Id.

Returns:
a lookup field Id

getLookupRecordRanges

public LookupRecordRange[] getLookupRecordRanges()
Returns the lookup record ranges

Returns:
a list of lookup record ranges

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class AbstractKeyRange
Throws:
CloneNotSupportedException

hashCode

public int hashCode()

equals

public boolean equals(Object obj)


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.