KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > product1 > cci > PriceOverrideEnabledImpl


1 // ----------------------------------------------------------------------------
2
// Instance/ImplBegin
3
// ----------------------------------------------------------------------------
4
//////////////////////////////////////////////////////////////////////////////
5
//
6
// Name: $Id: JMIAbstractMapper.java,v 1.11 2006/01/21 23:09:07 wfro Exp $
7
// Generated by: openMDX JMI Mapper
8
// Date: Mon Apr 03 11:38:51 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.product1.cci;
14
15 public class PriceOverrideEnabledImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements PriceOverrideEnabled {
18
19   public PriceOverrideEnabledImpl(
20     org.openmdx.base.accessor.generic.cci.Object_1_0 object,
21     javax.jmi.reflect.RefClass refClass
22   ) {
23     super(object, refClass);
24   }
25
26 // ----------------------------------------------------------------------------
27
// Instance/ImplAttributeGet0_1
28
// ----------------------------------------------------------------------------
29
public java.math.BigDecimal JavaDoc getDiscount (
30   ) {
31     return (java.math.BigDecimal JavaDoc)this.refGetValue("discount", 0);
32   }
33 // ----------------------------------------------------------------------------
34
// Instance/ImplAttributeSet0_1
35
// ----------------------------------------------------------------------------
36
public void setDiscount(
37     java.math.BigDecimal JavaDoc newValue
38   ) {
39     refSetValue("org:opencrx:kernel:product1:PriceOverrideEnabled:discount", 0, newValue);
40   }
41
42 // ----------------------------------------------------------------------------
43
// Instance/ImplAttributeGet0_1
44
// ----------------------------------------------------------------------------
45
public Boolean JavaDoc isDiscountIsPercentage (
46   ) {
47     return (Boolean JavaDoc)this.refGetValue("discountIsPercentage", 0);
48   }
49 // ----------------------------------------------------------------------------
50
// Instance/ImplAttributeSet0_1
51
// ----------------------------------------------------------------------------
52
public void setDiscountIsPercentage(
53     Boolean JavaDoc newValue
54   ) {
55     refSetValue("org:opencrx:kernel:product1:PriceOverrideEnabled:discountIsPercentage", 0, newValue);
56   }
57
58 // ----------------------------------------------------------------------------
59
// Instance/ImplAttributeGet0_1
60
// ----------------------------------------------------------------------------
61
public Boolean JavaDoc isOverridePrice (
62   ) {
63     return (Boolean JavaDoc)this.refGetValue("overridePrice", 0);
64   }
65 // ----------------------------------------------------------------------------
66
// Instance/ImplAttributeSet0_1
67
// ----------------------------------------------------------------------------
68
public void setOverridePrice(
69     Boolean JavaDoc newValue
70   ) {
71     refSetValue("org:opencrx:kernel:product1:PriceOverrideEnabled:overridePrice", 0, newValue);
72   }
73
74 // ----------------------------------------------------------------------------
75
// Instance/ImplReferenceGet0_1NoQualifier
76
// ----------------------------------------------------------------------------
77
public org.opencrx.kernel.product1.cci.PricingRule getPricingRule(
78   ) {
79     return (org.opencrx.kernel.product1.cci.PricingRule)refGetValue(
80       "org:opencrx:kernel:product1:PriceOverrideEnabled:pricingRule"
81     );
82   }
83
84 // ----------------------------------------------------------------------------
85
// Instance/ImplReferenceSetNoQualifier
86
// ----------------------------------------------------------------------------
87
public void setPricingRule(
88     org.opencrx.kernel.product1.cci.PricingRule newValue
89   ) {
90     refSetValue(
91       "org:opencrx:kernel:product1:PriceOverrideEnabled:pricingRule",
92       newValue
93     );
94   }
95
96 // ----------------------------------------------------------------------------
97
// Instance/ImplReferenceRemoveOptional
98
// ----------------------------------------------------------------------------
99
public void removePricingRule (
100   ) {
101     refRemoveValue(
102       "org:opencrx:kernel:product1:PriceOverrideEnabled:pricingRule"
103     );
104   }
105 // ----------------------------------------------------------------------------
106
// Instance/ImplEnd
107
// ----------------------------------------------------------------------------
108
}
109
Popular Tags