com.sap.mdm.extension.data
Interface QualifiedLinkValueEx

All Superinterfaces:
Cloneable, Comparable, MdmValue, QualifiedLinkValue

public interface QualifiedLinkValueEx
extends QualifiedLinkValue

This class represents MDM qualified link - object that stores reference to lookup record and values of qualifier fields


Nested Class Summary
 
Nested classes inherited from class com.sap.mdm.valuetypes.MdmValue
MdmValue.Type
 
Method Summary
 Record[] findLookupRecords(String lookupFieldCode)
          Find supported lookup record (or records for multi-value case) in cache of result set for the specified lookup field (qualifier or non-qualifier).
 String getLookupDisplayValue(String lookupFieldCode)
          Returns display value for lookup field (qualifier or non-qualifier).
 String[] getQualifierFieldCodes()
          Get array of codes for all qualifier fields
 MdmValue getQualifierValue(String qualifierFieldCode)
          Get value of the specified qualifier field
 
Methods inherited from interface com.sap.mdm.valuetypes.QualifiedLinkValue
findLookupRecords, getLinkId, getLookupDisplayValue, getLookupId, getQualifiedLookupRecord, getQualifierFields, getQualifierValue, toString, toString
 
Methods inherited from interface com.sap.mdm.valuetypes.MdmValue
clone, getType, isMultiregion, isMultivalue, isNull
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getQualifierFieldCodes

public String[] getQualifierFieldCodes()
Get array of codes for all qualifier fields

Returns:
array of field codes

getQualifierValue

public MdmValue getQualifierValue(String qualifierFieldCode)
                           throws IllegalArgumentException
Get value of the specified qualifier field

Parameters:
qualifierFieldCode - qualifier field
Returns:
value of the qualifier field
Throws:
IllegalArgumentException - if field with specified ID is not exist or is not qualifier field.

findLookupRecords

public Record[] findLookupRecords(String lookupFieldCode)
                           throws IllegalArgumentException
Find supported lookup record (or records for multi-value case) in cache of result set for the specified lookup field (qualifier or non-qualifier).

Parameters:
lookupFieldCode - the code of lookup field
Returns:
array of supported lookup record. If there is not values for specified lookup field then empty array is returned. If supported lookup record was not loaded then Null is returned.
Throws:
IllegalArgumentException - if field with specified ID does not exist or was not populated or is not lookup field

getLookupDisplayValue

public String getLookupDisplayValue(String lookupFieldCode)
                             throws IllegalArgumentException
Returns display value for lookup field (qualifier or non-qualifier).

Parameters:
lookupFieldCode - the code of lookup field.
Returns:
display value of lookup record. If lookup record was not loaded then Null is returned
Throws:
IllegalArgumentException - if field with specified ID does not exist or was not populated or is not lookup field


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.