Class ConsignmentProcessModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class ConsignmentProcessModel
    extends BusinessProcessModel
    Generated model class for type ConsignmentProcess first defined at extension basecommerce.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _CONSIGNMENT2CONSIGNMENTPROCESS

        public static final java.lang.String _CONSIGNMENT2CONSIGNMENTPROCESS
        Generated relation code constant for relation Consignment2ConsignmentProcess defining source attribute consignment in extension basecommerce.
        See Also:
        Constant Field Values
      • _ORDERPROCESS2CONSIGNMENTPROCESS

        public static final java.lang.String _ORDERPROCESS2CONSIGNMENTPROCESS
        Generated relation code constant for relation OrderProcess2ConsignmentProcess defining source attribute parentProcess in extension basecommerce.
        See Also:
        Constant Field Values
      • CONSIGNMENT

        public static final java.lang.String CONSIGNMENT
        Generated constant - Attribute key of ConsignmentProcess.consignment attribute defined at extension basecommerce.
        See Also:
        Constant Field Values
      • PARENTPROCESS

        public static final java.lang.String PARENTPROCESS
        Generated constant - Attribute key of ConsignmentProcess.parentProcess attribute defined at extension basecommerce.
        See Also:
        Constant Field Values
      • DONE

        public static final java.lang.String DONE
        Generated constant - Attribute key of ConsignmentProcess.done attribute defined at extension yacceleratorfulfilmentprocess.
        See Also:
        Constant Field Values
      • WAITINGFORCONSIGNMENT

        public static final java.lang.String WAITINGFORCONSIGNMENT
        Generated constant - Attribute key of ConsignmentProcess.waitingForConsignment attribute defined at extension yacceleratorfulfilmentprocess.
        See Also:
        Constant Field Values
      • WAREHOUSECONSIGNMENTSTATE

        public static final java.lang.String WAREHOUSECONSIGNMENTSTATE
        Generated constant - Attribute key of ConsignmentProcess.warehouseConsignmentState attribute defined at extension yacceleratorfulfilmentprocess.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ConsignmentProcessModel

        public ConsignmentProcessModel()
        Generated constructor - Default constructor for generic creation.
      • ConsignmentProcessModel

        public ConsignmentProcessModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • ConsignmentProcessModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ConsignmentProcessModel​(java.lang.String _code,
                                       java.lang.String _processDefinitionName)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _code - initial attribute declared by type BusinessProcess at extension processing
        _processDefinitionName - initial attribute declared by type BusinessProcess at extension processing
      • ConsignmentProcessModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ConsignmentProcessModel​(java.lang.String _code,
                                       ItemModel _owner,
                                       java.lang.String _processDefinitionName)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _code - initial attribute declared by type BusinessProcess at extension processing
        _owner - initial attribute declared by type Item at extension core
        _processDefinitionName - initial attribute declared by type BusinessProcess at extension processing
    • Method Detail

      • getConsignment

        @Accessor(qualifier="consignment",
                  type=GETTER)
        public ConsignmentModel getConsignment()
        Generated method - Getter of the ConsignmentProcess.consignment attribute defined at extension basecommerce.
        Returns:
        the consignment
      • getParentProcess

        @Accessor(qualifier="parentProcess",
                  type=GETTER)
        public OrderProcessModel getParentProcess()
        Generated method - Getter of the ConsignmentProcess.parentProcess attribute defined at extension basecommerce.
        Returns:
        the parentProcess
      • getWarehouseConsignmentState

        @Accessor(qualifier="warehouseConsignmentState",
                  type=GETTER)
        public WarehouseConsignmentState getWarehouseConsignmentState()
        Generated method - Getter of the ConsignmentProcess.warehouseConsignmentState attribute defined at extension yacceleratorfulfilmentprocess.
        Returns:
        the warehouseConsignmentState - State of warehouse process.
      • isDone

        @Accessor(qualifier="done",
                  type=GETTER)
        public boolean isDone()
        Generated method - Getter of the ConsignmentProcess.done attribute defined at extension yacceleratorfulfilmentprocess.
        Returns:
        the done - Mark process as done
      • isWaitingForConsignment

        @Accessor(qualifier="waitingForConsignment",
                  type=GETTER)
        public boolean isWaitingForConsignment()
        Generated method - Getter of the ConsignmentProcess.waitingForConsignment attribute defined at extension yacceleratorfulfilmentprocess.
        Returns:
        the waitingForConsignment - Mark that process is waiting for consignment
      • setConsignment

        @Accessor(qualifier="consignment",
                  type=SETTER)
        public void setConsignment​(ConsignmentModel value)
        Generated method - Setter of ConsignmentProcess.consignment attribute defined at extension basecommerce.
        Parameters:
        value - the consignment
      • setDone

        @Accessor(qualifier="done",
                  type=SETTER)
        public void setDone​(boolean value)
        Generated method - Setter of ConsignmentProcess.done attribute defined at extension yacceleratorfulfilmentprocess.
        Parameters:
        value - the done - Mark process as done
      • setParentProcess

        @Accessor(qualifier="parentProcess",
                  type=SETTER)
        public void setParentProcess​(OrderProcessModel value)
        Generated method - Setter of ConsignmentProcess.parentProcess attribute defined at extension basecommerce.
        Parameters:
        value - the parentProcess
      • setWaitingForConsignment

        @Accessor(qualifier="waitingForConsignment",
                  type=SETTER)
        public void setWaitingForConsignment​(boolean value)
        Generated method - Setter of ConsignmentProcess.waitingForConsignment attribute defined at extension yacceleratorfulfilmentprocess.
        Parameters:
        value - the waitingForConsignment - Mark that process is waiting for consignment
      • setWarehouseConsignmentState

        @Accessor(qualifier="warehouseConsignmentState",
                  type=SETTER)
        public void setWarehouseConsignmentState​(WarehouseConsignmentState value)
        Generated method - Setter of ConsignmentProcess.warehouseConsignmentState attribute defined at extension yacceleratorfulfilmentprocess.
        Parameters:
        value - the warehouseConsignmentState - State of warehouse process.