|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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(FieldId lookupFieldId)
Find supported lookup record (or records for multi-value case) in cache of result set for the specified lookup field (qualifier or non-qualifier). |
QualifiedLinkId |
getLinkId()
Get ID of the current qualified link |
String |
getLookupDisplayValue(FieldId lookupFieldId)
Returns display value for lookup field (qualifier or non-qualifier). |
RecordId |
getLookupId()
Get ID of qualified lookup record |
Record |
getQualifiedLookupRecord()
Get the qualified lookup record. |
FieldId[] |
getQualifierFields()
Get array of IDs for all qualifier fields |
MdmValue |
getQualifierValue(FieldId qualifierFieldId)
Get value of the specified qualifier field |
String |
toString(FieldId qualifierFieldId)
Converts the specified qualifier field value to string; this is the short form of the method. |
String |
toString(FieldId qualifierFieldId,
int regionInheritanceMode,
RegionInheritanceProperties regionInheritance,
DimensionsManager dm)
Converts the specified qualifier field value to string according to the specified parameters; this is the long form of the method. |
| Methods inherited from interface com.sap.mdm.valuetypes.MdmValue |
clone, getType, isMultiregion, isMultivalue, isNull |
| Methods inherited from interface java.lang.Comparable |
compareTo |
| Method Detail |
public RecordId getLookupId()
public QualifiedLinkId getLinkId()
public FieldId[] getQualifierFields()
public MdmValue getQualifierValue(FieldId qualifierFieldId)
throws IllegalArgumentException
qualifierFieldId - qualifier field ID
IllegalArgumentException - if field with specified ID is not exist or is not qualifier field.public Record getQualifiedLookupRecord()
public Record[] findLookupRecords(FieldId lookupFieldId)
throws IllegalArgumentException
lookupFieldId - ID of lookup field
IllegalArgumentException - if field with specified ID does not exist or
was not populated or is not lookup field
public String getLookupDisplayValue(FieldId lookupFieldId)
throws IllegalArgumentException
lookupFieldId - ID of lookup field.
IllegalArgumentException - if field with specified ID does not exist or
was not populated or is not lookup fieldpublic String toString(FieldId qualifierFieldId)
qualifierFieldId - the qualifier field ID
getQualifierValue(FieldId)
public String toString(FieldId qualifierFieldId,
int regionInheritanceMode,
RegionInheritanceProperties regionInheritance,
DimensionsManager dm)
qualifierFieldId - the qualifier field IDregionInheritanceMode - specifies the value inheritance mode, defined by the RegionalLayer enumeration; relevant for
multilingual qualifier fieldsregionInheritance - specifies the inheritance for a language; relevant for multilingual qualifier fields, otherwise can be
nulldm - specifies the dimension manager for unit of measurement (UOM); relevant for user-defined UOM qualifier
fields, otherwise can be null
getQualifierValue(FieldId),
RegionalLayer,
GetRepositoryInheritedRegionListCommand,
GetRepositoryDimensionsCommand
|
|||||||||||
| 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.