|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.mdm.valuetypes.MdmValueFactory
This class is a factory class for creating instances of MdmValue.
| Constructor Summary | |
MdmValueFactory()
|
|
| Method Summary | |
static BooleanValue |
createBooleanValue(boolean value)
Creates MDM BooleanValue |
static BooleanValue |
createBooleanValue(Boolean value)
|
static BooleanValue |
createBooleanValue(String value)
|
static IntegerValue |
createIntegerValue(int value)
Creates MDM IntegerValue |
static IntegerValue |
createIntegerValue(Integer value)
|
static IntegerValue |
createIntegerValue(String value)
|
static QualifiedLinkValue |
createQualifiedLinkValue(QualifiedLinkId linkId,
RecordId lookupId)
Create qualified link corresponded to the existing link in the repository |
static QualifiedLinkValue |
createQualifiedLinkValue(QualifiedLinkId linkId,
RecordId lookupId,
Map qualifiers)
Create qualified link corresponded to the existing link in the repository and populated with qualifier values |
static QualifiedLinkValue |
createQualifiedLinkValue(QualifiedLinkValue link)
Create new qualified link as copy of another qualified link. |
static QualifiedLinkValue |
createQualifiedLinkValue(RecordId lookupId)
Create new qualified link |
static QualifiedLinkValue |
createQualifiedLinkValue(RecordId lookupId,
Map qualifiers)
Create new qualified link populated with qualifier values |
static TupleValue |
createTupleValue()
Creates a new tuple value. |
static TupleValue |
createTupleValue(TupleRecordId tupleId)
Creates a new tuple value. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MdmValueFactory()
| Method Detail |
public static BooleanValue createBooleanValue(boolean value)
value -
public static BooleanValue createBooleanValue(Boolean value)
public static BooleanValue createBooleanValue(String value)
public static IntegerValue createIntegerValue(int value)
value -
public static IntegerValue createIntegerValue(Integer value)
public static IntegerValue createIntegerValue(String value)
throws MdmValueFormatException
MdmValueFormatExceptionpublic static QualifiedLinkValue createQualifiedLinkValue(RecordId lookupId)
lookupId - ID of lookup record that defines the new qualified link
QualifiedLinkValue
public static QualifiedLinkValue createQualifiedLinkValue(RecordId lookupId,
Map qualifiers)
lookupId - ID of lookup record that defines the new qualified linkqualifiers - map of qualifier field values. Key of map is ID of qualifier field.
If qualifier field values are not known they should be populated to MdmNull values
QualifiedLinkValue
public static QualifiedLinkValue createQualifiedLinkValue(QualifiedLinkId linkId,
RecordId lookupId)
linkId - ID of qualified link.lookupId - ID of lookup record that defines the new qualified link.
QualifiedLinkValue
public static QualifiedLinkValue createQualifiedLinkValue(QualifiedLinkId linkId,
RecordId lookupId,
Map qualifiers)
linkId - ID of qualified link.lookupId - ID of lookup record that defines the new qualified link.qualifiers - map of qualifier field values. Key of map is ID of qualifier field.
If qualifier field values are not known they should be populated to MdmNull values
QualifiedLinkValuepublic static QualifiedLinkValue createQualifiedLinkValue(QualifiedLinkValue link)
link - another qualified link.
QualifiedLinkValuepublic static TupleValue createTupleValue()
public static TupleValue createTupleValue(TupleRecordId tupleId)
tupleId - a tuple Id
|
|||||||||||
| 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.