|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.mdm.data.ComparisonRecordResultSet
A class for comparing records. It allows for determining:
| Constructor Summary | |
ComparisonRecordResultSet(RecordResultSet rrs)
Constructor with the specified record result set. |
|
ComparisonRecordResultSet(RecordResultSet rrs,
boolean isIgnoreNulls)
Constructor with the specified record result set and whether to ignore null values. |
|
| Method Summary | |
AttributeId[] |
getAttributeIds(FieldId fieldId)
Returns the list of attributes for the specified taxonomy field. |
FieldId[] |
getFieldIds()
Returns the list of fields in the record result set. |
RecordResultSet |
getRecordResultSet()
Returns the record result set. |
boolean |
isIdentical(FieldId fieldId)
Returns true if the field values are the same across all
records, otherwise false. |
boolean |
isIdentical(FieldId fieldId,
AttributeId attributeId)
Returns true if the attribute values are the same across
all records, otherwise false. |
boolean |
isIgnoreNulls()
Returns true if ignore nulls was specified, otherwise
false. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ComparisonRecordResultSet(RecordResultSet rrs)
rrs - a record result set
public ComparisonRecordResultSet(RecordResultSet rrs,
boolean isIgnoreNulls)
rrs - a record result setisIgnoreNulls - true to ignore null value when comparing,
otherwise false to take it into consideration| Method Detail |
public RecordResultSet getRecordResultSet()
public FieldId[] getFieldIds()
public AttributeId[] getAttributeIds(FieldId fieldId)
fieldId - a taxonomy field
public boolean isIdentical(FieldId fieldId)
true if the field values are the same across all
records, otherwise false.
fieldId - a field
true if the field values are the same across all
records, otherwise false
public boolean isIdentical(FieldId fieldId,
AttributeId attributeId)
true if the attribute values are the same across
all records, otherwise false.
fieldId - a taxonomy fieldattributeId - an attribute
true if the attribute values are the same across
all records, otherwise falsepublic boolean isIgnoreNulls()
true if ignore nulls was specified, otherwise
false.
true if ignore nulls was specified, otherwise
false
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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.