8 package com.freemindcafe.purchase3.impl;
14 public class ItemsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements
com.freemindcafe.purchase3.
Items
16 private static final long serialVersionUID = 1L;
23 private static final javax.xml.namespace.QName ITEM$0 =
24 new javax.xml.namespace.QName(
"http://www.freemindcafe.com/purchase3",
"item");
32 final class ItemList
extends java.util.AbstractList<com.freemindcafe.purchase3.Items.Item>
64 synchronized (monitor())
67 return new ItemList();
78 synchronized (monitor())
82 get_store().find_all_element_users(ITEM$0, targetList);
84 targetList.toArray(result);
94 synchronized (monitor())
101 throw new IndexOutOfBoundsException();
112 synchronized (monitor())
115 return get_store().count_elements(ITEM$0);
125 arraySetterHelper(itemArray, ITEM$0);
133 synchronized (monitor())
140 throw new IndexOutOfBoundsException();
151 synchronized (monitor())
165 synchronized (monitor())
179 synchronized (monitor())
182 get_store().remove_element(ITEM$0, i);
190 public static class ItemImpl
extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements
com.freemindcafe.purchase3.
Items.Item
192 private static final long serialVersionUID = 1L;
194 public ItemImpl(
org.
apache.xmlbeans.SchemaType sType)
199 private static final javax.xml.namespace.QName PRODUCTNAME$0 =
200 new javax.xml.namespace.QName(
"http://www.freemindcafe.com/purchase3",
"productName");
201 private static final javax.xml.namespace.QName QUANTITY$2 =
202 new javax.xml.namespace.QName(
"http://www.freemindcafe.com/purchase3",
"quantity");
203 private static final javax.xml.namespace.QName USPRICE$4 =
204 new javax.xml.namespace.QName(
"http://www.freemindcafe.com/purchase3",
"USPrice");
205 private static final javax.xml.namespace.QName COMMENT$6 =
206 new javax.xml.namespace.QName(
"http://www.freemindcafe.com/purchase3",
"comment");
207 private static final javax.xml.namespace.QName SHIPDATE$8 =
208 new javax.xml.namespace.QName(
"http://www.freemindcafe.com/purchase3",
"shipDate");
209 private static final javax.xml.namespace.QName PARTNUM$10 =
210 new javax.xml.namespace.QName(
"",
"partNum");
216 public java.lang.String getProductName()
218 synchronized (monitor())
221 org.
apache.xmlbeans.SimpleValue target = null;
222 target = (
org.
apache.xmlbeans.SimpleValue)get_store().find_element_user(PRODUCTNAME$0, 0);
227 return target.getStringValue();
234 public org.
apache.xmlbeans.XmlString xgetProductName()
236 synchronized (monitor())
239 org.
apache.xmlbeans.XmlString target = null;
240 target = (
org.
apache.xmlbeans.XmlString)get_store().find_element_user(PRODUCTNAME$0, 0);
248 public void setProductName(java.lang.String productName)
250 synchronized (monitor())
253 org.
apache.xmlbeans.SimpleValue target = null;
254 target = (
org.
apache.xmlbeans.SimpleValue)get_store().find_element_user(PRODUCTNAME$0, 0);
257 target = (
org.
apache.xmlbeans.SimpleValue)get_store().add_element_user(PRODUCTNAME$0);
259 target.setStringValue(productName);
266 public void xsetProductName(
org.
apache.xmlbeans.XmlString productName)
268 synchronized (monitor())
271 org.
apache.xmlbeans.XmlString target = null;
272 target = (
org.
apache.xmlbeans.XmlString)get_store().find_element_user(PRODUCTNAME$0, 0);
275 target = (
org.
apache.xmlbeans.XmlString)get_store().add_element_user(PRODUCTNAME$0);
277 target.set(productName);
284 public int getQuantity()
286 synchronized (monitor())
289 org.
apache.xmlbeans.SimpleValue target = null;
290 target = (
org.
apache.xmlbeans.SimpleValue)get_store().find_element_user(QUANTITY$2, 0);
295 return target.getIntValue();
304 synchronized (monitor())
316 public void setQuantity(
int quantity)
318 synchronized (monitor())
321 org.
apache.xmlbeans.SimpleValue target = null;
322 target = (
org.
apache.xmlbeans.SimpleValue)get_store().find_element_user(QUANTITY$2, 0);
325 target = (
org.
apache.xmlbeans.SimpleValue)get_store().add_element_user(QUANTITY$2);
327 target.setIntValue(quantity);
336 synchronized (monitor())
345 target.
set(quantity);
352 public java.math.BigDecimal getUSPrice()
354 synchronized (monitor())
357 org.
apache.xmlbeans.SimpleValue target = null;
358 target = (
org.
apache.xmlbeans.SimpleValue)get_store().find_element_user(USPRICE$4, 0);
363 return target.getBigDecimalValue();
370 public org.
apache.xmlbeans.XmlDecimal xgetUSPrice()
372 synchronized (monitor())
375 org.
apache.xmlbeans.XmlDecimal target = null;
376 target = (
org.
apache.xmlbeans.XmlDecimal)get_store().find_element_user(USPRICE$4, 0);
384 public void setUSPrice(java.math.BigDecimal usPrice)
386 synchronized (monitor())
389 org.
apache.xmlbeans.SimpleValue target = null;
390 target = (
org.
apache.xmlbeans.SimpleValue)get_store().find_element_user(USPRICE$4, 0);
393 target = (
org.
apache.xmlbeans.SimpleValue)get_store().add_element_user(USPRICE$4);
395 target.setBigDecimalValue(usPrice);
402 public void xsetUSPrice(
org.
apache.xmlbeans.XmlDecimal usPrice)
404 synchronized (monitor())
407 org.
apache.xmlbeans.XmlDecimal target = null;
408 target = (
org.
apache.xmlbeans.XmlDecimal)get_store().find_element_user(USPRICE$4, 0);
411 target = (
org.
apache.xmlbeans.XmlDecimal)get_store().add_element_user(USPRICE$4);
420 public java.lang.String getComment()
422 synchronized (monitor())
425 org.
apache.xmlbeans.SimpleValue target = null;
426 target = (
org.
apache.xmlbeans.SimpleValue)get_store().find_element_user(COMMENT$6, 0);
431 return target.getStringValue();
438 public org.
apache.xmlbeans.XmlString xgetComment()
440 synchronized (monitor())
443 org.
apache.xmlbeans.XmlString target = null;
444 target = (
org.
apache.xmlbeans.XmlString)get_store().find_element_user(COMMENT$6, 0);
452 public boolean isSetComment()
454 synchronized (monitor())
457 return get_store().count_elements(COMMENT$6) != 0;
464 public void setComment(java.lang.String comment)
466 synchronized (monitor())
469 org.
apache.xmlbeans.SimpleValue target = null;
470 target = (
org.
apache.xmlbeans.SimpleValue)get_store().find_element_user(COMMENT$6, 0);
473 target = (
org.
apache.xmlbeans.SimpleValue)get_store().add_element_user(COMMENT$6);
475 target.setStringValue(comment);
482 public void xsetComment(
org.
apache.xmlbeans.XmlString comment)
484 synchronized (monitor())
487 org.
apache.xmlbeans.XmlString target = null;
488 target = (
org.
apache.xmlbeans.XmlString)get_store().find_element_user(COMMENT$6, 0);
491 target = (
org.
apache.xmlbeans.XmlString)get_store().add_element_user(COMMENT$6);
500 public void unsetComment()
502 synchronized (monitor())
505 get_store().remove_element(COMMENT$6, 0);
512 public java.util.Calendar getShipDate()
514 synchronized (monitor())
517 org.
apache.xmlbeans.SimpleValue target = null;
518 target = (
org.
apache.xmlbeans.SimpleValue)get_store().find_element_user(SHIPDATE$8, 0);
523 return target.getCalendarValue();
530 public org.
apache.xmlbeans.XmlDate xgetShipDate()
532 synchronized (monitor())
535 org.
apache.xmlbeans.XmlDate target = null;
536 target = (
org.
apache.xmlbeans.XmlDate)get_store().find_element_user(SHIPDATE$8, 0);
544 public boolean isSetShipDate()
546 synchronized (monitor())
549 return get_store().count_elements(SHIPDATE$8) != 0;
556 public void setShipDate(java.util.Calendar shipDate)
558 synchronized (monitor())
561 org.
apache.xmlbeans.SimpleValue target = null;
562 target = (
org.
apache.xmlbeans.SimpleValue)get_store().find_element_user(SHIPDATE$8, 0);
565 target = (
org.
apache.xmlbeans.SimpleValue)get_store().add_element_user(SHIPDATE$8);
567 target.setCalendarValue(shipDate);
574 public void xsetShipDate(
org.
apache.xmlbeans.XmlDate shipDate)
576 synchronized (monitor())
579 org.
apache.xmlbeans.XmlDate target = null;
580 target = (
org.
apache.xmlbeans.XmlDate)get_store().find_element_user(SHIPDATE$8, 0);
583 target = (
org.
apache.xmlbeans.XmlDate)get_store().add_element_user(SHIPDATE$8);
585 target.set(shipDate);
592 public void unsetShipDate()
594 synchronized (monitor())
597 get_store().remove_element(SHIPDATE$8, 0);
604 public java.lang.String getPartNum()
606 synchronized (monitor())
609 org.
apache.xmlbeans.SimpleValue target = null;
610 target = (
org.
apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PARTNUM$10);
615 return target.getStringValue();
624 synchronized (monitor())
636 public void setPartNum(java.lang.String partNum)
638 synchronized (monitor())
641 org.
apache.xmlbeans.SimpleValue target = null;
642 target = (
org.
apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PARTNUM$10);
645 target = (
org.
apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PARTNUM$10);
647 target.setStringValue(partNum);
656 synchronized (monitor())
673 public static class QuantityImpl
extends org.apache.xmlbeans.impl.values.JavaIntHolderEx implements
com.freemindcafe.purchase3.Items.Item.Quantity
675 private static final long serialVersionUID = 1L;
677 public QuantityImpl(
org.
apache.xmlbeans.SchemaType sType)
682 protected QuantityImpl(
org.
apache.xmlbeans.SchemaType sType,
boolean b)
com.freemindcafe.purchase3.Items.Item[] getItemArray()
com.freemindcafe.purchase3.Items.Item getItemArray(int i)
void setItemArray(com.freemindcafe.purchase3.Items.Item[] itemArray)
com.freemindcafe.purchase3.Items.Item insertNewItem(int i)
com.freemindcafe.purchase3.Items.Item addNewItem()
void setItemArray(int i, com.freemindcafe.purchase3.Items.Item item)
java.util.List< com.freemindcafe.purchase3.Items.Item > getItemList()