Class GeneratedReturnEntry

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
ReturnEntry

public abstract class GeneratedReturnEntry extends GenericItem
Generated class for type ReturnEntry.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedReturnEntry

      public GeneratedReturnEntry()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class Item
    • 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 Long getExpectedQuantity(SessionContext ctx)
      Generated method - Getter of the ReturnEntry.expectedQuantity attribute.
      Returns:
      the expectedQuantity
    • getExpectedQuantity

      public 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, 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
    • 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 String getNotes(SessionContext ctx)
      Generated method - Getter of the ReturnEntry.notes attribute.
      Returns:
      the notes
    • getNotes

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

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

      public void setNotes(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 Date getReachedDate(SessionContext ctx)
      Generated method - Getter of the ReturnEntry.reachedDate attribute.
      Returns:
      the reachedDate
    • getReachedDate

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

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

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

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

      public 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, 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
    • 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 BigDecimal getTax(SessionContext ctx)
      Generated method - Getter of the ReturnEntry.tax attribute.
      Returns:
      the tax - Total tax value for the ReturnEntry.
    • getTax

      public 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, BigDecimal value)
      Generated method - Setter of the ReturnEntry.tax attribute.
      Parameters:
      value - the tax - Total tax value for the ReturnEntry.
    • setTax

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