Class GeneratedWarehouseTransferEntry

    • Constructor Detail

      • GeneratedWarehouseTransferEntry

        public GeneratedWarehouseTransferEntry()
    • Method Detail

      • createItem

        protected Item createItem​(SessionContext ctx,
                                  ComposedType type,
                                  Item.ItemAttributeMap allAttributes)
                           throws JaloBusinessException
        Description copied from class: Item
        Has to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) during ComposedType.newInstance(Map).

        In case this method uses any of the attribute values during creation it is required to override Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
        Sn example:

        
         public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
         ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
         man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
         // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
         SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
         super.getNonInitialAttributes( ctx, allAttributes );
         // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
        
         
        Overrides:
        createItem in class GenericItem
        Parameters:
        ctx - the current session context which this item is created within
        type - the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )
        Returns:
        the new item instance
        Throws:
        JaloBusinessException - indicates an error during creation - any changes will be rollbacked
      • getDestination

        public WarehouseBin getDestination​(SessionContext ctx)
        Generated method - Getter of the WarehouseTransferEntry.destination attribute.
        Returns:
        the destination
      • getDestination

        public WarehouseBin getDestination()
        Generated method - Getter of the WarehouseTransferEntry.destination attribute.
        Returns:
        the destination
      • setDestination

        public void setDestination​(SessionContext ctx,
                                   WarehouseBin value)
        Generated method - Setter of the WarehouseTransferEntry.destination attribute.
        Parameters:
        value - the destination
      • setDestination

        public void setDestination​(WarehouseBin value)
        Generated method - Setter of the WarehouseTransferEntry.destination attribute.
        Parameters:
        value - the destination
      • getProductCode

        public java.lang.String getProductCode​(SessionContext ctx)
        Generated method - Getter of the WarehouseTransferEntry.productCode attribute.
        Returns:
        the productCode
      • getProductCode

        public java.lang.String getProductCode()
        Generated method - Getter of the WarehouseTransferEntry.productCode attribute.
        Returns:
        the productCode
      • setProductCode

        public void setProductCode​(SessionContext ctx,
                                   java.lang.String value)
        Generated method - Setter of the WarehouseTransferEntry.productCode attribute.
        Parameters:
        value - the productCode
      • setProductCode

        public void setProductCode​(java.lang.String value)
        Generated method - Setter of the WarehouseTransferEntry.productCode attribute.
        Parameters:
        value - the productCode
      • getQuantityAccepted

        public java.lang.Integer getQuantityAccepted​(SessionContext ctx)
        Generated method - Getter of the WarehouseTransferEntry.quantityAccepted attribute.
        Returns:
        the quantityAccepted
      • getQuantityAccepted

        public java.lang.Integer getQuantityAccepted()
        Generated method - Getter of the WarehouseTransferEntry.quantityAccepted attribute.
        Returns:
        the quantityAccepted
      • getQuantityAcceptedAsPrimitive

        public int getQuantityAcceptedAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the WarehouseTransferEntry.quantityAccepted attribute.
        Returns:
        the quantityAccepted
      • getQuantityAcceptedAsPrimitive

        public int getQuantityAcceptedAsPrimitive()
        Generated method - Getter of the WarehouseTransferEntry.quantityAccepted attribute.
        Returns:
        the quantityAccepted
      • setQuantityAccepted

        public void setQuantityAccepted​(SessionContext ctx,
                                        java.lang.Integer value)
        Generated method - Setter of the WarehouseTransferEntry.quantityAccepted attribute.
        Parameters:
        value - the quantityAccepted
      • setQuantityAccepted

        public void setQuantityAccepted​(java.lang.Integer value)
        Generated method - Setter of the WarehouseTransferEntry.quantityAccepted attribute.
        Parameters:
        value - the quantityAccepted
      • setQuantityAccepted

        public void setQuantityAccepted​(SessionContext ctx,
                                        int value)
        Generated method - Setter of the WarehouseTransferEntry.quantityAccepted attribute.
        Parameters:
        value - the quantityAccepted
      • setQuantityAccepted

        public void setQuantityAccepted​(int value)
        Generated method - Setter of the WarehouseTransferEntry.quantityAccepted attribute.
        Parameters:
        value - the quantityAccepted
      • getQuantityDeclined

        public java.lang.Integer getQuantityDeclined​(SessionContext ctx)
        Generated method - Getter of the WarehouseTransferEntry.quantityDeclined attribute.
        Returns:
        the quantityDeclined
      • getQuantityDeclined

        public java.lang.Integer getQuantityDeclined()
        Generated method - Getter of the WarehouseTransferEntry.quantityDeclined attribute.
        Returns:
        the quantityDeclined
      • getQuantityDeclinedAsPrimitive

        public int getQuantityDeclinedAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the WarehouseTransferEntry.quantityDeclined attribute.
        Returns:
        the quantityDeclined
      • getQuantityDeclinedAsPrimitive

        public int getQuantityDeclinedAsPrimitive()
        Generated method - Getter of the WarehouseTransferEntry.quantityDeclined attribute.
        Returns:
        the quantityDeclined
      • setQuantityDeclined

        public void setQuantityDeclined​(SessionContext ctx,
                                        java.lang.Integer value)
        Generated method - Setter of the WarehouseTransferEntry.quantityDeclined attribute.
        Parameters:
        value - the quantityDeclined
      • setQuantityDeclined

        public void setQuantityDeclined​(java.lang.Integer value)
        Generated method - Setter of the WarehouseTransferEntry.quantityDeclined attribute.
        Parameters:
        value - the quantityDeclined
      • setQuantityDeclined

        public void setQuantityDeclined​(SessionContext ctx,
                                        int value)
        Generated method - Setter of the WarehouseTransferEntry.quantityDeclined attribute.
        Parameters:
        value - the quantityDeclined
      • setQuantityDeclined

        public void setQuantityDeclined​(int value)
        Generated method - Setter of the WarehouseTransferEntry.quantityDeclined attribute.
        Parameters:
        value - the quantityDeclined
      • getQuantityRequested

        public java.lang.Integer getQuantityRequested​(SessionContext ctx)
        Generated method - Getter of the WarehouseTransferEntry.quantityRequested attribute.
        Returns:
        the quantityRequested
      • getQuantityRequested

        public java.lang.Integer getQuantityRequested()
        Generated method - Getter of the WarehouseTransferEntry.quantityRequested attribute.
        Returns:
        the quantityRequested
      • getQuantityRequestedAsPrimitive

        public int getQuantityRequestedAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the WarehouseTransferEntry.quantityRequested attribute.
        Returns:
        the quantityRequested
      • getQuantityRequestedAsPrimitive

        public int getQuantityRequestedAsPrimitive()
        Generated method - Getter of the WarehouseTransferEntry.quantityRequested attribute.
        Returns:
        the quantityRequested
      • setQuantityRequested

        public void setQuantityRequested​(SessionContext ctx,
                                         java.lang.Integer value)
        Generated method - Setter of the WarehouseTransferEntry.quantityRequested attribute.
        Parameters:
        value - the quantityRequested
      • setQuantityRequested

        public void setQuantityRequested​(java.lang.Integer value)
        Generated method - Setter of the WarehouseTransferEntry.quantityRequested attribute.
        Parameters:
        value - the quantityRequested
      • setQuantityRequested

        public void setQuantityRequested​(SessionContext ctx,
                                         int value)
        Generated method - Setter of the WarehouseTransferEntry.quantityRequested attribute.
        Parameters:
        value - the quantityRequested
      • setQuantityRequested

        public void setQuantityRequested​(int value)
        Generated method - Setter of the WarehouseTransferEntry.quantityRequested attribute.
        Parameters:
        value - the quantityRequested
      • getSource

        public WarehouseBin getSource​(SessionContext ctx)
        Generated method - Getter of the WarehouseTransferEntry.source attribute.
        Returns:
        the source
      • getSource

        public WarehouseBin getSource()
        Generated method - Getter of the WarehouseTransferEntry.source attribute.
        Returns:
        the source
      • setSource

        public void setSource​(SessionContext ctx,
                              WarehouseBin value)
        Generated method - Setter of the WarehouseTransferEntry.source attribute.
        Parameters:
        value - the source
      • setSource

        public void setSource​(WarehouseBin value)
        Generated method - Setter of the WarehouseTransferEntry.source attribute.
        Parameters:
        value - the source
      • getWarehouseTransfer

        public WarehouseTransfer getWarehouseTransfer​(SessionContext ctx)
        Generated method - Getter of the WarehouseTransferEntry.warehouseTransfer attribute.
        Returns:
        the warehouseTransfer
      • getWarehouseTransfer

        public WarehouseTransfer getWarehouseTransfer()
        Generated method - Getter of the WarehouseTransferEntry.warehouseTransfer attribute.
        Returns:
        the warehouseTransfer
      • setWarehouseTransfer

        public void setWarehouseTransfer​(SessionContext ctx,
                                         WarehouseTransfer value)
        Generated method - Setter of the WarehouseTransferEntry.warehouseTransfer attribute.
        Parameters:
        value - the warehouseTransfer
      • setWarehouseTransfer

        public void setWarehouseTransfer​(WarehouseTransfer value)
        Generated method - Setter of the WarehouseTransferEntry.warehouseTransfer attribute.
        Parameters:
        value - the warehouseTransfer