http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/AfterOKListImpl.java ---------------------------------------------------------------------- diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/AfterOKListImpl.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/AfterOKListImpl.java deleted file mode 100644 index d45e252..0000000 --- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/AfterOKListImpl.java +++ /dev/null @@ -1,254 +0,0 @@ -/** - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -/* - * XML Type: afterOKList - * Namespace: http://airavata.apache.org/gfac/core/2012/12 - * Java type: org.apache.airavata.gfac.core.x2012.x12.AfterOKList - * - * Automatically generated - do not modify. - */ -package org.apache.airavata.gfac.core.x2012.x12.impl; -/** - * An XML afterOKList(@http://airavata.apache.org/gfac/core/2012/12). - * - * This is a complex type. - */ -public class AfterOKListImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.gfac.core.x2012.x12.AfterOKList -{ - private static final long serialVersionUID = 1L; - - public AfterOKListImpl(org.apache.xmlbeans.SchemaType sType) - { - super(sType); - } - - private static final javax.xml.namespace.QName AFTEROKLIST$0 = - new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "afterOKList"); - - - /** - * Gets array of all "afterOKList" elements - */ - public java.lang.String[] getAfterOKListArray() - { - synchronized (monitor()) - { - check_orphaned(); - java.util.List targetList = new java.util.ArrayList(); - get_store().find_all_element_users(AFTEROKLIST$0, 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 "afterOKList" element - */ - public java.lang.String getAfterOKListArray(int i) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.SimpleValue target = null; - target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AFTEROKLIST$0, i); - if (target == null) - { - throw new IndexOutOfBoundsException(); - } - return target.getStringValue(); - } - } - - /** - * Gets (as xml) array of all "afterOKList" elements - */ - public org.apache.xmlbeans.XmlString[] xgetAfterOKListArray() - { - synchronized (monitor()) - { - check_orphaned(); - java.util.List targetList = new java.util.ArrayList(); - get_store().find_all_element_users(AFTEROKLIST$0, targetList); - org.apache.xmlbeans.XmlString[] result = new org.apache.xmlbeans.XmlString[targetList.size()]; - targetList.toArray(result); - return result; - } - } - - /** - * Gets (as xml) ith "afterOKList" element - */ - public org.apache.xmlbeans.XmlString xgetAfterOKListArray(int i) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.XmlString target = null; - target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(AFTEROKLIST$0, i); - if (target == null) - { - throw new IndexOutOfBoundsException(); - } - return (org.apache.xmlbeans.XmlString)target; - } - } - - /** - * Returns number of "afterOKList" element - */ - public int sizeOfAfterOKListArray() - { - synchronized (monitor()) - { - check_orphaned(); - return get_store().count_elements(AFTEROKLIST$0); - } - } - - /** - * Sets array of all "afterOKList" element - */ - public void setAfterOKListArray(java.lang.String[] afterOKListArray) - { - synchronized (monitor()) - { - check_orphaned(); - arraySetterHelper(afterOKListArray, AFTEROKLIST$0); - } - } - - /** - * Sets ith "afterOKList" element - */ - public void setAfterOKListArray(int i, java.lang.String afterOKList) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.SimpleValue target = null; - target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AFTEROKLIST$0, i); - if (target == null) - { - throw new IndexOutOfBoundsException(); - } - target.setStringValue(afterOKList); - } - } - - /** - * Sets (as xml) array of all "afterOKList" element - */ - public void xsetAfterOKListArray(org.apache.xmlbeans.XmlString[]afterOKListArray) - { - synchronized (monitor()) - { - check_orphaned(); - arraySetterHelper(afterOKListArray, AFTEROKLIST$0); - } - } - - /** - * Sets (as xml) ith "afterOKList" element - */ - public void xsetAfterOKListArray(int i, org.apache.xmlbeans.XmlString afterOKList) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.XmlString target = null; - target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(AFTEROKLIST$0, i); - if (target == null) - { - throw new IndexOutOfBoundsException(); - } - target.set(afterOKList); - } - } - - /** - * Inserts the value as the ith "afterOKList" element - */ - public void insertAfterOKList(int i, java.lang.String afterOKList) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.SimpleValue target = - (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(AFTEROKLIST$0, i); - target.setStringValue(afterOKList); - } - } - - /** - * Appends the value as the last "afterOKList" element - */ - public void addAfterOKList(java.lang.String afterOKList) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.SimpleValue target = null; - target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AFTEROKLIST$0); - target.setStringValue(afterOKList); - } - } - - /** - * Inserts and returns a new empty value (as xml) as the ith "afterOKList" element - */ - public org.apache.xmlbeans.XmlString insertNewAfterOKList(int i) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.XmlString target = null; - target = (org.apache.xmlbeans.XmlString)get_store().insert_element_user(AFTEROKLIST$0, i); - return target; - } - } - - /** - * Appends and returns a new empty value (as xml) as the last "afterOKList" element - */ - public org.apache.xmlbeans.XmlString addNewAfterOKList() - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.XmlString target = null; - target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(AFTEROKLIST$0); - return target; - } - } - - /** - * Removes the ith "afterOKList" element - */ - public void removeAfterOKList(int i) - { - synchronized (monitor()) - { - check_orphaned(); - get_store().remove_element(AFTEROKLIST$0, i); - } - } -}
http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/ExportPropertiesImpl.java ---------------------------------------------------------------------- diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/ExportPropertiesImpl.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/ExportPropertiesImpl.java deleted file mode 100644 index 51e96fb..0000000 --- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/ExportPropertiesImpl.java +++ /dev/null @@ -1,252 +0,0 @@ -/** - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -/* - * XML Type: exportProperties - * Namespace: http://airavata.apache.org/gfac/core/2012/12 - * Java type: org.apache.airavata.gfac.core.x2012.x12.ExportProperties - * - * Automatically generated - do not modify. - */ -package org.apache.airavata.gfac.core.x2012.x12.impl; -/** - * An XML exportProperties(@http://airavata.apache.org/gfac/core/2012/12). - * - * This is a complex type. - */ -public class ExportPropertiesImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.gfac.core.x2012.x12.ExportProperties -{ - private static final long serialVersionUID = 1L; - - public ExportPropertiesImpl(org.apache.xmlbeans.SchemaType sType) - { - super(sType); - } - - private static final javax.xml.namespace.QName NAME$0 = - new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "name"); - - - /** - * Gets array of all "name" elements - */ - public org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name[] getNameArray() - { - synchronized (monitor()) - { - check_orphaned(); - java.util.List targetList = new java.util.ArrayList(); - get_store().find_all_element_users(NAME$0, targetList); - org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name[] result = new org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name[targetList.size()]; - targetList.toArray(result); - return result; - } - } - - /** - * Gets ith "name" element - */ - public org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name getNameArray(int i) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name target = null; - target = (org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name)get_store().find_element_user(NAME$0, i); - if (target == null) - { - throw new IndexOutOfBoundsException(); - } - return target; - } - } - - /** - * Returns number of "name" element - */ - public int sizeOfNameArray() - { - synchronized (monitor()) - { - check_orphaned(); - return get_store().count_elements(NAME$0); - } - } - - /** - * Sets array of all "name" element - */ - public void setNameArray(org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name[] nameArray) - { - synchronized (monitor()) - { - check_orphaned(); - arraySetterHelper(nameArray, NAME$0); - } - } - - /** - * Sets ith "name" element - */ - public void setNameArray(int i, org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name name) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name target = null; - target = (org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name)get_store().find_element_user(NAME$0, i); - if (target == null) - { - throw new IndexOutOfBoundsException(); - } - target.set(name); - } - } - - /** - * Inserts and returns a new empty value (as xml) as the ith "name" element - */ - public org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name insertNewName(int i) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name target = null; - target = (org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name)get_store().insert_element_user(NAME$0, i); - return target; - } - } - - /** - * Appends and returns a new empty value (as xml) as the last "name" element - */ - public org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name addNewName() - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name target = null; - target = (org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name)get_store().add_element_user(NAME$0); - return target; - } - } - - /** - * Removes the ith "name" element - */ - public void removeName(int i) - { - synchronized (monitor()) - { - check_orphaned(); - get_store().remove_element(NAME$0, i); - } - } - /** - * An XML name(@http://airavata.apache.org/gfac/core/2012/12). - * - * This is an atomic type that is a restriction of org.apache.airavata.gfac.core.x2012.x12.ExportProperties$Name. - */ - public static class NameImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name - { - private static final long serialVersionUID = 1L; - - public NameImpl(org.apache.xmlbeans.SchemaType sType) - { - super(sType, true); - } - - protected NameImpl(org.apache.xmlbeans.SchemaType sType, boolean b) - { - super(sType, b); - } - - private static final javax.xml.namespace.QName VALUE$0 = - new javax.xml.namespace.QName("", "value"); - - - /** - * Gets the "value" attribute - */ - public java.lang.String getValue() - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.SimpleValue target = null; - target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VALUE$0); - if (target == null) - { - return null; - } - return target.getStringValue(); - } - } - - /** - * Gets (as xml) the "value" attribute - */ - public org.apache.xmlbeans.XmlString xgetValue() - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.XmlString target = null; - target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(VALUE$0); - return target; - } - } - - /** - * Sets the "value" attribute - */ - public void setValue(java.lang.String value) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.SimpleValue target = null; - target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VALUE$0); - if (target == null) - { - target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(VALUE$0); - } - target.setStringValue(value); - } - } - - /** - * Sets (as xml) the "value" attribute - */ - public void xsetValue(org.apache.xmlbeans.XmlString value) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.XmlString target = null; - target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(VALUE$0); - if (target == null) - { - target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(VALUE$0); - } - target.set(value); - } - } - } -} http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/InputListImpl.java ---------------------------------------------------------------------- diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/InputListImpl.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/InputListImpl.java deleted file mode 100644 index 5e1ec0f..0000000 --- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/InputListImpl.java +++ /dev/null @@ -1,254 +0,0 @@ -/** - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -/* - * XML Type: inputList - * Namespace: http://airavata.apache.org/gfac/core/2012/12 - * Java type: org.apache.airavata.gfac.core.x2012.x12.InputList - * - * Automatically generated - do not modify. - */ -package org.apache.airavata.gfac.core.x2012.x12.impl; -/** - * An XML inputList(@http://airavata.apache.org/gfac/core/2012/12). - * - * This is a complex type. - */ -public class InputListImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.gfac.core.x2012.x12.InputList -{ - private static final long serialVersionUID = 1L; - - public InputListImpl(org.apache.xmlbeans.SchemaType sType) - { - super(sType); - } - - private static final javax.xml.namespace.QName INPUT$0 = - new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "input"); - - - /** - * Gets array of all "input" elements - */ - public java.lang.String[] getInputArray() - { - synchronized (monitor()) - { - check_orphaned(); - java.util.List targetList = new java.util.ArrayList(); - get_store().find_all_element_users(INPUT$0, 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 "input" element - */ - public java.lang.String getInputArray(int i) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.SimpleValue target = null; - target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INPUT$0, i); - if (target == null) - { - throw new IndexOutOfBoundsException(); - } - return target.getStringValue(); - } - } - - /** - * Gets (as xml) array of all "input" elements - */ - public org.apache.xmlbeans.XmlString[] xgetInputArray() - { - synchronized (monitor()) - { - check_orphaned(); - java.util.List targetList = new java.util.ArrayList(); - get_store().find_all_element_users(INPUT$0, targetList); - org.apache.xmlbeans.XmlString[] result = new org.apache.xmlbeans.XmlString[targetList.size()]; - targetList.toArray(result); - return result; - } - } - - /** - * Gets (as xml) ith "input" element - */ - public org.apache.xmlbeans.XmlString xgetInputArray(int i) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.XmlString target = null; - target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(INPUT$0, i); - if (target == null) - { - throw new IndexOutOfBoundsException(); - } - return (org.apache.xmlbeans.XmlString)target; - } - } - - /** - * Returns number of "input" element - */ - public int sizeOfInputArray() - { - synchronized (monitor()) - { - check_orphaned(); - return get_store().count_elements(INPUT$0); - } - } - - /** - * Sets array of all "input" element - */ - public void setInputArray(java.lang.String[] inputArray) - { - synchronized (monitor()) - { - check_orphaned(); - arraySetterHelper(inputArray, INPUT$0); - } - } - - /** - * Sets ith "input" element - */ - public void setInputArray(int i, java.lang.String input) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.SimpleValue target = null; - target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INPUT$0, i); - if (target == null) - { - throw new IndexOutOfBoundsException(); - } - target.setStringValue(input); - } - } - - /** - * Sets (as xml) array of all "input" element - */ - public void xsetInputArray(org.apache.xmlbeans.XmlString[]inputArray) - { - synchronized (monitor()) - { - check_orphaned(); - arraySetterHelper(inputArray, INPUT$0); - } - } - - /** - * Sets (as xml) ith "input" element - */ - public void xsetInputArray(int i, org.apache.xmlbeans.XmlString input) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.XmlString target = null; - target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(INPUT$0, i); - if (target == null) - { - throw new IndexOutOfBoundsException(); - } - target.set(input); - } - } - - /** - * Inserts the value as the ith "input" element - */ - public void insertInput(int i, java.lang.String input) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.SimpleValue target = - (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(INPUT$0, i); - target.setStringValue(input); - } - } - - /** - * Appends the value as the last "input" element - */ - public void addInput(java.lang.String input) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.SimpleValue target = null; - target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INPUT$0); - target.setStringValue(input); - } - } - - /** - * Inserts and returns a new empty value (as xml) as the ith "input" element - */ - public org.apache.xmlbeans.XmlString insertNewInput(int i) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.XmlString target = null; - target = (org.apache.xmlbeans.XmlString)get_store().insert_element_user(INPUT$0, i); - return target; - } - } - - /** - * Appends and returns a new empty value (as xml) as the last "input" element - */ - public org.apache.xmlbeans.XmlString addNewInput() - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.XmlString target = null; - target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(INPUT$0); - return target; - } - } - - /** - * Removes the ith "input" element - */ - public void removeInput(int i) - { - synchronized (monitor()) - { - check_orphaned(); - get_store().remove_element(INPUT$0, i); - } - } -} http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/JobDescriptorDocumentImpl.java ---------------------------------------------------------------------- diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/JobDescriptorDocumentImpl.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/JobDescriptorDocumentImpl.java deleted file mode 100644 index 9b9122a..0000000 --- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/JobDescriptorDocumentImpl.java +++ /dev/null @@ -1,96 +0,0 @@ -/** - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -/* - * An XML document type. - * Localname: JobDescriptor - * Namespace: http://airavata.apache.org/gfac/core/2012/12 - * Java type: org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument - * - * Automatically generated - do not modify. - */ -package org.apache.airavata.gfac.core.x2012.x12.impl; -/** - * A document containing one JobDescriptor(@http://airavata.apache.org/gfac/core/2012/12) element. - * - * This is a complex type. - */ -public class JobDescriptorDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument -{ - private static final long serialVersionUID = 1L; - - public JobDescriptorDocumentImpl(org.apache.xmlbeans.SchemaType sType) - { - super(sType); - } - - private static final javax.xml.namespace.QName JOBDESCRIPTOR$0 = - new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "JobDescriptor"); - - - /** - * Gets the "JobDescriptor" element - */ - public org.apache.airavata.gfac.core.x2012.x12.PbsParams getJobDescriptor() - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.airavata.gfac.core.x2012.x12.PbsParams target = null; - target = (org.apache.airavata.gfac.core.x2012.x12.PbsParams)get_store().find_element_user(JOBDESCRIPTOR$0, 0); - if (target == null) - { - return null; - } - return target; - } - } - - /** - * Sets the "JobDescriptor" element - */ - public void setJobDescriptor(org.apache.airavata.gfac.core.x2012.x12.PbsParams jobDescriptor) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.airavata.gfac.core.x2012.x12.PbsParams target = null; - target = (org.apache.airavata.gfac.core.x2012.x12.PbsParams)get_store().find_element_user(JOBDESCRIPTOR$0, 0); - if (target == null) - { - target = (org.apache.airavata.gfac.core.x2012.x12.PbsParams)get_store().add_element_user(JOBDESCRIPTOR$0); - } - target.set(jobDescriptor); - } - } - - /** - * Appends and returns a new empty "JobDescriptor" element - */ - public org.apache.airavata.gfac.core.x2012.x12.PbsParams addNewJobDescriptor() - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.airavata.gfac.core.x2012.x12.PbsParams target = null; - target = (org.apache.airavata.gfac.core.x2012.x12.PbsParams)get_store().add_element_user(JOBDESCRIPTOR$0); - return target; - } - } -} http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/ModuleLoadCommandsImpl.java ---------------------------------------------------------------------- diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/ModuleLoadCommandsImpl.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/ModuleLoadCommandsImpl.java deleted file mode 100644 index 2135539..0000000 --- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/ModuleLoadCommandsImpl.java +++ /dev/null @@ -1,254 +0,0 @@ -/** - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -/* - * XML Type: moduleLoadCommands - * Namespace: http://airavata.apache.org/gfac/core/2012/12 - * Java type: org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands - * - * Automatically generated - do not modify. - */ -package org.apache.airavata.gfac.core.x2012.x12.impl; -/** - * An XML moduleLoadCommands(@http://airavata.apache.org/gfac/core/2012/12). - * - * This is a complex type. - */ -public class ModuleLoadCommandsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands -{ - private static final long serialVersionUID = 1L; - - public ModuleLoadCommandsImpl(org.apache.xmlbeans.SchemaType sType) - { - super(sType); - } - - private static final javax.xml.namespace.QName COMMAND$0 = - new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "command"); - - - /** - * Gets array of all "command" elements - */ - public java.lang.String[] getCommandArray() - { - synchronized (monitor()) - { - check_orphaned(); - java.util.List targetList = new java.util.ArrayList(); - get_store().find_all_element_users(COMMAND$0, 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 "command" element - */ - public java.lang.String getCommandArray(int i) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.SimpleValue target = null; - target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COMMAND$0, i); - if (target == null) - { - throw new IndexOutOfBoundsException(); - } - return target.getStringValue(); - } - } - - /** - * Gets (as xml) array of all "command" elements - */ - public org.apache.xmlbeans.XmlString[] xgetCommandArray() - { - synchronized (monitor()) - { - check_orphaned(); - java.util.List targetList = new java.util.ArrayList(); - get_store().find_all_element_users(COMMAND$0, targetList); - org.apache.xmlbeans.XmlString[] result = new org.apache.xmlbeans.XmlString[targetList.size()]; - targetList.toArray(result); - return result; - } - } - - /** - * Gets (as xml) ith "command" element - */ - public org.apache.xmlbeans.XmlString xgetCommandArray(int i) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.XmlString target = null; - target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(COMMAND$0, i); - if (target == null) - { - throw new IndexOutOfBoundsException(); - } - return (org.apache.xmlbeans.XmlString)target; - } - } - - /** - * Returns number of "command" element - */ - public int sizeOfCommandArray() - { - synchronized (monitor()) - { - check_orphaned(); - return get_store().count_elements(COMMAND$0); - } - } - - /** - * Sets array of all "command" element - */ - public void setCommandArray(java.lang.String[] commandArray) - { - synchronized (monitor()) - { - check_orphaned(); - arraySetterHelper(commandArray, COMMAND$0); - } - } - - /** - * Sets ith "command" element - */ - public void setCommandArray(int i, java.lang.String command) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.SimpleValue target = null; - target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COMMAND$0, i); - if (target == null) - { - throw new IndexOutOfBoundsException(); - } - target.setStringValue(command); - } - } - - /** - * Sets (as xml) array of all "command" element - */ - public void xsetCommandArray(org.apache.xmlbeans.XmlString[]commandArray) - { - synchronized (monitor()) - { - check_orphaned(); - arraySetterHelper(commandArray, COMMAND$0); - } - } - - /** - * Sets (as xml) ith "command" element - */ - public void xsetCommandArray(int i, org.apache.xmlbeans.XmlString command) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.XmlString target = null; - target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(COMMAND$0, i); - if (target == null) - { - throw new IndexOutOfBoundsException(); - } - target.set(command); - } - } - - /** - * Inserts the value as the ith "command" element - */ - public void insertCommand(int i, java.lang.String command) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.SimpleValue target = - (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(COMMAND$0, i); - target.setStringValue(command); - } - } - - /** - * Appends the value as the last "command" element - */ - public void addCommand(java.lang.String command) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.SimpleValue target = null; - target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(COMMAND$0); - target.setStringValue(command); - } - } - - /** - * Inserts and returns a new empty value (as xml) as the ith "command" element - */ - public org.apache.xmlbeans.XmlString insertNewCommand(int i) - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.XmlString target = null; - target = (org.apache.xmlbeans.XmlString)get_store().insert_element_user(COMMAND$0, i); - return target; - } - } - - /** - * Appends and returns a new empty value (as xml) as the last "command" element - */ - public org.apache.xmlbeans.XmlString addNewCommand() - { - synchronized (monitor()) - { - check_orphaned(); - org.apache.xmlbeans.XmlString target = null; - target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(COMMAND$0); - return target; - } - } - - /** - * Removes the ith "command" element - */ - public void removeCommand(int i) - { - synchronized (monitor()) - { - check_orphaned(); - get_store().remove_element(COMMAND$0, i); - } - } -}
