Class GeneratedReturnRequest

    • Field Detail

      • CODE

        public static final java.lang.String CODE
        Qualifier of the ReturnRequest.code attribute
        See Also:
        Constant Field Values
      • RMA

        public static final java.lang.String RMA
        Qualifier of the ReturnRequest.RMA attribute
        See Also:
        Constant Field Values
      • REPLACEMENTORDER

        public static final java.lang.String REPLACEMENTORDER
        Qualifier of the ReturnRequest.replacementOrder attribute
        See Also:
        Constant Field Values
      • CURRENCY

        public static final java.lang.String CURRENCY
        Qualifier of the ReturnRequest.currency attribute
        See Also:
        Constant Field Values
      • STATUS

        public static final java.lang.String STATUS
        Qualifier of the ReturnRequest.status attribute
        See Also:
        Constant Field Values
      • SUBTOTAL

        public static final java.lang.String SUBTOTAL
        Qualifier of the ReturnRequest.subtotal attribute
        See Also:
        Constant Field Values
      • TOTALTAX

        public static final java.lang.String TOTALTAX
        Qualifier of the ReturnRequest.totalTax attribute
        See Also:
        Constant Field Values
      • RETURNLABEL

        public static final java.lang.String RETURNLABEL
        Qualifier of the ReturnRequest.returnLabel attribute
        See Also:
        Constant Field Values
      • RETURNFORM

        public static final java.lang.String RETURNFORM
        Qualifier of the ReturnRequest.returnForm attribute
        See Also:
        Constant Field Values
      • RETURNWAREHOUSE

        public static final java.lang.String RETURNWAREHOUSE
        Qualifier of the ReturnRequest.returnWarehouse attribute
        See Also:
        Constant Field Values
      • ORDERPOS

        public static final java.lang.String ORDERPOS
        Qualifier of the ReturnRequest.orderPOS attribute
        See Also:
        Constant Field Values
      • ORDER

        public static final java.lang.String ORDER
        Qualifier of the ReturnRequest.order attribute
        See Also:
        Constant Field Values
      • RETURNENTRIES

        public static final java.lang.String RETURNENTRIES
        Qualifier of the ReturnRequest.returnEntries attribute
        See Also:
        Constant Field Values
      • RETURNPROCESS

        public static final java.lang.String RETURNPROCESS
        Qualifier of the ReturnRequest.returnProcess attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedReturnRequest

        public GeneratedReturnRequest()
    • Method Detail

      • getCode

        public java.lang.String getCode​(SessionContext ctx)
        Generated method - Getter of the ReturnRequest.code attribute.
        Returns:
        the code
      • getCode

        public java.lang.String getCode()
        Generated method - Getter of the ReturnRequest.code attribute.
        Returns:
        the code
      • setCode

        public void setCode​(SessionContext ctx,
                            java.lang.String value)
        Generated method - Setter of the ReturnRequest.code attribute.
        Parameters:
        value - the code
      • setCode

        public void setCode​(java.lang.String value)
        Generated method - Setter of the ReturnRequest.code attribute.
        Parameters:
        value - the code
      • 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
      • getCurrency

        public Currency getCurrency​(SessionContext ctx)
        Generated method - Getter of the ReturnRequest.currency attribute.
        Returns:
        the currency
      • getCurrency

        public Currency getCurrency()
        Generated method - Getter of the ReturnRequest.currency attribute.
        Returns:
        the currency
      • setCurrency

        public void setCurrency​(SessionContext ctx,
                                Currency value)
        Generated method - Setter of the ReturnRequest.currency attribute.
        Parameters:
        value - the currency
      • setCurrency

        public void setCurrency​(Currency value)
        Generated method - Setter of the ReturnRequest.currency attribute.
        Parameters:
        value - the currency
      • getOrder

        public Order getOrder​(SessionContext ctx)
        Generated method - Getter of the ReturnRequest.order attribute.
        Returns:
        the order
      • getOrder

        public Order getOrder()
        Generated method - Getter of the ReturnRequest.order attribute.
        Returns:
        the order
      • setOrder

        public void setOrder​(SessionContext ctx,
                             Order value)
        Generated method - Setter of the ReturnRequest.order attribute.
        Parameters:
        value - the order
      • setOrder

        public void setOrder​(Order value)
        Generated method - Setter of the ReturnRequest.order attribute.
        Parameters:
        value - the order
      • getReplacementOrder

        public ReplacementOrder getReplacementOrder​(SessionContext ctx)
        Generated method - Getter of the ReturnRequest.replacementOrder attribute.
        Returns:
        the replacementOrder
      • getReplacementOrder

        public ReplacementOrder getReplacementOrder()
        Generated method - Getter of the ReturnRequest.replacementOrder attribute.
        Returns:
        the replacementOrder
      • setReplacementOrder

        public void setReplacementOrder​(SessionContext ctx,
                                        ReplacementOrder value)
        Generated method - Setter of the ReturnRequest.replacementOrder attribute.
        Parameters:
        value - the replacementOrder
      • setReplacementOrder

        public void setReplacementOrder​(ReplacementOrder value)
        Generated method - Setter of the ReturnRequest.replacementOrder attribute.
        Parameters:
        value - the replacementOrder
      • getReturnEntries

        public java.util.List<ReturnEntry> getReturnEntries​(SessionContext ctx)
        Generated method - Getter of the ReturnRequest.returnEntries attribute.
        Returns:
        the returnEntries
      • getReturnEntries

        public java.util.List<ReturnEntry> getReturnEntries()
        Generated method - Getter of the ReturnRequest.returnEntries attribute.
        Returns:
        the returnEntries
      • setReturnEntries

        public void setReturnEntries​(SessionContext ctx,
                                     java.util.List<ReturnEntry> value)
        Generated method - Setter of the ReturnRequest.returnEntries attribute.
        Parameters:
        value - the returnEntries
      • setReturnEntries

        public void setReturnEntries​(java.util.List<ReturnEntry> value)
        Generated method - Setter of the ReturnRequest.returnEntries attribute.
        Parameters:
        value - the returnEntries
      • addToReturnEntries

        public void addToReturnEntries​(SessionContext ctx,
                                       ReturnEntry value)
        Generated method - Adds value to returnEntries.
        Parameters:
        value - the item to add to returnEntries
      • addToReturnEntries

        public void addToReturnEntries​(ReturnEntry value)
        Generated method - Adds value to returnEntries.
        Parameters:
        value - the item to add to returnEntries
      • removeFromReturnEntries

        public void removeFromReturnEntries​(SessionContext ctx,
                                            ReturnEntry value)
        Generated method - Removes value from returnEntries.
        Parameters:
        value - the item to remove from returnEntries
      • removeFromReturnEntries

        public void removeFromReturnEntries​(ReturnEntry value)
        Generated method - Removes value from returnEntries.
        Parameters:
        value - the item to remove from returnEntries
      • getReturnForm

        public Media getReturnForm​(SessionContext ctx)
        Generated method - Getter of the ReturnRequest.returnForm attribute.
        Returns:
        the returnForm - The return form for the ReturnRequest.
      • getReturnForm

        public Media getReturnForm()
        Generated method - Getter of the ReturnRequest.returnForm attribute.
        Returns:
        the returnForm - The return form for the ReturnRequest.
      • setReturnForm

        public void setReturnForm​(SessionContext ctx,
                                  Media value)
        Generated method - Setter of the ReturnRequest.returnForm attribute.
        Parameters:
        value - the returnForm - The return form for the ReturnRequest.
      • setReturnForm

        public void setReturnForm​(Media value)
        Generated method - Setter of the ReturnRequest.returnForm attribute.
        Parameters:
        value - the returnForm - The return form for the ReturnRequest.
      • getReturnLabel

        public Media getReturnLabel​(SessionContext ctx)
        Generated method - Getter of the ReturnRequest.returnLabel attribute.
        Returns:
        the returnLabel - The return shipping label for the ReturnRequest.
      • getReturnLabel

        public Media getReturnLabel()
        Generated method - Getter of the ReturnRequest.returnLabel attribute.
        Returns:
        the returnLabel - The return shipping label for the ReturnRequest.
      • setReturnLabel

        public void setReturnLabel​(SessionContext ctx,
                                   Media value)
        Generated method - Setter of the ReturnRequest.returnLabel attribute.
        Parameters:
        value - the returnLabel - The return shipping label for the ReturnRequest.
      • setReturnLabel

        public void setReturnLabel​(Media value)
        Generated method - Setter of the ReturnRequest.returnLabel attribute.
        Parameters:
        value - the returnLabel - The return shipping label for the ReturnRequest.
      • getReturnProcess

        public java.util.Collection<ReturnProcess> getReturnProcess​(SessionContext ctx)
        Generated method - Getter of the ReturnRequest.returnProcess attribute.
        Returns:
        the returnProcess
      • getReturnProcess

        public java.util.Collection<ReturnProcess> getReturnProcess()
        Generated method - Getter of the ReturnRequest.returnProcess attribute.
        Returns:
        the returnProcess
      • setReturnProcess

        public void setReturnProcess​(SessionContext ctx,
                                     java.util.Collection<ReturnProcess> value)
        Generated method - Setter of the ReturnRequest.returnProcess attribute.
        Parameters:
        value - the returnProcess
      • setReturnProcess

        public void setReturnProcess​(java.util.Collection<ReturnProcess> value)
        Generated method - Setter of the ReturnRequest.returnProcess attribute.
        Parameters:
        value - the returnProcess
      • addToReturnProcess

        public void addToReturnProcess​(SessionContext ctx,
                                       ReturnProcess value)
        Generated method - Adds value to returnProcess.
        Parameters:
        value - the item to add to returnProcess
      • addToReturnProcess

        public void addToReturnProcess​(ReturnProcess value)
        Generated method - Adds value to returnProcess.
        Parameters:
        value - the item to add to returnProcess
      • removeFromReturnProcess

        public void removeFromReturnProcess​(SessionContext ctx,
                                            ReturnProcess value)
        Generated method - Removes value from returnProcess.
        Parameters:
        value - the item to remove from returnProcess
      • removeFromReturnProcess

        public void removeFromReturnProcess​(ReturnProcess value)
        Generated method - Removes value from returnProcess.
        Parameters:
        value - the item to remove from returnProcess
      • getReturnWarehouse

        public Warehouse getReturnWarehouse​(SessionContext ctx)
        Generated method - Getter of the ReturnRequest.returnWarehouse attribute.
        Returns:
        the returnWarehouse - Determines the warehouse where the products need to be returned by the customer
      • getReturnWarehouse

        public Warehouse getReturnWarehouse()
        Generated method - Getter of the ReturnRequest.returnWarehouse attribute.
        Returns:
        the returnWarehouse - Determines the warehouse where the products need to be returned by the customer
      • setReturnWarehouse

        public void setReturnWarehouse​(SessionContext ctx,
                                       Warehouse value)
        Generated method - Setter of the ReturnRequest.returnWarehouse attribute.
        Parameters:
        value - the returnWarehouse - Determines the warehouse where the products need to be returned by the customer
      • setReturnWarehouse

        public void setReturnWarehouse​(Warehouse value)
        Generated method - Setter of the ReturnRequest.returnWarehouse attribute.
        Parameters:
        value - the returnWarehouse - Determines the warehouse where the products need to be returned by the customer
      • getRMA

        public java.lang.String getRMA​(SessionContext ctx)
        Generated method - Getter of the ReturnRequest.RMA attribute.
        Returns:
        the RMA
      • getRMA

        public java.lang.String getRMA()
        Generated method - Getter of the ReturnRequest.RMA attribute.
        Returns:
        the RMA
      • setRMA

        public void setRMA​(SessionContext ctx,
                           java.lang.String value)
        Generated method - Setter of the ReturnRequest.RMA attribute.
        Parameters:
        value - the RMA
      • setRMA

        public void setRMA​(java.lang.String value)
        Generated method - Setter of the ReturnRequest.RMA attribute.
        Parameters:
        value - the RMA
      • getStatus

        public EnumerationValue getStatus​(SessionContext ctx)
        Generated method - Getter of the ReturnRequest.status attribute.
        Returns:
        the status
      • getStatus

        public EnumerationValue getStatus()
        Generated method - Getter of the ReturnRequest.status attribute.
        Returns:
        the status
      • setStatus

        public void setStatus​(SessionContext ctx,
                              EnumerationValue value)
        Generated method - Setter of the ReturnRequest.status attribute.
        Parameters:
        value - the status
      • setStatus

        public void setStatus​(EnumerationValue value)
        Generated method - Setter of the ReturnRequest.status attribute.
        Parameters:
        value - the status
      • getSubtotal

        public java.math.BigDecimal getSubtotal​(SessionContext ctx)
        Generated method - Getter of the ReturnRequest.subtotal attribute.
        Returns:
        the subtotal
      • getSubtotal

        public java.math.BigDecimal getSubtotal()
        Generated method - Getter of the ReturnRequest.subtotal attribute.
        Returns:
        the subtotal
      • setSubtotal

        public void setSubtotal​(SessionContext ctx,
                                java.math.BigDecimal value)
        Generated method - Setter of the ReturnRequest.subtotal attribute.
        Parameters:
        value - the subtotal
      • setSubtotal

        public void setSubtotal​(java.math.BigDecimal value)
        Generated method - Setter of the ReturnRequest.subtotal attribute.
        Parameters:
        value - the subtotal
      • getTotalTax

        public java.math.BigDecimal getTotalTax​(SessionContext ctx)
        Generated method - Getter of the ReturnRequest.totalTax attribute.
        Returns:
        the totalTax - Total tax value for the ReturnRequest.
      • getTotalTax

        public java.math.BigDecimal getTotalTax()
        Generated method - Getter of the ReturnRequest.totalTax attribute.
        Returns:
        the totalTax - Total tax value for the ReturnRequest.
      • setTotalTax

        public void setTotalTax​(SessionContext ctx,
                                java.math.BigDecimal value)
        Generated method - Setter of the ReturnRequest.totalTax attribute.
        Parameters:
        value - the totalTax - Total tax value for the ReturnRequest.
      • setTotalTax

        public void setTotalTax​(java.math.BigDecimal value)
        Generated method - Setter of the ReturnRequest.totalTax attribute.
        Parameters:
        value - the totalTax - Total tax value for the ReturnRequest.