Class GeneratedPaymentInfo

    • Constructor Detail

      • GeneratedPaymentInfo

        public GeneratedPaymentInfo()
    • Method Detail

      • getCode

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

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

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

        public void setCode​(java.lang.String value)
        Generated method - Setter of the PaymentInfo.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
      • isDuplicate

        public java.lang.Boolean isDuplicate​(SessionContext ctx)
        Generated method - Getter of the PaymentInfo.duplicate attribute.
        Returns:
        the duplicate
      • isDuplicate

        public java.lang.Boolean isDuplicate()
        Generated method - Getter of the PaymentInfo.duplicate attribute.
        Returns:
        the duplicate
      • isDuplicateAsPrimitive

        public boolean isDuplicateAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the PaymentInfo.duplicate attribute.
        Returns:
        the duplicate
      • isDuplicateAsPrimitive

        public boolean isDuplicateAsPrimitive()
        Generated method - Getter of the PaymentInfo.duplicate attribute.
        Returns:
        the duplicate
      • setDuplicate

        public void setDuplicate​(SessionContext ctx,
                                 java.lang.Boolean value)
        Generated method - Setter of the PaymentInfo.duplicate attribute.
        Parameters:
        value - the duplicate
      • setDuplicate

        public void setDuplicate​(java.lang.Boolean value)
        Generated method - Setter of the PaymentInfo.duplicate attribute.
        Parameters:
        value - the duplicate
      • setDuplicate

        public void setDuplicate​(SessionContext ctx,
                                 boolean value)
        Generated method - Setter of the PaymentInfo.duplicate attribute.
        Parameters:
        value - the duplicate
      • setDuplicate

        public void setDuplicate​(boolean value)
        Generated method - Setter of the PaymentInfo.duplicate attribute.
        Parameters:
        value - the duplicate
      • getOriginal

        public Item getOriginal​(SessionContext ctx)
        Generated method - Getter of the PaymentInfo.original attribute.
        Returns:
        the original
      • getOriginal

        public Item getOriginal()
        Generated method - Getter of the PaymentInfo.original attribute.
        Returns:
        the original
      • setOriginal

        protected void setOriginal​(SessionContext ctx,
                                   Item value)
        Generated method - Setter of the PaymentInfo.original attribute.
        Parameters:
        value - the original
      • setOriginal

        protected void setOriginal​(Item value)
        Generated method - Setter of the PaymentInfo.original attribute.
        Parameters:
        value - the original
      • getUser

        public User getUser​(SessionContext ctx)
        Generated method - Getter of the PaymentInfo.user attribute.
        Returns:
        the user
      • getUser

        public User getUser()
        Generated method - Getter of the PaymentInfo.user attribute.
        Returns:
        the user
      • setUser

        protected void setUser​(SessionContext ctx,
                               User value)
        Generated method - Setter of the PaymentInfo.user attribute.
        Parameters:
        value - the user
      • setUser

        protected void setUser​(User value)
        Generated method - Setter of the PaymentInfo.user attribute.
        Parameters:
        value - the user