1 package org.opencrx.kernel.product1.cci; 14 15 public class ContractPositionConstrainedImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements ContractPositionConstrained { 18 19 public ContractPositionConstrainedImpl( 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 public Boolean isAllowModification ( 30 ) { 31 return (Boolean )this.refGetValue("allowModification", 0); 32 } 33 public void setAllowModification( 37 Boolean newValue 38 ) { 39 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:allowModification", 0, newValue); 40 } 41 42 public Boolean isAllowRemoval ( 46 ) { 47 return (Boolean )this.refGetValue("allowRemoval", 0); 48 } 49 public void setAllowRemoval( 53 Boolean newValue 54 ) { 55 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:allowRemoval", 0, newValue); 56 } 57 58 public Integer getDefaultPositions ( 62 ) { 63 return (Integer )this.refGetValue("defaultPositions", 0); 64 } 65 public void setDefaultPositions( 69 Integer newValue 70 ) { 71 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:defaultPositions", 0, newValue); 72 } 73 74 public java.math.BigDecimal getDefaultQuantity ( 78 ) { 79 return (java.math.BigDecimal )this.refGetValue("defaultQuantity", 0); 80 } 81 public void setDefaultQuantity( 85 java.math.BigDecimal newValue 86 ) { 87 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:defaultQuantity", 0, newValue); 88 } 89 90 public int getItemNumber( 94 ) { 95 return getItemNumber(0); 96 } 97 98 protected int getItemNumber( 99 int index 100 ) { 101 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:product1:ContractPositionConstrained:itemNumber", index)).intValue(); 102 } 103 104 public void setItemNumber( 108 int newValue 109 ) { 110 setItemNumber(0, newValue); 111 } 112 113 protected void setItemNumber( 114 int index, 115 int newValue 116 ) { 117 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:itemNumber", index, new Integer (newValue)); 118 } 119 public Integer getMaxPositions ( 123 ) { 124 return (Integer )this.refGetValue("maxPositions", 0); 125 } 126 public void setMaxPositions( 130 Integer newValue 131 ) { 132 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:maxPositions", 0, newValue); 133 } 134 135 public java.math.BigDecimal getMaxQuantity ( 139 ) { 140 return (java.math.BigDecimal )this.refGetValue("maxQuantity", 0); 141 } 142 public void setMaxQuantity( 146 java.math.BigDecimal newValue 147 ) { 148 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:maxQuantity", 0, newValue); 149 } 150 151 public short getMinMaxQuantityHandling( 155 ) { 156 return getMinMaxQuantityHandling(0); 157 } 158 159 protected short getMinMaxQuantityHandling( 160 int index 161 ) { 162 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:product1:ContractPositionConstrained:minMaxQuantityHandling", index)).shortValue(); 163 } 164 165 public void setMinMaxQuantityHandling( 169 short newValue 170 ) { 171 setMinMaxQuantityHandling(0, newValue); 172 } 173 174 protected void setMinMaxQuantityHandling( 175 int index, 176 short newValue 177 ) { 178 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:minMaxQuantityHandling", index, new Short (newValue)); 179 } 180 public Integer getMinPositions ( 184 ) { 185 return (Integer )this.refGetValue("minPositions", 0); 186 } 187 public void setMinPositions( 191 Integer newValue 192 ) { 193 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:minPositions", 0, newValue); 194 } 195 196 public java.math.BigDecimal getMinQuantity ( 200 ) { 201 return (java.math.BigDecimal )this.refGetValue("minQuantity", 0); 202 } 203 public void setMinQuantity( 207 java.math.BigDecimal newValue 208 ) { 209 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:minQuantity", 0, newValue); 210 } 211 212 public java.math.BigDecimal getOffsetQuantity ( 216 ) { 217 return (java.math.BigDecimal )this.refGetValue("offsetQuantity", 0); 218 } 219 public void setOffsetQuantity( 223 java.math.BigDecimal newValue 224 ) { 225 refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:offsetQuantity", 0, newValue); 226 } 227 228 } 232 | Popular Tags |