Class GeneratedSAPPricingCondition

    • Field Detail

      • ORDER

        public static final java.lang.String ORDER
        Qualifier of the SAPPricingCondition.order attribute
        See Also:
        Constant Field Values
      • CONDITIONTYPE

        public static final java.lang.String CONDITIONTYPE
        Qualifier of the SAPPricingCondition.conditionType attribute
        See Also:
        Constant Field Values
      • STEPNUMBER

        public static final java.lang.String STEPNUMBER
        Qualifier of the SAPPricingCondition.stepNumber attribute
        See Also:
        Constant Field Values
      • CONDITIONCOUNTER

        public static final java.lang.String CONDITIONCOUNTER
        Qualifier of the SAPPricingCondition.conditionCounter attribute
        See Also:
        Constant Field Values
      • CURRENCYKEY

        public static final java.lang.String CURRENCYKEY
        Qualifier of the SAPPricingCondition.currencyKey attribute
        See Also:
        Constant Field Values
      • CONDITIONPRICINGUNIT

        public static final java.lang.String CONDITIONPRICINGUNIT
        Qualifier of the SAPPricingCondition.conditionPricingUnit attribute
        See Also:
        Constant Field Values
      • CONDITIONUNIT

        public static final java.lang.String CONDITIONUNIT
        Qualifier of the SAPPricingCondition.conditionUnit attribute
        See Also:
        Constant Field Values
      • CONDITIONCALCULATIONTYPE

        public static final java.lang.String CONDITIONCALCULATIONTYPE
        Qualifier of the SAPPricingCondition.conditionCalculationType attribute
        See Also:
        Constant Field Values
      • CONDITIONRATE

        public static final java.lang.String CONDITIONRATE
        Qualifier of the SAPPricingCondition.conditionRate attribute
        See Also:
        Constant Field Values
      • CONDITIONVALUE

        public static final java.lang.String CONDITIONVALUE
        Qualifier of the SAPPricingCondition.conditionValue attribute
        See Also:
        Constant Field Values
      • ORDERENTRY

        public static final java.lang.String ORDERENTRY
        Qualifier of the SAPPricingCondition.orderEntry 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

      • GeneratedSAPPricingCondition

        public GeneratedSAPPricingCondition()
    • Method Detail

      • getConditionCalculationType

        public java.lang.String getConditionCalculationType​(SessionContext ctx)
        Generated method - Getter of the SAPPricingCondition.conditionCalculationType attribute.
        Returns:
        the conditionCalculationType - KRECH - Calculation type for condition
      • getConditionCalculationType

        public java.lang.String getConditionCalculationType()
        Generated method - Getter of the SAPPricingCondition.conditionCalculationType attribute.
        Returns:
        the conditionCalculationType - KRECH - Calculation type for condition
      • setConditionCalculationType

        public void setConditionCalculationType​(SessionContext ctx,
                                                java.lang.String value)
        Generated method - Setter of the SAPPricingCondition.conditionCalculationType attribute.
        Parameters:
        value - the conditionCalculationType - KRECH - Calculation type for condition
      • setConditionCalculationType

        public void setConditionCalculationType​(java.lang.String value)
        Generated method - Setter of the SAPPricingCondition.conditionCalculationType attribute.
        Parameters:
        value - the conditionCalculationType - KRECH - Calculation type for condition
      • getConditionCounter

        public java.lang.String getConditionCounter​(SessionContext ctx)
        Generated method - Getter of the SAPPricingCondition.conditionCounter attribute.
        Returns:
        the conditionCounter - ZAEHK - Condition counter
      • getConditionCounter

        public java.lang.String getConditionCounter()
        Generated method - Getter of the SAPPricingCondition.conditionCounter attribute.
        Returns:
        the conditionCounter - ZAEHK - Condition counter
      • setConditionCounter

        public void setConditionCounter​(SessionContext ctx,
                                        java.lang.String value)
        Generated method - Setter of the SAPPricingCondition.conditionCounter attribute.
        Parameters:
        value - the conditionCounter - ZAEHK - Condition counter
      • setConditionCounter

        public void setConditionCounter​(java.lang.String value)
        Generated method - Setter of the SAPPricingCondition.conditionCounter attribute.
        Parameters:
        value - the conditionCounter - ZAEHK - Condition counter
      • getConditionPricingUnit

        public java.lang.String getConditionPricingUnit​(SessionContext ctx)
        Generated method - Getter of the SAPPricingCondition.conditionPricingUnit attribute.
        Returns:
        the conditionPricingUnit - KPEIN - Condition pricing unit
      • getConditionPricingUnit

        public java.lang.String getConditionPricingUnit()
        Generated method - Getter of the SAPPricingCondition.conditionPricingUnit attribute.
        Returns:
        the conditionPricingUnit - KPEIN - Condition pricing unit
      • setConditionPricingUnit

        public void setConditionPricingUnit​(SessionContext ctx,
                                            java.lang.String value)
        Generated method - Setter of the SAPPricingCondition.conditionPricingUnit attribute.
        Parameters:
        value - the conditionPricingUnit - KPEIN - Condition pricing unit
      • setConditionPricingUnit

        public void setConditionPricingUnit​(java.lang.String value)
        Generated method - Setter of the SAPPricingCondition.conditionPricingUnit attribute.
        Parameters:
        value - the conditionPricingUnit - KPEIN - Condition pricing unit
      • getConditionRate

        public java.lang.String getConditionRate​(SessionContext ctx)
        Generated method - Getter of the SAPPricingCondition.conditionRate attribute.
        Returns:
        the conditionRate - KBETR - Rate (condition amount or percentage)
      • getConditionRate

        public java.lang.String getConditionRate()
        Generated method - Getter of the SAPPricingCondition.conditionRate attribute.
        Returns:
        the conditionRate - KBETR - Rate (condition amount or percentage)
      • setConditionRate

        public void setConditionRate​(SessionContext ctx,
                                     java.lang.String value)
        Generated method - Setter of the SAPPricingCondition.conditionRate attribute.
        Parameters:
        value - the conditionRate - KBETR - Rate (condition amount or percentage)
      • setConditionRate

        public void setConditionRate​(java.lang.String value)
        Generated method - Setter of the SAPPricingCondition.conditionRate attribute.
        Parameters:
        value - the conditionRate - KBETR - Rate (condition amount or percentage)
      • getConditionType

        public java.lang.String getConditionType​(SessionContext ctx)
        Generated method - Getter of the SAPPricingCondition.conditionType attribute.
        Returns:
        the conditionType - KSCHL - Condition type
      • getConditionType

        public java.lang.String getConditionType()
        Generated method - Getter of the SAPPricingCondition.conditionType attribute.
        Returns:
        the conditionType - KSCHL - Condition type
      • setConditionType

        protected void setConditionType​(SessionContext ctx,
                                        java.lang.String value)
        Generated method - Setter of the SAPPricingCondition.conditionType attribute.
        Parameters:
        value - the conditionType - KSCHL - Condition type
      • setConditionType

        protected void setConditionType​(java.lang.String value)
        Generated method - Setter of the SAPPricingCondition.conditionType attribute.
        Parameters:
        value - the conditionType - KSCHL - Condition type
      • getConditionUnit

        public java.lang.String getConditionUnit​(SessionContext ctx)
        Generated method - Getter of the SAPPricingCondition.conditionUnit attribute.
        Returns:
        the conditionUnit - KMEIN - Condition unit in the document
      • getConditionUnit

        public java.lang.String getConditionUnit()
        Generated method - Getter of the SAPPricingCondition.conditionUnit attribute.
        Returns:
        the conditionUnit - KMEIN - Condition unit in the document
      • setConditionUnit

        public void setConditionUnit​(SessionContext ctx,
                                     java.lang.String value)
        Generated method - Setter of the SAPPricingCondition.conditionUnit attribute.
        Parameters:
        value - the conditionUnit - KMEIN - Condition unit in the document
      • setConditionUnit

        public void setConditionUnit​(java.lang.String value)
        Generated method - Setter of the SAPPricingCondition.conditionUnit attribute.
        Parameters:
        value - the conditionUnit - KMEIN - Condition unit in the document
      • getConditionValue

        public java.lang.String getConditionValue​(SessionContext ctx)
        Generated method - Getter of the SAPPricingCondition.conditionValue attribute.
        Returns:
        the conditionValue - KWERT - Condition value
      • getConditionValue

        public java.lang.String getConditionValue()
        Generated method - Getter of the SAPPricingCondition.conditionValue attribute.
        Returns:
        the conditionValue - KWERT - Condition value
      • setConditionValue

        public void setConditionValue​(SessionContext ctx,
                                      java.lang.String value)
        Generated method - Setter of the SAPPricingCondition.conditionValue attribute.
        Parameters:
        value - the conditionValue - KWERT - Condition value
      • setConditionValue

        public void setConditionValue​(java.lang.String value)
        Generated method - Setter of the SAPPricingCondition.conditionValue attribute.
        Parameters:
        value - the conditionValue - KWERT - Condition value
      • 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
      • getCurrencyKey

        public java.lang.String getCurrencyKey​(SessionContext ctx)
        Generated method - Getter of the SAPPricingCondition.currencyKey attribute.
        Returns:
        the currencyKey - WAERS - Currency key
      • getCurrencyKey

        public java.lang.String getCurrencyKey()
        Generated method - Getter of the SAPPricingCondition.currencyKey attribute.
        Returns:
        the currencyKey - WAERS - Currency key
      • setCurrencyKey

        public void setCurrencyKey​(SessionContext ctx,
                                   java.lang.String value)
        Generated method - Setter of the SAPPricingCondition.currencyKey attribute.
        Parameters:
        value - the currencyKey - WAERS - Currency key
      • setCurrencyKey

        public void setCurrencyKey​(java.lang.String value)
        Generated method - Setter of the SAPPricingCondition.currencyKey attribute.
        Parameters:
        value - the currencyKey - WAERS - Currency key
      • getOrder

        public java.lang.String getOrder​(SessionContext ctx)
        Generated method - Getter of the SAPPricingCondition.order attribute.
        Returns:
        the order - Order number
      • getOrder

        public java.lang.String getOrder()
        Generated method - Getter of the SAPPricingCondition.order attribute.
        Returns:
        the order - Order number
      • setOrder

        protected void setOrder​(SessionContext ctx,
                                java.lang.String value)
        Generated method - Setter of the SAPPricingCondition.order attribute.
        Parameters:
        value - the order - Order number
      • setOrder

        protected void setOrder​(java.lang.String value)
        Generated method - Setter of the SAPPricingCondition.order attribute.
        Parameters:
        value - the order - Order number
      • getOrderEntry

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

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

        protected void setOrderEntry​(SessionContext ctx,
                                     AbstractOrderEntry value)
        Generated method - Setter of the SAPPricingCondition.orderEntry attribute.
        Parameters:
        value - the orderEntry - Order entry
      • setOrderEntry

        protected void setOrderEntry​(AbstractOrderEntry value)
        Generated method - Setter of the SAPPricingCondition.orderEntry attribute.
        Parameters:
        value - the orderEntry - Order entry
      • getStepNumber

        public java.lang.String getStepNumber​(SessionContext ctx)
        Generated method - Getter of the SAPPricingCondition.stepNumber attribute.
        Returns:
        the stepNumber - STUNR - Step number
      • getStepNumber

        public java.lang.String getStepNumber()
        Generated method - Getter of the SAPPricingCondition.stepNumber attribute.
        Returns:
        the stepNumber - STUNR - Step number
      • setStepNumber

        public void setStepNumber​(SessionContext ctx,
                                  java.lang.String value)
        Generated method - Setter of the SAPPricingCondition.stepNumber attribute.
        Parameters:
        value - the stepNumber - STUNR - Step number
      • setStepNumber

        public void setStepNumber​(java.lang.String value)
        Generated method - Setter of the SAPPricingCondition.stepNumber attribute.
        Parameters:
        value - the stepNumber - STUNR - Step number