|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.mdm.dataimport.RecordImportDefinition
This class defines import parameters for a record. This class combines record import parameters and record values
| Constructor Summary | |
RecordImportDefinition(Record record,
int sourceId)
Constructor |
|
RecordImportDefinition(TableId tableId,
int sourceId)
Constructor |
|
| Method Summary | |
int |
getDestinationChangeStamp()
Returns change stamp of the destination record |
RecordId |
getDestinationRecordId()
Returns ID of the destination record |
FieldImportDefinition |
getFieldImportDefinition(FieldId fieldId)
Gets import definitions for the specified field. |
FieldImportDefinition[] |
getFieldImportDefinitions()
Gets import definitions for all record fields |
int |
getImportType()
Returns the import type of the record fields |
Record |
getSourceRecord()
Returns the imported source record |
int |
getSourceRecordId()
Returns the ID of the source record |
void |
setAttributeValue(FieldId taxonomyFieldId,
AttributeId attrId,
MdmValue attrValue)
Sets value for the specified attribute. |
void |
setAttributeValue(FieldId taxonomyFieldId,
AttributeId attrId,
MdmValue attrValue,
AttributeImportDefinition attrDef)
Sets value and import definition for the specified attribute. |
void |
setDestinationChangeStamp(int destChangeStamp)
Sets the change stamp of the destination record |
void |
setDestinationRecordId(RecordId destRecordId)
Sets the ID of the destination record |
void |
setFieldValue(FieldId fieldId,
MdmValue fieldValue)
Sets value for the specified field. |
void |
setFieldValue(FieldId fieldId,
MdmValue fieldValue,
FieldImportDefinition fieldDef)
Sets value and import definition for the specified field |
void |
setImportType(int fieldsImportType)
Sets the import type of the record fields |
void |
setSourceRecordId(int sourceRecordId)
Sets the ID of the source record |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RecordImportDefinition(Record record,
int sourceId)
record - a recordsourceId - a source Id
public RecordImportDefinition(TableId tableId,
int sourceId)
tableId - a table IdsourceId - a source Id| Method Detail |
public void setFieldValue(FieldId fieldId,
MdmValue fieldValue,
FieldImportDefinition fieldDef)
throws MdmValueTypeException
fieldId - the field IDfieldValue - the field valuefieldDef - the field import definition
MdmValueTypeException - if there is mismatch between field type and field value
public void setFieldValue(FieldId fieldId,
MdmValue fieldValue)
throws MdmValueTypeException
fieldId - the field IDfieldValue - the field value
MdmValueTypeException - if there is mismatch between field type and field value
public void setAttributeValue(FieldId taxonomyFieldId,
AttributeId attrId,
MdmValue attrValue,
AttributeImportDefinition attrDef)
throws MdmValueTypeException
taxonomyFieldId - ID of the taxonomy field the attribute belongs toattrId - attribute IDattrValue - the attribute valueattrDef - the attribute import definition
MdmValueTypeException - if there is mismatch between attribute type and attribute value
public void setAttributeValue(FieldId taxonomyFieldId,
AttributeId attrId,
MdmValue attrValue)
throws MdmValueTypeException
taxonomyFieldId - ID of the taxonomy field the attribute belongs toattrId - attribute IDattrValue - the attribute value
MdmValueTypeException - if there is mismatch between attribute type and attribute valuepublic FieldImportDefinition[] getFieldImportDefinitions()
public FieldImportDefinition getFieldImportDefinition(FieldId fieldId)
fieldId - field ID
public int getDestinationChangeStamp()
public void setDestinationChangeStamp(int destChangeStamp)
destChangeStamp - the change stamp of the destination recordpublic RecordId getDestinationRecordId()
public void setDestinationRecordId(RecordId destRecordId)
destRecordId - the ID of the destination recordpublic Record getSourceRecord()
public int getImportType()
including constants for import typespublic void setImportType(int fieldsImportType)
fieldsImportType - the the import type of the record fieldsincluding constants for import typespublic int getSourceRecordId()
public void setSourceRecordId(int sourceRecordId)
sourceRecordId - the source record ID to set
|
|||||||||||
| 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.