Class GeneratedSAPPaymentMode

    • Field Detail

      • SAPCONFIGURATION

        public static final java.lang.String SAPCONFIGURATION
        Qualifier of the SAPPaymentMode.sapConfiguration attribute
        See Also:
        Constant Field Values
      • PAYMENTMODE

        public static final java.lang.String PAYMENTMODE
        Qualifier of the SAPPaymentMode.paymentMode attribute
        See Also:
        Constant Field Values
      • PAYMENTNAME

        public static final java.lang.String PAYMENTNAME
        Qualifier of the SAPPaymentMode.paymentName attribute
        See Also:
        Constant Field Values
      • PAYMENTVALUE

        public static final java.lang.String PAYMENTVALUE
        Qualifier of the SAPPaymentMode.paymentValue 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

      • GeneratedSAPPaymentMode

        public GeneratedSAPPaymentMode()
    • Method Detail

      • 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
      • getPaymentMode

        public PaymentMode getPaymentMode​(SessionContext ctx)
        Generated method - Getter of the SAPPaymentMode.paymentMode attribute.
        Returns:
        the paymentMode
      • getPaymentMode

        public PaymentMode getPaymentMode()
        Generated method - Getter of the SAPPaymentMode.paymentMode attribute.
        Returns:
        the paymentMode
      • setPaymentMode

        public void setPaymentMode​(SessionContext ctx,
                                   PaymentMode value)
        Generated method - Setter of the SAPPaymentMode.paymentMode attribute.
        Parameters:
        value - the paymentMode
      • setPaymentMode

        public void setPaymentMode​(PaymentMode value)
        Generated method - Setter of the SAPPaymentMode.paymentMode attribute.
        Parameters:
        value - the paymentMode
      • getPaymentName

        public java.lang.String getPaymentName​(SessionContext ctx)
        Generated method - Getter of the SAPPaymentMode.paymentName attribute.
        Returns:
        the paymentName
      • getPaymentName

        public java.lang.String getPaymentName()
        Generated method - Getter of the SAPPaymentMode.paymentName attribute.
        Returns:
        the paymentName
      • setPaymentName

        public void setPaymentName​(SessionContext ctx,
                                   java.lang.String value)
        Generated method - Setter of the SAPPaymentMode.paymentName attribute.
        Parameters:
        value - the paymentName
      • setPaymentName

        public void setPaymentName​(java.lang.String value)
        Generated method - Setter of the SAPPaymentMode.paymentName attribute.
        Parameters:
        value - the paymentName
      • getPaymentValue

        public java.lang.String getPaymentValue​(SessionContext ctx)
        Generated method - Getter of the SAPPaymentMode.paymentValue attribute.
        Returns:
        the paymentValue
      • getPaymentValue

        public java.lang.String getPaymentValue()
        Generated method - Getter of the SAPPaymentMode.paymentValue attribute.
        Returns:
        the paymentValue
      • setPaymentValue

        public void setPaymentValue​(SessionContext ctx,
                                    java.lang.String value)
        Generated method - Setter of the SAPPaymentMode.paymentValue attribute.
        Parameters:
        value - the paymentValue
      • setPaymentValue

        public void setPaymentValue​(java.lang.String value)
        Generated method - Setter of the SAPPaymentMode.paymentValue attribute.
        Parameters:
        value - the paymentValue
      • getSapConfiguration

        public SAPConfiguration getSapConfiguration​(SessionContext ctx)
        Generated method - Getter of the SAPPaymentMode.sapConfiguration attribute.
        Returns:
        the sapConfiguration
      • getSapConfiguration

        public SAPConfiguration getSapConfiguration()
        Generated method - Getter of the SAPPaymentMode.sapConfiguration attribute.
        Returns:
        the sapConfiguration
      • setSapConfiguration

        protected void setSapConfiguration​(SessionContext ctx,
                                           SAPConfiguration value)
        Generated method - Setter of the SAPPaymentMode.sapConfiguration attribute.
        Parameters:
        value - the sapConfiguration
      • setSapConfiguration

        protected void setSapConfiguration​(SAPConfiguration value)
        Generated method - Setter of the SAPPaymentMode.sapConfiguration attribute.
        Parameters:
        value - the sapConfiguration