1 package org.opencrx.kernel.contract1.cci; 14 15 public class CreatePositionParamsImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefStruct_1 17 implements CreatePositionParams { 18 19 public CreatePositionParamsImpl( 20 org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage, 21 java.util.List args 22 ) { 23 super(refPackage, args); 24 } 25 26 public CreatePositionParamsImpl( 27 org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage, 28 java.lang.Object arg 29 ) { 30 super(refPackage, arg); 31 } 32 33 public String refQualifiedTypeName( 34 ) { 35 return "org:opencrx:kernel:contract1:CreatePositionParams"; 36 } 37 38 public String getName ( 42 ) { 43 return (String )this.refGetValue("name", 0); 44 } 45 public org.opencrx.kernel.uom1.cci.Uom getPriceUom ( 49 ) { 50 return (org.opencrx.kernel.uom1.cci.Uom)this.refGetValue("priceUom", 0); 51 } 52 public java.util.Date getPricingDate ( 56 ) { 57 return (java.util.Date )this.refGetValue("pricingDate", 0); 58 } 59 public org.opencrx.kernel.product1.cci.PricingRule getPricingRule( 63 ) { 64 return getPricingRule(0); 65 } 66 67 private org.opencrx.kernel.product1.cci.PricingRule getPricingRule( 68 int index 69 ) { 70 return (org.opencrx.kernel.product1.cci.PricingRule)this.refGetValue("org:opencrx:kernel:contract1:CreatePositionParams:pricingRule", index); 71 } 72 73 public org.opencrx.kernel.product1.cci.Product getProduct( 77 ) { 78 return getProduct(0); 79 } 80 81 private org.opencrx.kernel.product1.cci.Product getProduct( 82 int index 83 ) { 84 return (org.opencrx.kernel.product1.cci.Product)this.refGetValue("org:opencrx:kernel:contract1:CreatePositionParams:product", index); 85 } 86 87 public java.math.BigDecimal getQuantity( 91 ) { 92 return getQuantity(0); 93 } 94 95 private java.math.BigDecimal getQuantity( 96 int index 97 ) { 98 return (java.math.BigDecimal )this.refGetValue("org:opencrx:kernel:contract1:CreatePositionParams:quantity", index); 99 } 100 101 public org.opencrx.kernel.uom1.cci.Uom getUom ( 105 ) { 106 return (org.opencrx.kernel.uom1.cci.Uom)this.refGetValue("uom", 0); 107 } 108 } 112 | Popular Tags |