com.ibm.commerce.orderquotation.commands

Interface GetUOMCodePolicyCmd

  • All Superinterfaces:
    BusinessPolicyCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, 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 Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        Copyright statement.
        See Also:
        Constant Field Values
      • NAME

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

        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

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

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

        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

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