com.ibm.commerce.orderquotation.commands
Interface GetUOMCodePolicyCmd

All Superinterfaces:
BusinessPolicyCommand, TaskCommand
All Known Implementing Classes:
GetUOMCodePolicyCmdImpl

public interface GetUOMCodePolicyCmd
extends BusinessPolicyCommand

Interface for the business policy command used for mapping UOM from/to the WC system to/from another system.


Field Summary
static java.lang.String COPYRIGHT
          Copyright statement.
static java.lang.String defaultCommandClassName
          The default implementation class name.
static java.lang.String NAME
          The full class name for this interface file.
 
Method Summary
 java.lang.String getMappedUOMCode()
          Get the mapped UOM code.
 void setMappingDirection(boolean theMappingDirection)
          (Optional) Set the mapping direction.
 void setUOMCode(java.lang.String theUOMCode)
          Set the UOM code to be mapped.
 void setUOMStandard(java.lang.String theUOMStandard)
          (Optional) Set the external UOM standard.
 
Methods inherited from interface com.ibm.commerce.command. BusinessPolicyCommand
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
 

Field Detail
public static final java.lang.String COPYRIGHT
Copyright statement.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The full class name for this interface file.

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class name. This is used if there is no record found in the CMDREG table.
Method Detail

setUOMCode

public void setUOMCode(java.lang.String theUOMCode)
Set the UOM code to be mapped.
Parameters:
theUOMCode - The UOM code to be mapped.

setUOMStandard

public void setUOMStandard(java.lang.String theUOMStandard)
(Optional) Set the external UOM standard.
Parameters:
theUOMStandard - The external UOM standard.

setMappingDirection

public void setMappingDirection(boolean theMappingDirection)
(Optional) Set the mapping direction. Default, if not specified, is true.
Parameters:
theMappingDirection - true if the mapping is from WC to the external UOM standard; false if the mapping if from the external UOM standard to WC.

getMappedUOMCode

public java.lang.String getMappedUOMCode()
Get the mapped UOM code.
Returns:
The mapped UOM code.