1 package org.opencrx.kernel.depot1.cci; 14 15 public class CreateBookingByProductParamsImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefStruct_1 17 implements CreateBookingByProductParams { 18 19 public CreateBookingByProductParamsImpl( 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 CreateBookingByProductParamsImpl( 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:depot1:CreateBookingByProductParams"; 36 } 37 38 public org.opencrx.kernel.depot1.cci.BookingText getBookingText ( 42 ) { 43 return (org.opencrx.kernel.depot1.cci.BookingText)this.refGetValue("bookingText", 0); 44 } 45 public String getBookingTextName ( 49 ) { 50 return (String )this.refGetValue("bookingTextName", 0); 51 } 52 public short getBookingType( 56 ) { 57 return getBookingType(0); 58 } 59 60 private short getBookingType( 61 int index 62 ) { 63 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:depot1:CreateBookingByProductParams:bookingType", index)).shortValue(); 64 } 65 66 public org.opencrx.kernel.depot1.cci.Depot getDepotCredit ( 70 ) { 71 return (org.opencrx.kernel.depot1.cci.Depot)this.refGetValue("depotCredit", 0); 72 } 73 public org.opencrx.kernel.depot1.cci.Depot getDepotDebit ( 77 ) { 78 return (org.opencrx.kernel.depot1.cci.Depot)this.refGetValue("depotDebit", 0); 79 } 80 public String getDepotNumberCredit ( 84 ) { 85 return (String )this.refGetValue("depotNumberCredit", 0); 86 } 87 public String getDepotNumberDebit ( 91 ) { 92 return (String )this.refGetValue("depotNumberDebit", 0); 93 } 94 public org.opencrx.kernel.product1.cci.Product getProduct( 98 ) { 99 return getProduct(0); 100 } 101 102 private org.opencrx.kernel.product1.cci.Product getProduct( 103 int index 104 ) { 105 return (org.opencrx.kernel.product1.cci.Product)this.refGetValue("org:opencrx:kernel:depot1:CreateBookingByProductParams:product", index); 106 } 107 108 public java.math.BigDecimal getQuantity( 112 ) { 113 return getQuantity(0); 114 } 115 116 private java.math.BigDecimal getQuantity( 117 int index 118 ) { 119 return (java.math.BigDecimal )this.refGetValue("org:opencrx:kernel:depot1:CreateBookingByProductParams:quantity", index); 120 } 121 122 public org.opencrx.kernel.depot1.cci.CompoundBooking getReversalOf ( 126 ) { 127 return (org.opencrx.kernel.depot1.cci.CompoundBooking)this.refGetValue("reversalOf", 0); 128 } 129 public java.util.Date getValueDate( 133 ) { 134 return getValueDate(0); 135 } 136 137 private java.util.Date getValueDate( 138 int index 139 ) { 140 return (java.util.Date )this.refGetValue("org:opencrx:kernel:depot1:CreateBookingByProductParams:valueDate", index); 141 } 142 143 } 147 | Popular Tags |