Class GeneratedPaymentTransactionEntry

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

public abstract class GeneratedPaymentTransactionEntry extends GenericItem
Generated class for type PaymentTransactionEntry.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedPaymentTransactionEntry

      public GeneratedPaymentTransactionEntry()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class Item
    • getAmount

      public BigDecimal getAmount(SessionContext ctx)
      Generated method - Getter of the PaymentTransactionEntry.amount attribute.
      Returns:
      the amount
    • getAmount

      public BigDecimal getAmount()
      Generated method - Getter of the PaymentTransactionEntry.amount attribute.
      Returns:
      the amount
    • setAmount

      public void setAmount(SessionContext ctx, BigDecimal value)
      Generated method - Setter of the PaymentTransactionEntry.amount attribute.
      Parameters:
      value - the amount
    • setAmount

      public void setAmount(BigDecimal value)
      Generated method - Setter of the PaymentTransactionEntry.amount attribute.
      Parameters:
      value - the amount
    • getCode

      public String getCode(SessionContext ctx)
      Generated method - Getter of the PaymentTransactionEntry.code attribute.
      Returns:
      the code
    • getCode

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

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

      public void setCode(String value)
      Generated method - Setter of the PaymentTransactionEntry.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 PaymentTransactionEntry.currency attribute.
      Returns:
      the currency
    • getCurrency

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

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

      public void setCurrency(Currency value)
      Generated method - Setter of the PaymentTransactionEntry.currency attribute.
      Parameters:
      value - the currency
    • getPaymentTransaction

      public PaymentTransaction getPaymentTransaction(SessionContext ctx)
      Generated method - Getter of the PaymentTransactionEntry.paymentTransaction attribute.
      Returns:
      the paymentTransaction
    • getPaymentTransaction

      public PaymentTransaction getPaymentTransaction()
      Generated method - Getter of the PaymentTransactionEntry.paymentTransaction attribute.
      Returns:
      the paymentTransaction
    • setPaymentTransaction

      public void setPaymentTransaction(SessionContext ctx, PaymentTransaction value)
      Generated method - Setter of the PaymentTransactionEntry.paymentTransaction attribute.
      Parameters:
      value - the paymentTransaction
    • setPaymentTransaction

      public void setPaymentTransaction(PaymentTransaction value)
      Generated method - Setter of the PaymentTransactionEntry.paymentTransaction attribute.
      Parameters:
      value - the paymentTransaction
    • getRequestId

      public String getRequestId(SessionContext ctx)
      Generated method - Getter of the PaymentTransactionEntry.requestId attribute.
      Returns:
      the requestId
    • getRequestId

      public String getRequestId()
      Generated method - Getter of the PaymentTransactionEntry.requestId attribute.
      Returns:
      the requestId
    • setRequestId

      public void setRequestId(SessionContext ctx, String value)
      Generated method - Setter of the PaymentTransactionEntry.requestId attribute.
      Parameters:
      value - the requestId
    • setRequestId

      public void setRequestId(String value)
      Generated method - Setter of the PaymentTransactionEntry.requestId attribute.
      Parameters:
      value - the requestId
    • getRequestToken

      public String getRequestToken(SessionContext ctx)
      Generated method - Getter of the PaymentTransactionEntry.requestToken attribute.
      Returns:
      the requestToken
    • getRequestToken

      public String getRequestToken()
      Generated method - Getter of the PaymentTransactionEntry.requestToken attribute.
      Returns:
      the requestToken
    • setRequestToken

      public void setRequestToken(SessionContext ctx, String value)
      Generated method - Setter of the PaymentTransactionEntry.requestToken attribute.
      Parameters:
      value - the requestToken
    • setRequestToken

      public void setRequestToken(String value)
      Generated method - Setter of the PaymentTransactionEntry.requestToken attribute.
      Parameters:
      value - the requestToken
    • getSubscriptionID

      public String getSubscriptionID(SessionContext ctx)
      Generated method - Getter of the PaymentTransactionEntry.subscriptionID attribute.
      Returns:
      the subscriptionID
    • getSubscriptionID

      public String getSubscriptionID()
      Generated method - Getter of the PaymentTransactionEntry.subscriptionID attribute.
      Returns:
      the subscriptionID
    • setSubscriptionID

      public void setSubscriptionID(SessionContext ctx, String value)
      Generated method - Setter of the PaymentTransactionEntry.subscriptionID attribute.
      Parameters:
      value - the subscriptionID
    • setSubscriptionID

      public void setSubscriptionID(String value)
      Generated method - Setter of the PaymentTransactionEntry.subscriptionID attribute.
      Parameters:
      value - the subscriptionID
    • getTime

      public Date getTime(SessionContext ctx)
      Generated method - Getter of the PaymentTransactionEntry.time attribute.
      Returns:
      the time
    • getTime

      public Date getTime()
      Generated method - Getter of the PaymentTransactionEntry.time attribute.
      Returns:
      the time
    • setTime

      public void setTime(SessionContext ctx, Date value)
      Generated method - Setter of the PaymentTransactionEntry.time attribute.
      Parameters:
      value - the time
    • setTime

      public void setTime(Date value)
      Generated method - Setter of the PaymentTransactionEntry.time attribute.
      Parameters:
      value - the time
    • getTransactionStatus

      public String getTransactionStatus(SessionContext ctx)
      Generated method - Getter of the PaymentTransactionEntry.transactionStatus attribute.
      Returns:
      the transactionStatus
    • getTransactionStatus

      public String getTransactionStatus()
      Generated method - Getter of the PaymentTransactionEntry.transactionStatus attribute.
      Returns:
      the transactionStatus
    • setTransactionStatus

      public void setTransactionStatus(SessionContext ctx, String value)
      Generated method - Setter of the PaymentTransactionEntry.transactionStatus attribute.
      Parameters:
      value - the transactionStatus
    • setTransactionStatus

      public void setTransactionStatus(String value)
      Generated method - Setter of the PaymentTransactionEntry.transactionStatus attribute.
      Parameters:
      value - the transactionStatus
    • getTransactionStatusDetails

      public String getTransactionStatusDetails(SessionContext ctx)
      Generated method - Getter of the PaymentTransactionEntry.transactionStatusDetails attribute.
      Returns:
      the transactionStatusDetails
    • getTransactionStatusDetails

      public String getTransactionStatusDetails()
      Generated method - Getter of the PaymentTransactionEntry.transactionStatusDetails attribute.
      Returns:
      the transactionStatusDetails
    • setTransactionStatusDetails

      public void setTransactionStatusDetails(SessionContext ctx, String value)
      Generated method - Setter of the PaymentTransactionEntry.transactionStatusDetails attribute.
      Parameters:
      value - the transactionStatusDetails
    • setTransactionStatusDetails

      public void setTransactionStatusDetails(String value)
      Generated method - Setter of the PaymentTransactionEntry.transactionStatusDetails attribute.
      Parameters:
      value - the transactionStatusDetails
    • getType

      public EnumerationValue getType(SessionContext ctx)
      Generated method - Getter of the PaymentTransactionEntry.type attribute.
      Returns:
      the type
    • getType

      public EnumerationValue getType()
      Generated method - Getter of the PaymentTransactionEntry.type attribute.
      Returns:
      the type
    • setType

      public void setType(SessionContext ctx, EnumerationValue value)
      Generated method - Setter of the PaymentTransactionEntry.type attribute.
      Parameters:
      value - the type
    • setType

      public void setType(EnumerationValue value)
      Generated method - Setter of the PaymentTransactionEntry.type attribute.
      Parameters:
      value - the type
    • getVersionID

      public String getVersionID(SessionContext ctx)
      Generated method - Getter of the PaymentTransactionEntry.versionID attribute.
      Returns:
      the versionID
    • getVersionID

      public String getVersionID()
      Generated method - Getter of the PaymentTransactionEntry.versionID attribute.
      Returns:
      the versionID
    • setVersionID

      protected void setVersionID(SessionContext ctx, String value)
      Generated method - Setter of the PaymentTransactionEntry.versionID attribute.
      Parameters:
      value - the versionID
    • setVersionID

      protected void setVersionID(String value)
      Generated method - Setter of the PaymentTransactionEntry.versionID attribute.
      Parameters:
      value - the versionID