Added: incubator/muse/trunk/src/site/content/interop/src/.xmlbeans/src/org/apache/ws/resource/example/ipmiserver/impl/IPMIServerPropertiesDocumentImpl.java URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/interop/src/.xmlbeans/src/org/apache/ws/resource/example/ipmiserver/impl/IPMIServerPropertiesDocumentImpl.java?view=auto&rev=158676 ============================================================================== --- incubator/muse/trunk/src/site/content/interop/src/.xmlbeans/src/org/apache/ws/resource/example/ipmiserver/impl/IPMIServerPropertiesDocumentImpl.java (added) +++ incubator/muse/trunk/src/site/content/interop/src/.xmlbeans/src/org/apache/ws/resource/example/ipmiserver/impl/IPMIServerPropertiesDocumentImpl.java Tue Mar 22 13:29:39 2005 @@ -0,0 +1,931 @@ +/* + * An XML document type. + * Localname: IPMIServerProperties + * Namespace: http://ws.apache.org/resource/example/ipmiserver + * Java type: org.apache.ws.resource.example.ipmiserver.IPMIServerPropertiesDocument + * + * Automatically generated - do not modify. + */ +package org.apache.ws.resource.example.ipmiserver.impl; +/** + * A document containing one IPMIServerProperties(@http://ws.apache.org/resource/example/ipmiserver) element. + * + * This is a complex type. + */ +public class IPMIServerPropertiesDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.ws.resource.example.ipmiserver.IPMIServerPropertiesDocument +{ + + public IPMIServerPropertiesDocumentImpl(org.apache.xmlbeans.SchemaType sType) + { + super(sType); + } + + private static final javax.xml.namespace.QName IPMISERVERPROPERTIES$0 = + new javax.xml.namespace.QName("http://ws.apache.org/resource/example/ipmiserver", "IPMIServerProperties"); + + + /** + * Gets the "IPMIServerProperties" element + */ + public org.apache.ws.resource.example.ipmiserver.IPMIServerPropertiesDocument.IPMIServerProperties getIPMIServerProperties() + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.ws.resource.example.ipmiserver.IPMIServerPropertiesDocument.IPMIServerProperties target = null; + target = (org.apache.ws.resource.example.ipmiserver.IPMIServerPropertiesDocument.IPMIServerProperties)get_store().find_element_user(IPMISERVERPROPERTIES$0, 0); + if (target == null) + { + return null; + } + return target; + } + } + + /** + * Sets the "IPMIServerProperties" element + */ + public void setIPMIServerProperties(org.apache.ws.resource.example.ipmiserver.IPMIServerPropertiesDocument.IPMIServerProperties ipmiServerProperties) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.ws.resource.example.ipmiserver.IPMIServerPropertiesDocument.IPMIServerProperties target = null; + target = (org.apache.ws.resource.example.ipmiserver.IPMIServerPropertiesDocument.IPMIServerProperties)get_store().find_element_user(IPMISERVERPROPERTIES$0, 0); + if (target == null) + { + target = (org.apache.ws.resource.example.ipmiserver.IPMIServerPropertiesDocument.IPMIServerProperties)get_store().add_element_user(IPMISERVERPROPERTIES$0); + } + target.set(ipmiServerProperties); + } + } + + /** + * Appends and returns a new empty "IPMIServerProperties" element + */ + public org.apache.ws.resource.example.ipmiserver.IPMIServerPropertiesDocument.IPMIServerProperties addNewIPMIServerProperties() + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.ws.resource.example.ipmiserver.IPMIServerPropertiesDocument.IPMIServerProperties target = null; + target = (org.apache.ws.resource.example.ipmiserver.IPMIServerPropertiesDocument.IPMIServerProperties)get_store().add_element_user(IPMISERVERPROPERTIES$0); + return target; + } + } + /** + * An XML IPMIServerProperties(@http://ws.apache.org/resource/example/ipmiserver). + * + * This is a complex type. + */ + public static class IPMIServerPropertiesImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.ws.resource.example.ipmiserver.IPMIServerPropertiesDocument.IPMIServerProperties + { + + public IPMIServerPropertiesImpl(org.apache.xmlbeans.SchemaType sType) + { + super(sType); + } + + private static final javax.xml.namespace.QName RESOURCEID$0 = + new javax.xml.namespace.QName("http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd", "ResourceId"); + private static final javax.xml.namespace.QName MANAGEABILITYCAPABILITY$2 = + new javax.xml.namespace.QName("http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd", "ManageabilityCapability"); + private static final javax.xml.namespace.QName OPERATIONALSTATUS$4 = + new javax.xml.namespace.QName("http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd", "OperationalStatus"); + private static final javax.xml.namespace.QName TOPIC$6 = + new javax.xml.namespace.QName("http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd", "Topic"); + private static final javax.xml.namespace.QName FIXEDTOPICSET$8 = + new javax.xml.namespace.QName("http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd", "FixedTopicSet"); + private static final javax.xml.namespace.QName TOPICEXPRESSIONDIALECTS$10 = + new javax.xml.namespace.QName("http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd", "TopicExpressionDialects"); + private static final javax.xml.namespace.QName CURRENTTIME$12 = + new javax.xml.namespace.QName("http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd", "CurrentTime"); + private static final javax.xml.namespace.QName CPUUSAGE$14 = + new javax.xml.namespace.QName("http://ws.apache.org/resource/example/ipmiserver", "CpuUsage"); + + + /** + * Gets the "ResourceId" element + */ + public java.lang.String getResourceId() + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.SimpleValue target = null; + target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESOURCEID$0, 0); + if (target == null) + { + return null; + } + return target.getStringValue(); + } + } + + /** + * Gets (as xml) the "ResourceId" element + */ + public org.apache.xmlbeans.XmlAnyURI xgetResourceId() + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.XmlAnyURI target = null; + target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(RESOURCEID$0, 0); + return target; + } + } + + /** + * Sets the "ResourceId" element + */ + public void setResourceId(java.lang.String resourceId) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.SimpleValue target = null; + target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESOURCEID$0, 0); + if (target == null) + { + target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(RESOURCEID$0); + } + target.setStringValue(resourceId); + } + } + + /** + * Sets (as xml) the "ResourceId" element + */ + public void xsetResourceId(org.apache.xmlbeans.XmlAnyURI resourceId) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.XmlAnyURI target = null; + target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(RESOURCEID$0, 0); + if (target == null) + { + target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(RESOURCEID$0); + } + target.set(resourceId); + } + } + + /** + * Gets array of all "ManageabilityCapability" elements + */ + public java.lang.String[] getManageabilityCapabilityArray() + { + synchronized (monitor()) + { + check_orphaned(); + java.util.List targetList = new java.util.ArrayList(); + get_store().find_all_element_users(MANAGEABILITYCAPABILITY$2, targetList); + java.lang.String[] result = new java.lang.String[targetList.size()]; + for (int i = 0, len = targetList.size() ; i < len ; i++) + result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getStringValue(); + return result; + } + } + + /** + * Gets ith "ManageabilityCapability" element + */ + public java.lang.String getManageabilityCapabilityArray(int i) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.SimpleValue target = null; + target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MANAGEABILITYCAPABILITY$2, i); + if (target == null) + { + throw new IndexOutOfBoundsException(); + } + return target.getStringValue(); + } + } + + /** + * Gets (as xml) array of all "ManageabilityCapability" elements + */ + public org.apache.xmlbeans.XmlAnyURI[] xgetManageabilityCapabilityArray() + { + synchronized (monitor()) + { + check_orphaned(); + java.util.List targetList = new java.util.ArrayList(); + get_store().find_all_element_users(MANAGEABILITYCAPABILITY$2, targetList); + org.apache.xmlbeans.XmlAnyURI[] result = new org.apache.xmlbeans.XmlAnyURI[targetList.size()]; + targetList.toArray(result); + return result; + } + } + + /** + * Gets (as xml) ith "ManageabilityCapability" element + */ + public org.apache.xmlbeans.XmlAnyURI xgetManageabilityCapabilityArray(int i) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.XmlAnyURI target = null; + target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(MANAGEABILITYCAPABILITY$2, i); + if (target == null) + { + throw new IndexOutOfBoundsException(); + } + return (org.apache.xmlbeans.XmlAnyURI)target; + } + } + + /** + * Returns number of "ManageabilityCapability" element + */ + public int sizeOfManageabilityCapabilityArray() + { + synchronized (monitor()) + { + check_orphaned(); + return get_store().count_elements(MANAGEABILITYCAPABILITY$2); + } + } + + /** + * Sets array of all "ManageabilityCapability" element + */ + public void setManageabilityCapabilityArray(java.lang.String[] manageabilityCapabilityArray) + { + synchronized (monitor()) + { + check_orphaned(); + arraySetterHelper(manageabilityCapabilityArray, MANAGEABILITYCAPABILITY$2); + } + } + + /** + * Sets ith "ManageabilityCapability" element + */ + public void setManageabilityCapabilityArray(int i, java.lang.String manageabilityCapability) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.SimpleValue target = null; + target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MANAGEABILITYCAPABILITY$2, i); + if (target == null) + { + throw new IndexOutOfBoundsException(); + } + target.setStringValue(manageabilityCapability); + } + } + + /** + * Sets (as xml) array of all "ManageabilityCapability" element + */ + public void xsetManageabilityCapabilityArray(org.apache.xmlbeans.XmlAnyURI[]manageabilityCapabilityArray) + { + synchronized (monitor()) + { + check_orphaned(); + arraySetterHelper(manageabilityCapabilityArray, MANAGEABILITYCAPABILITY$2); + } + } + + /** + * Sets (as xml) ith "ManageabilityCapability" element + */ + public void xsetManageabilityCapabilityArray(int i, org.apache.xmlbeans.XmlAnyURI manageabilityCapability) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.XmlAnyURI target = null; + target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(MANAGEABILITYCAPABILITY$2, i); + if (target == null) + { + throw new IndexOutOfBoundsException(); + } + target.set(manageabilityCapability); + } + } + + /** + * Inserts the value as the ith "ManageabilityCapability" element + */ + public void insertManageabilityCapability(int i, java.lang.String manageabilityCapability) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.SimpleValue target = + (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(MANAGEABILITYCAPABILITY$2, i); + target.setStringValue(manageabilityCapability); + } + } + + /** + * Appends the value as the last "ManageabilityCapability" element + */ + public void addManageabilityCapability(java.lang.String manageabilityCapability) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.SimpleValue target = null; + target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MANAGEABILITYCAPABILITY$2); + target.setStringValue(manageabilityCapability); + } + } + + /** + * Removes the ith "ManageabilityCapability" element + */ + public void removeManageabilityCapability(int i) + { + synchronized (monitor()) + { + check_orphaned(); + get_store().remove_element(MANAGEABILITYCAPABILITY$2, i); + } + } + + /** + * Gets the "OperationalStatus" element + */ + public org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.OperationalStatusDocument.OperationalStatus.Enum getOperationalStatus() + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.SimpleValue target = null; + target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OPERATIONALSTATUS$4, 0); + if (target == null) + { + return null; + } + return (org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.OperationalStatusDocument.OperationalStatus.Enum)target.getEnumValue(); + } + } + + /** + * Gets (as xml) the "OperationalStatus" element + */ + public org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.OperationalStatusDocument.OperationalStatus xgetOperationalStatus() + { + synchronized (monitor()) + { + check_orphaned(); + org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.OperationalStatusDocument.OperationalStatus target = null; + target = (org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.OperationalStatusDocument.OperationalStatus)get_store().find_element_user(OPERATIONALSTATUS$4, 0); + return target; + } + } + + /** + * Sets the "OperationalStatus" element + */ + public void setOperationalStatus(org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.OperationalStatusDocument.OperationalStatus.Enum operationalStatus) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.SimpleValue target = null; + target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OPERATIONALSTATUS$4, 0); + if (target == null) + { + target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(OPERATIONALSTATUS$4); + } + target.setEnumValue(operationalStatus); + } + } + + /** + * Sets (as xml) the "OperationalStatus" element + */ + public void xsetOperationalStatus(org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.OperationalStatusDocument.OperationalStatus operationalStatus) + { + synchronized (monitor()) + { + check_orphaned(); + org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.OperationalStatusDocument.OperationalStatus target = null; + target = (org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.OperationalStatusDocument.OperationalStatus)get_store().find_element_user(OPERATIONALSTATUS$4, 0); + if (target == null) + { + target = (org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.OperationalStatusDocument.OperationalStatus)get_store().add_element_user(OPERATIONALSTATUS$4); + } + target.set(operationalStatus); + } + } + + /** + * Gets array of all "Topic" elements + */ + public org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.TopicExpressionType[] getTopicArray() + { + synchronized (monitor()) + { + check_orphaned(); + java.util.List targetList = new java.util.ArrayList(); + get_store().find_all_element_users(TOPIC$6, targetList); + org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.TopicExpressionType[] result = new org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.TopicExpressionType[targetList.size()]; + targetList.toArray(result); + return result; + } + } + + /** + * Gets ith "Topic" element + */ + public org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.TopicExpressionType getTopicArray(int i) + { + synchronized (monitor()) + { + check_orphaned(); + org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.TopicExpressionType target = null; + target = (org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.TopicExpressionType)get_store().find_element_user(TOPIC$6, i); + if (target == null) + { + throw new IndexOutOfBoundsException(); + } + return target; + } + } + + /** + * Returns number of "Topic" element + */ + public int sizeOfTopicArray() + { + synchronized (monitor()) + { + check_orphaned(); + return get_store().count_elements(TOPIC$6); + } + } + + /** + * Sets array of all "Topic" element + */ + public void setTopicArray(org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.TopicExpressionType[] topicArray) + { + synchronized (monitor()) + { + check_orphaned(); + arraySetterHelper(topicArray, TOPIC$6); + } + } + + /** + * Sets ith "Topic" element + */ + public void setTopicArray(int i, org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.TopicExpressionType topic) + { + synchronized (monitor()) + { + check_orphaned(); + org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.TopicExpressionType target = null; + target = (org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.TopicExpressionType)get_store().find_element_user(TOPIC$6, i); + if (target == null) + { + throw new IndexOutOfBoundsException(); + } + target.set(topic); + } + } + + /** + * Inserts and returns a new empty value (as xml) as the ith "Topic" element + */ + public org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.TopicExpressionType insertNewTopic(int i) + { + synchronized (monitor()) + { + check_orphaned(); + org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.TopicExpressionType target = null; + target = (org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.TopicExpressionType)get_store().insert_element_user(TOPIC$6, i); + return target; + } + } + + /** + * Appends and returns a new empty value (as xml) as the last "Topic" element + */ + public org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.TopicExpressionType addNewTopic() + { + synchronized (monitor()) + { + check_orphaned(); + org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.TopicExpressionType target = null; + target = (org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.TopicExpressionType)get_store().add_element_user(TOPIC$6); + return target; + } + } + + /** + * Removes the ith "Topic" element + */ + public void removeTopic(int i) + { + synchronized (monitor()) + { + check_orphaned(); + get_store().remove_element(TOPIC$6, i); + } + } + + /** + * Gets the "FixedTopicSet" element + */ + public boolean getFixedTopicSet() + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.SimpleValue target = null; + target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FIXEDTOPICSET$8, 0); + if (target == null) + { + return false; + } + return target.getBooleanValue(); + } + } + + /** + * Gets (as xml) the "FixedTopicSet" element + */ + public org.apache.xmlbeans.XmlBoolean xgetFixedTopicSet() + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.XmlBoolean target = null; + target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(FIXEDTOPICSET$8, 0); + return target; + } + } + + /** + * Sets the "FixedTopicSet" element + */ + public void setFixedTopicSet(boolean fixedTopicSet) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.SimpleValue target = null; + target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FIXEDTOPICSET$8, 0); + if (target == null) + { + target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FIXEDTOPICSET$8); + } + target.setBooleanValue(fixedTopicSet); + } + } + + /** + * Sets (as xml) the "FixedTopicSet" element + */ + public void xsetFixedTopicSet(org.apache.xmlbeans.XmlBoolean fixedTopicSet) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.XmlBoolean target = null; + target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(FIXEDTOPICSET$8, 0); + if (target == null) + { + target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(FIXEDTOPICSET$8); + } + target.set(fixedTopicSet); + } + } + + /** + * Gets array of all "TopicExpressionDialects" elements + */ + public java.lang.String[] getTopicExpressionDialectsArray() + { + synchronized (monitor()) + { + check_orphaned(); + java.util.List targetList = new java.util.ArrayList(); + get_store().find_all_element_users(TOPICEXPRESSIONDIALECTS$10, targetList); + java.lang.String[] result = new java.lang.String[targetList.size()]; + for (int i = 0, len = targetList.size() ; i < len ; i++) + result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getStringValue(); + return result; + } + } + + /** + * Gets ith "TopicExpressionDialects" element + */ + public java.lang.String getTopicExpressionDialectsArray(int i) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.SimpleValue target = null; + target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOPICEXPRESSIONDIALECTS$10, i); + if (target == null) + { + throw new IndexOutOfBoundsException(); + } + return target.getStringValue(); + } + } + + /** + * Gets (as xml) array of all "TopicExpressionDialects" elements + */ + public org.apache.xmlbeans.XmlAnyURI[] xgetTopicExpressionDialectsArray() + { + synchronized (monitor()) + { + check_orphaned(); + java.util.List targetList = new java.util.ArrayList(); + get_store().find_all_element_users(TOPICEXPRESSIONDIALECTS$10, targetList); + org.apache.xmlbeans.XmlAnyURI[] result = new org.apache.xmlbeans.XmlAnyURI[targetList.size()]; + targetList.toArray(result); + return result; + } + } + + /** + * Gets (as xml) ith "TopicExpressionDialects" element + */ + public org.apache.xmlbeans.XmlAnyURI xgetTopicExpressionDialectsArray(int i) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.XmlAnyURI target = null; + target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(TOPICEXPRESSIONDIALECTS$10, i); + if (target == null) + { + throw new IndexOutOfBoundsException(); + } + return (org.apache.xmlbeans.XmlAnyURI)target; + } + } + + /** + * Returns number of "TopicExpressionDialects" element + */ + public int sizeOfTopicExpressionDialectsArray() + { + synchronized (monitor()) + { + check_orphaned(); + return get_store().count_elements(TOPICEXPRESSIONDIALECTS$10); + } + } + + /** + * Sets array of all "TopicExpressionDialects" element + */ + public void setTopicExpressionDialectsArray(java.lang.String[] topicExpressionDialectsArray) + { + synchronized (monitor()) + { + check_orphaned(); + arraySetterHelper(topicExpressionDialectsArray, TOPICEXPRESSIONDIALECTS$10); + } + } + + /** + * Sets ith "TopicExpressionDialects" element + */ + public void setTopicExpressionDialectsArray(int i, java.lang.String topicExpressionDialects) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.SimpleValue target = null; + target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOPICEXPRESSIONDIALECTS$10, i); + if (target == null) + { + throw new IndexOutOfBoundsException(); + } + target.setStringValue(topicExpressionDialects); + } + } + + /** + * Sets (as xml) array of all "TopicExpressionDialects" element + */ + public void xsetTopicExpressionDialectsArray(org.apache.xmlbeans.XmlAnyURI[]topicExpressionDialectsArray) + { + synchronized (monitor()) + { + check_orphaned(); + arraySetterHelper(topicExpressionDialectsArray, TOPICEXPRESSIONDIALECTS$10); + } + } + + /** + * Sets (as xml) ith "TopicExpressionDialects" element + */ + public void xsetTopicExpressionDialectsArray(int i, org.apache.xmlbeans.XmlAnyURI topicExpressionDialects) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.XmlAnyURI target = null; + target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(TOPICEXPRESSIONDIALECTS$10, i); + if (target == null) + { + throw new IndexOutOfBoundsException(); + } + target.set(topicExpressionDialects); + } + } + + /** + * Inserts the value as the ith "TopicExpressionDialects" element + */ + public void insertTopicExpressionDialects(int i, java.lang.String topicExpressionDialects) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.SimpleValue target = + (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(TOPICEXPRESSIONDIALECTS$10, i); + target.setStringValue(topicExpressionDialects); + } + } + + /** + * Appends the value as the last "TopicExpressionDialects" element + */ + public void addTopicExpressionDialects(java.lang.String topicExpressionDialects) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.SimpleValue target = null; + target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TOPICEXPRESSIONDIALECTS$10); + target.setStringValue(topicExpressionDialects); + } + } + + /** + * Removes the ith "TopicExpressionDialects" element + */ + public void removeTopicExpressionDialects(int i) + { + synchronized (monitor()) + { + check_orphaned(); + get_store().remove_element(TOPICEXPRESSIONDIALECTS$10, i); + } + } + + /** + * Gets the "CurrentTime" element + */ + public java.util.Calendar getCurrentTime() + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.SimpleValue target = null; + target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CURRENTTIME$12, 0); + if (target == null) + { + return null; + } + return target.getCalendarValue(); + } + } + + /** + * Gets (as xml) the "CurrentTime" element + */ + public org.apache.xmlbeans.XmlDateTime xgetCurrentTime() + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.XmlDateTime target = null; + target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(CURRENTTIME$12, 0); + return target; + } + } + + /** + * Sets the "CurrentTime" element + */ + public void setCurrentTime(java.util.Calendar currentTime) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.SimpleValue target = null; + target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CURRENTTIME$12, 0); + if (target == null) + { + target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CURRENTTIME$12); + } + target.setCalendarValue(currentTime); + } + } + + /** + * Sets (as xml) the "CurrentTime" element + */ + public void xsetCurrentTime(org.apache.xmlbeans.XmlDateTime currentTime) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.XmlDateTime target = null; + target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(CURRENTTIME$12, 0); + if (target == null) + { + target = (org.apache.xmlbeans.XmlDateTime)get_store().add_element_user(CURRENTTIME$12); + } + target.set(currentTime); + } + } + + /** + * Gets the "CpuUsage" element + */ + public org.apache.xmlbeans.XmlObject getCpuUsage() + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.XmlObject target = null; + target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(CPUUSAGE$14, 0); + if (target == null) + { + return null; + } + return target; + } + } + + /** + * True if has "CpuUsage" element + */ + public boolean isSetCpuUsage() + { + synchronized (monitor()) + { + check_orphaned(); + return get_store().count_elements(CPUUSAGE$14) != 0; + } + } + + /** + * Sets the "CpuUsage" element + */ + public void setCpuUsage(org.apache.xmlbeans.XmlObject cpuUsage) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.XmlObject target = null; + target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(CPUUSAGE$14, 0); + if (target == null) + { + target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(CPUUSAGE$14); + } + target.set(cpuUsage); + } + } + + /** + * Appends and returns a new empty "CpuUsage" element + */ + public org.apache.xmlbeans.XmlObject addNewCpuUsage() + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.xmlbeans.XmlObject target = null; + target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(CPUUSAGE$14); + return target; + } + } + + /** + * Unsets the "CpuUsage" element + */ + public void unsetCpuUsage() + { + synchronized (monitor()) + { + check_orphaned(); + get_store().remove_element(CPUUSAGE$14, 0); + } + } + } +}
Added: incubator/muse/trunk/src/site/content/interop/src/.xmlbeans/src/org/apache/ws/resource/example/ipmiserver/impl/ResetDocumentImpl.java URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/interop/src/.xmlbeans/src/org/apache/ws/resource/example/ipmiserver/impl/ResetDocumentImpl.java?view=auto&rev=158676 ============================================================================== --- incubator/muse/trunk/src/site/content/interop/src/.xmlbeans/src/org/apache/ws/resource/example/ipmiserver/impl/ResetDocumentImpl.java (added) +++ incubator/muse/trunk/src/site/content/interop/src/.xmlbeans/src/org/apache/ws/resource/example/ipmiserver/impl/ResetDocumentImpl.java Tue Mar 22 13:29:39 2005 @@ -0,0 +1,91 @@ +/* + * An XML document type. + * Localname: Reset + * Namespace: http://ws.apache.org/resource/example/ipmiserver + * Java type: org.apache.ws.resource.example.ipmiserver.ResetDocument + * + * Automatically generated - do not modify. + */ +package org.apache.ws.resource.example.ipmiserver.impl; +/** + * A document containing one Reset(@http://ws.apache.org/resource/example/ipmiserver) element. + * + * This is a complex type. + */ +public class ResetDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.ws.resource.example.ipmiserver.ResetDocument +{ + + public ResetDocumentImpl(org.apache.xmlbeans.SchemaType sType) + { + super(sType); + } + + private static final javax.xml.namespace.QName RESET$0 = + new javax.xml.namespace.QName("http://ws.apache.org/resource/example/ipmiserver", "Reset"); + + + /** + * Gets the "Reset" element + */ + public org.apache.ws.resource.example.ipmiserver.ResetDocument.Reset getReset() + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.ws.resource.example.ipmiserver.ResetDocument.Reset target = null; + target = (org.apache.ws.resource.example.ipmiserver.ResetDocument.Reset)get_store().find_element_user(RESET$0, 0); + if (target == null) + { + return null; + } + return target; + } + } + + /** + * Sets the "Reset" element + */ + public void setReset(org.apache.ws.resource.example.ipmiserver.ResetDocument.Reset reset) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.ws.resource.example.ipmiserver.ResetDocument.Reset target = null; + target = (org.apache.ws.resource.example.ipmiserver.ResetDocument.Reset)get_store().find_element_user(RESET$0, 0); + if (target == null) + { + target = (org.apache.ws.resource.example.ipmiserver.ResetDocument.Reset)get_store().add_element_user(RESET$0); + } + target.set(reset); + } + } + + /** + * Appends and returns a new empty "Reset" element + */ + public org.apache.ws.resource.example.ipmiserver.ResetDocument.Reset addNewReset() + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.ws.resource.example.ipmiserver.ResetDocument.Reset target = null; + target = (org.apache.ws.resource.example.ipmiserver.ResetDocument.Reset)get_store().add_element_user(RESET$0); + return target; + } + } + /** + * An XML Reset(@http://ws.apache.org/resource/example/ipmiserver). + * + * This is a complex type. + */ + public static class ResetImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.ws.resource.example.ipmiserver.ResetDocument.Reset + { + + public ResetImpl(org.apache.xmlbeans.SchemaType sType) + { + super(sType); + } + + + } +} Added: incubator/muse/trunk/src/site/content/interop/src/.xmlbeans/src/org/apache/ws/resource/example/ipmiserver/impl/ResetResponseDocumentImpl.java URL: http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/interop/src/.xmlbeans/src/org/apache/ws/resource/example/ipmiserver/impl/ResetResponseDocumentImpl.java?view=auto&rev=158676 ============================================================================== --- incubator/muse/trunk/src/site/content/interop/src/.xmlbeans/src/org/apache/ws/resource/example/ipmiserver/impl/ResetResponseDocumentImpl.java (added) +++ incubator/muse/trunk/src/site/content/interop/src/.xmlbeans/src/org/apache/ws/resource/example/ipmiserver/impl/ResetResponseDocumentImpl.java Tue Mar 22 13:29:39 2005 @@ -0,0 +1,91 @@ +/* + * An XML document type. + * Localname: ResetResponse + * Namespace: http://ws.apache.org/resource/example/ipmiserver + * Java type: org.apache.ws.resource.example.ipmiserver.ResetResponseDocument + * + * Automatically generated - do not modify. + */ +package org.apache.ws.resource.example.ipmiserver.impl; +/** + * A document containing one ResetResponse(@http://ws.apache.org/resource/example/ipmiserver) element. + * + * This is a complex type. + */ +public class ResetResponseDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.ws.resource.example.ipmiserver.ResetResponseDocument +{ + + public ResetResponseDocumentImpl(org.apache.xmlbeans.SchemaType sType) + { + super(sType); + } + + private static final javax.xml.namespace.QName RESETRESPONSE$0 = + new javax.xml.namespace.QName("http://ws.apache.org/resource/example/ipmiserver", "ResetResponse"); + + + /** + * Gets the "ResetResponse" element + */ + public org.apache.ws.resource.example.ipmiserver.ResetResponseDocument.ResetResponse getResetResponse() + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.ws.resource.example.ipmiserver.ResetResponseDocument.ResetResponse target = null; + target = (org.apache.ws.resource.example.ipmiserver.ResetResponseDocument.ResetResponse)get_store().find_element_user(RESETRESPONSE$0, 0); + if (target == null) + { + return null; + } + return target; + } + } + + /** + * Sets the "ResetResponse" element + */ + public void setResetResponse(org.apache.ws.resource.example.ipmiserver.ResetResponseDocument.ResetResponse resetResponse) + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.ws.resource.example.ipmiserver.ResetResponseDocument.ResetResponse target = null; + target = (org.apache.ws.resource.example.ipmiserver.ResetResponseDocument.ResetResponse)get_store().find_element_user(RESETRESPONSE$0, 0); + if (target == null) + { + target = (org.apache.ws.resource.example.ipmiserver.ResetResponseDocument.ResetResponse)get_store().add_element_user(RESETRESPONSE$0); + } + target.set(resetResponse); + } + } + + /** + * Appends and returns a new empty "ResetResponse" element + */ + public org.apache.ws.resource.example.ipmiserver.ResetResponseDocument.ResetResponse addNewResetResponse() + { + synchronized (monitor()) + { + check_orphaned(); + org.apache.ws.resource.example.ipmiserver.ResetResponseDocument.ResetResponse target = null; + target = (org.apache.ws.resource.example.ipmiserver.ResetResponseDocument.ResetResponse)get_store().add_element_user(RESETRESPONSE$0); + return target; + } + } + /** + * An XML ResetResponse(@http://ws.apache.org/resource/example/ipmiserver). + * + * This is a complex type. + */ + public static class ResetResponseImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.ws.resource.example.ipmiserver.ResetResponseDocument.ResetResponse + { + + public ResetResponseImpl(org.apache.xmlbeans.SchemaType sType) + { + super(sType); + } + + + } +} --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
