Class GeneratedReturnEntry

    • Field Detail

      • ORDERENTRY

        public static final java.lang.String ORDERENTRY
        Qualifier of the ReturnEntry.orderEntry attribute
        See Also:
        Constant Field Values
      • EXPECTEDQUANTITY

        public static final java.lang.String EXPECTEDQUANTITY
        Qualifier of the ReturnEntry.expectedQuantity attribute
        See Also:
        Constant Field Values
      • RECEIVEDQUANTITY

        public static final java.lang.String RECEIVEDQUANTITY
        Qualifier of the ReturnEntry.receivedQuantity attribute
        See Also:
        Constant Field Values
      • REACHEDDATE

        public static final java.lang.String REACHEDDATE
        Qualifier of the ReturnEntry.reachedDate attribute
        See Also:
        Constant Field Values
      • STATUS

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

        public static final java.lang.String ACTION
        Qualifier of the ReturnEntry.action attribute
        See Also:
        Constant Field Values
      • NOTES

        public static final java.lang.String NOTES
        Qualifier of the ReturnEntry.notes attribute
        See Also:
        Constant Field Values
      • TAX

        public static final java.lang.String TAX
        Qualifier of the ReturnEntry.tax attribute
        See Also:
        Constant Field Values
      • RETURNREQUESTPOS

        public static final java.lang.String RETURNREQUESTPOS
        Qualifier of the ReturnEntry.returnRequestPOS attribute
        See Also:
        Constant Field Values
      • RETURNREQUEST

        public static final java.lang.String RETURNREQUEST
        Qualifier of the ReturnEntry.returnRequest 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

      • GeneratedReturnEntry

        public GeneratedReturnEntry()
    • Method Detail

      • getAction

        public EnumerationValue getAction​(SessionContext ctx)
        Generated method - Getter of the ReturnEntry.action attribute.
        Returns:
        the action
      • getAction

        public EnumerationValue getAction()
        Generated method - Getter of the ReturnEntry.action attribute.
        Returns:
        the action
      • setAction

        public void setAction​(SessionContext ctx,
                              EnumerationValue value)
        Generated method - Setter of the ReturnEntry.action attribute.
        Parameters:
        value - the action
      • setAction

        public void setAction​(EnumerationValue value)
        Generated method - Setter of the ReturnEntry.action attribute.
        Parameters:
        value - the action
      • 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
      • getExpectedQuantity

        public java.lang.Long getExpectedQuantity​(SessionContext ctx)
        Generated method - Getter of the ReturnEntry.expectedQuantity attribute.
        Returns:
        the expectedQuantity
      • getExpectedQuantity

        public java.lang.Long getExpectedQuantity()
        Generated method - Getter of the ReturnEntry.expectedQuantity attribute.
        Returns:
        the expectedQuantity
      • getExpectedQuantityAsPrimitive

        public long getExpectedQuantityAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the ReturnEntry.expectedQuantity attribute.
        Returns:
        the expectedQuantity
      • getExpectedQuantityAsPrimitive

        public long getExpectedQuantityAsPrimitive()
        Generated method - Getter of the ReturnEntry.expectedQuantity attribute.
        Returns:
        the expectedQuantity
      • setExpectedQuantity

        public void setExpectedQuantity​(SessionContext ctx,
                                        java.lang.Long value)
        Generated method - Setter of the ReturnEntry.expectedQuantity attribute.
        Parameters:
        value - the expectedQuantity
      • setExpectedQuantity

        public void setExpectedQuantity​(java.lang.Long value)
        Generated method - Setter of the ReturnEntry.expectedQuantity attribute.
        Parameters:
        value - the expectedQuantity
      • setExpectedQuantity

        public void setExpectedQuantity​(SessionContext ctx,
                                        long value)
        Generated method - Setter of the ReturnEntry.expectedQuantity attribute.
        Parameters:
        value - the expectedQuantity
      • setExpectedQuantity

        public void setExpectedQuantity​(long value)
        Generated method - Setter of the ReturnEntry.expectedQuantity attribute.
        Parameters:
        value - the expectedQuantity
      • getNotes

        public java.lang.String getNotes​(SessionContext ctx)
        Generated method - Getter of the ReturnEntry.notes attribute.
        Returns:
        the notes
      • getNotes

        public java.lang.String getNotes()
        Generated method - Getter of the ReturnEntry.notes attribute.
        Returns:
        the notes
      • setNotes

        public void setNotes​(SessionContext ctx,
                             java.lang.String value)
        Generated method - Setter of the ReturnEntry.notes attribute.
        Parameters:
        value - the notes
      • setNotes

        public void setNotes​(java.lang.String value)
        Generated method - Setter of the ReturnEntry.notes attribute.
        Parameters:
        value - the notes
      • getOrderEntry

        public AbstractOrderEntry getOrderEntry​(SessionContext ctx)
        Generated method - Getter of the ReturnEntry.orderEntry attribute.
        Returns:
        the orderEntry
      • getOrderEntry

        public AbstractOrderEntry getOrderEntry()
        Generated method - Getter of the ReturnEntry.orderEntry attribute.
        Returns:
        the orderEntry
      • setOrderEntry

        public void setOrderEntry​(SessionContext ctx,
                                  AbstractOrderEntry value)
        Generated method - Setter of the ReturnEntry.orderEntry attribute.
        Parameters:
        value - the orderEntry
      • setOrderEntry

        public void setOrderEntry​(AbstractOrderEntry value)
        Generated method - Setter of the ReturnEntry.orderEntry attribute.
        Parameters:
        value - the orderEntry
      • getReachedDate

        public java.util.Date getReachedDate​(SessionContext ctx)
        Generated method - Getter of the ReturnEntry.reachedDate attribute.
        Returns:
        the reachedDate
      • getReachedDate

        public java.util.Date getReachedDate()
        Generated method - Getter of the ReturnEntry.reachedDate attribute.
        Returns:
        the reachedDate
      • setReachedDate

        public void setReachedDate​(SessionContext ctx,
                                   java.util.Date value)
        Generated method - Setter of the ReturnEntry.reachedDate attribute.
        Parameters:
        value - the reachedDate
      • setReachedDate

        public void setReachedDate​(java.util.Date value)
        Generated method - Setter of the ReturnEntry.reachedDate attribute.
        Parameters:
        value - the reachedDate
      • getReceivedQuantity

        public java.lang.Long getReceivedQuantity​(SessionContext ctx)
        Generated method - Getter of the ReturnEntry.receivedQuantity attribute.
        Returns:
        the receivedQuantity
      • getReceivedQuantity

        public java.lang.Long getReceivedQuantity()
        Generated method - Getter of the ReturnEntry.receivedQuantity attribute.
        Returns:
        the receivedQuantity
      • getReceivedQuantityAsPrimitive

        public long getReceivedQuantityAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the ReturnEntry.receivedQuantity attribute.
        Returns:
        the receivedQuantity
      • getReceivedQuantityAsPrimitive

        public long getReceivedQuantityAsPrimitive()
        Generated method - Getter of the ReturnEntry.receivedQuantity attribute.
        Returns:
        the receivedQuantity
      • setReceivedQuantity

        public void setReceivedQuantity​(SessionContext ctx,
                                        java.lang.Long value)
        Generated method - Setter of the ReturnEntry.receivedQuantity attribute.
        Parameters:
        value - the receivedQuantity
      • setReceivedQuantity

        public void setReceivedQuantity​(java.lang.Long value)
        Generated method - Setter of the ReturnEntry.receivedQuantity attribute.
        Parameters:
        value - the receivedQuantity
      • setReceivedQuantity

        public void setReceivedQuantity​(SessionContext ctx,
                                        long value)
        Generated method - Setter of the ReturnEntry.receivedQuantity attribute.
        Parameters:
        value - the receivedQuantity
      • setReceivedQuantity

        public void setReceivedQuantity​(long value)
        Generated method - Setter of the ReturnEntry.receivedQuantity attribute.
        Parameters:
        value - the receivedQuantity
      • getReturnRequest

        public ReturnRequest getReturnRequest​(SessionContext ctx)
        Generated method - Getter of the ReturnEntry.returnRequest attribute.
        Returns:
        the returnRequest
      • getReturnRequest

        public ReturnRequest getReturnRequest()
        Generated method - Getter of the ReturnEntry.returnRequest attribute.
        Returns:
        the returnRequest
      • setReturnRequest

        public void setReturnRequest​(SessionContext ctx,
                                     ReturnRequest value)
        Generated method - Setter of the ReturnEntry.returnRequest attribute.
        Parameters:
        value - the returnRequest
      • setReturnRequest

        public void setReturnRequest​(ReturnRequest value)
        Generated method - Setter of the ReturnEntry.returnRequest attribute.
        Parameters:
        value - the returnRequest
      • getStatus

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

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

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

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

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

        public java.math.BigDecimal getTax()
        Generated method - Getter of the ReturnEntry.tax attribute.
        Returns:
        the tax - Total tax value for the ReturnEntry.
      • setTax

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

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