1 package org.opencrx.kernel.contract1.cci; 14 15 public class ShippingDetailImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements ShippingDetail { 18 19 public ShippingDetailImpl( 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 org.opencrx.kernel.account1.cci.Account getCarrier( 30 ) { 31 return (org.opencrx.kernel.account1.cci.Account)refGetValue( 32 "org:opencrx:kernel:contract1:ShippingDetail:carrier" 33 ); 34 } 35 36 public void setCarrier( 40 org.opencrx.kernel.account1.cci.Account newValue 41 ) { 42 refSetValue( 43 "org:opencrx:kernel:contract1:ShippingDetail:carrier", 44 newValue 45 ); 46 } 47 48 public String getGiftMessage ( 52 ) { 53 return (String )this.refGetValue("giftMessage", 0); 54 } 55 public void setGiftMessage( 59 String newValue 60 ) { 61 refSetValue("org:opencrx:kernel:contract1:ShippingDetail:giftMessage", 0, newValue); 62 } 63 64 public boolean isGift( 68 ) { 69 return isGift(0); 70 } 71 72 protected boolean isGift( 73 int index 74 ) { 75 return ((Boolean )this.refGetValue("org:opencrx:kernel:contract1:ShippingDetail:isGift", index)).booleanValue(); 76 } 77 78 public void setGift( 82 boolean newValue 83 ) { 84 setGift(0, newValue); 85 } 86 87 protected void setGift( 88 int index, 89 boolean newValue 90 ) { 91 refSetValue("org:opencrx:kernel:contract1:ShippingDetail:isGift", index, new Boolean (newValue)); 92 } 93 public String getShippingInstructions ( 97 ) { 98 return (String )this.refGetValue("shippingInstructions", 0); 99 } 100 public void setShippingInstructions( 104 String newValue 105 ) { 106 refSetValue("org:opencrx:kernel:contract1:ShippingDetail:shippingInstructions", 0, newValue); 107 } 108 109 public short getShippingMethod( 113 ) { 114 return getShippingMethod(0); 115 } 116 117 protected short getShippingMethod( 118 int index 119 ) { 120 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:contract1:ShippingDetail:shippingMethod", index)).shortValue(); 121 } 122 123 public void setShippingMethod( 127 short newValue 128 ) { 129 setShippingMethod(0, newValue); 130 } 131 132 protected void setShippingMethod( 133 int index, 134 short newValue 135 ) { 136 refSetValue("org:opencrx:kernel:contract1:ShippingDetail:shippingMethod", index, new Short (newValue)); 137 } 138 public String getShippingTrackingNumber ( 142 ) { 143 return (String )this.refGetValue("shippingTrackingNumber", 0); 144 } 145 public void setShippingTrackingNumber( 149 String newValue 150 ) { 151 refSetValue("org:opencrx:kernel:contract1:ShippingDetail:shippingTrackingNumber", 0, newValue); 152 } 153 154 } 158 | Popular Tags |