com.sap.mdm.dataimport
Class FieldImportDefinition

java.lang.Object
  extended bycom.sap.mdm.dataimport.FieldImportDefinition
Direct Known Subclasses:
QualifiedFieldImportDefinition

public class FieldImportDefinition
extends Object

This class defines import parameters for any record field. This class is ancestor for QualifiedFieldImportDefinition class

Since:
MDM 7.1
See Also:
QualifiedFieldImportDefinition

Constructor Summary
FieldImportDefinition()
          Empty constructor
FieldImportDefinition(FieldImportDefinition fieldDef)
          Copy constructor
FieldImportDefinition(int modifyType)
          Constructor
FieldImportDefinition(int modifyType, boolean isModifyUnitOnly)
          Constructor
 
Method Summary
 int getModifyType()
          Returns the modify type of the field
 boolean isModifyUnitOnly()
          Indicates if only unit of measure should be changed.
 void setModifyType(int modifyType)
          Sets the modify type of the field This parameter is relevant only for multi-value field
 void setModifyUnitOnly(boolean isModifyUnitOnly)
          Specify if only unit of measure should be changed.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldImportDefinition

public FieldImportDefinition()
Empty constructor


FieldImportDefinition

public FieldImportDefinition(int modifyType)
Constructor


FieldImportDefinition

public FieldImportDefinition(int modifyType,
                             boolean isModifyUnitOnly)
Constructor


FieldImportDefinition

public FieldImportDefinition(FieldImportDefinition fieldDef)
Copy constructor

Method Detail

getModifyType

public int getModifyType()
Returns the modify type of the field

Returns:
the modifyType
See Also:
that includes constants for fodify types

setModifyType

public void setModifyType(int modifyType)
Sets the modify type of the field This parameter is relevant only for multi-value field

Parameters:
modifyType - the modify type to set
See Also:
that includes constants for fodify types

setModifyUnitOnly

public void setModifyUnitOnly(boolean isModifyUnitOnly)
Specify if only unit of measure should be changed. This parameter is relevant only for measurement fields

Parameters:
isModifyUnitOnly - true if only unit should be changed

isModifyUnitOnly

public boolean isModifyUnitOnly()
Indicates if only unit of measure should be changed. This parameter is relevant only for measurement fields

Returns:
true if only unit should be changed, false otherwise


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.