- From: Florent Batard via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 22 Jul 2008 09:16:49 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/org/w3/unicorn/tasklist/impl
In directory hutz:/tmp/cvs-serv15547/org/w3/unicorn/tasklist/impl
Added Files:
TaskTypeImpl.java ValueTypeImpl.java CondTypeImpl.java
IfTypeImpl.java ElseTypeImpl.java TInputMethodImpl.java
CondsTypeImpl.java TasklistDocumentImpl.java
OutputseqTypeImpl.java TasklistTypeImpl.java TUiImpl.java
OutputgroupTypeImpl.java ParameterTypeImpl.java
MappedTypeImpl.java RoutineTypeImpl.java
ParametersTypeImpl.java ThenTypeImpl.java ExecTypeImpl.java
TParamTypeImpl.java ParamTypeImpl.java
Log Message:
New tasklist generated class
--- NEW FILE: TasklistDocumentImpl.java ---
/*
* An XML document type.
* Localname: tasklist
* Namespace: http://www.w3.org/unicorn/tasklist
* Java type: org.w3.unicorn.tasklist.TasklistDocument
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.tasklist.impl;
/**
* A document containing one tasklist(@http://www.w3.org/unicorn/tasklist) element.
*
* This is a complex type.
*/
public class TasklistDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.tasklist.TasklistDocument
{
public TasklistDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName TASKLIST$0 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/tasklist", "tasklist");
/**
* Gets the "tasklist" element
*/
public org.w3.unicorn.tasklist.TasklistType getTasklist()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.TasklistType target = null;
target = (org.w3.unicorn.tasklist.TasklistType)get_store().find_element_user(TASKLIST$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "tasklist" element
*/
public void setTasklist(org.w3.unicorn.tasklist.TasklistType tasklist)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.TasklistType target = null;
target = (org.w3.unicorn.tasklist.TasklistType)get_store().find_element_user(TASKLIST$0, 0);
if (target == null)
{
target = (org.w3.unicorn.tasklist.TasklistType)get_store().add_element_user(TASKLIST$0);
}
target.set(tasklist);
}
}
/**
* Appends and returns a new empty "tasklist" element
*/
public org.w3.unicorn.tasklist.TasklistType addNewTasklist()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.TasklistType target = null;
target = (org.w3.unicorn.tasklist.TasklistType)get_store().add_element_user(TASKLIST$0);
return target;
}
}
}
--- NEW FILE: OutputgroupTypeImpl.java ---
/*
* XML Type: outputgroupType
* Namespace: http://www.w3.org/unicorn/tasklist
* Java type: org.w3.unicorn.tasklist.OutputgroupType
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.tasklist.impl;
/**
* An XML outputgroupType(@http://www.w3.org/unicorn/tasklist).
*
* This is a complex type.
*/
public class OutputgroupTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.tasklist.OutputgroupType
{
public OutputgroupTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName TASKSORT$0 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/tasklist", "tasksort");
private static final javax.xml.namespace.QName ID$2 =
new javax.xml.namespace.QName("", "id");
/**
* Gets array of all "tasksort" elements
*/
public java.lang.String[] getTasksortArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(TASKSORT$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 "tasksort" element
*/
public java.lang.String getTasksortArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TASKSORT$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target.getStringValue();
}
}
/**
* Gets (as xml) array of all "tasksort" elements
*/
public org.apache.xmlbeans.XmlString[] xgetTasksortArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(TASKSORT$0, targetList);
org.apache.xmlbeans.XmlString[] result = new org.apache.xmlbeans.XmlString[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets (as xml) ith "tasksort" element
*/
public org.apache.xmlbeans.XmlString xgetTasksortArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TASKSORT$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return (org.apache.xmlbeans.XmlString)target;
}
}
/**
* Returns number of "tasksort" element
*/
public int sizeOfTasksortArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(TASKSORT$0);
}
}
/**
* Sets array of all "tasksort" element
*/
public void setTasksortArray(java.lang.String[] tasksortArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(tasksortArray, TASKSORT$0);
}
}
/**
* Sets ith "tasksort" element
*/
public void setTasksortArray(int i, java.lang.String tasksort)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TASKSORT$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.setStringValue(tasksort);
}
}
/**
* Sets (as xml) array of all "tasksort" element
*/
public void xsetTasksortArray(org.apache.xmlbeans.XmlString[]tasksortArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(tasksortArray, TASKSORT$0);
}
}
/**
* Sets (as xml) ith "tasksort" element
*/
public void xsetTasksortArray(int i, org.apache.xmlbeans.XmlString tasksort)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TASKSORT$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(tasksort);
}
}
/**
* Inserts the value as the ith "tasksort" element
*/
public void insertTasksort(int i, java.lang.String tasksort)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target =
(org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(TASKSORT$0, i);
target.setStringValue(tasksort);
}
}
/**
* Appends the value as the last "tasksort" element
*/
public void addTasksort(java.lang.String tasksort)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TASKSORT$0);
target.setStringValue(tasksort);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "tasksort" element
*/
public org.apache.xmlbeans.XmlString insertNewTasksort(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().insert_element_user(TASKSORT$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "tasksort" element
*/
public org.apache.xmlbeans.XmlString addNewTasksort()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(TASKSORT$0);
return target;
}
}
/**
* Removes the ith "tasksort" element
*/
public void removeTasksort(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(TASKSORT$0, i);
}
}
/**
* Gets the "id" attribute
*/
public byte getId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$2);
if (target == null)
{
return 0;
}
return target.getByteValue();
}
}
/**
* Gets (as xml) the "id" attribute
*/
public org.apache.xmlbeans.XmlByte xgetId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlByte target = null;
target = (org.apache.xmlbeans.XmlByte)get_store().find_attribute_user(ID$2);
return target;
}
}
/**
* True if has "id" attribute
*/
public boolean isSetId()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(ID$2) != null;
}
}
/**
* Sets the "id" attribute
*/
public void setId(byte id)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ID$2);
}
target.setByteValue(id);
}
}
/**
* Sets (as xml) the "id" attribute
*/
public void xsetId(org.apache.xmlbeans.XmlByte id)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlByte target = null;
target = (org.apache.xmlbeans.XmlByte)get_store().find_attribute_user(ID$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlByte)get_store().add_attribute_user(ID$2);
}
target.set(id);
}
}
/**
* Unsets the "id" attribute
*/
public void unsetId()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(ID$2);
}
}
}
--- NEW FILE: ThenTypeImpl.java ---
/*
* XML Type: thenType
* Namespace: http://www.w3.org/unicorn/tasklist
* Java type: org.w3.unicorn.tasklist.ThenType
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.tasklist.impl;
/**
* An XML thenType(@http://www.w3.org/unicorn/tasklist).
*
* This is a complex type.
*/
public class ThenTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.tasklist.ThenType
{
public ThenTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName IF$0 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/tasklist", "if");
private static final javax.xml.namespace.QName EXEC$2 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/tasklist", "exec");
/**
* Gets array of all "if" elements
*/
public org.w3.unicorn.tasklist.IfType[] getIfArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(IF$0, targetList);
org.w3.unicorn.tasklist.IfType[] result = new org.w3.unicorn.tasklist.IfType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "if" element
*/
public org.w3.unicorn.tasklist.IfType getIfArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.IfType target = null;
target = (org.w3.unicorn.tasklist.IfType)get_store().find_element_user(IF$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "if" element
*/
public int sizeOfIfArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(IF$0);
}
}
/**
* Sets array of all "if" element
*/
public void setIfArray(org.w3.unicorn.tasklist.IfType[] xifArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(xifArray, IF$0);
}
}
/**
* Sets ith "if" element
*/
public void setIfArray(int i, org.w3.unicorn.tasklist.IfType xif)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.IfType target = null;
target = (org.w3.unicorn.tasklist.IfType)get_store().find_element_user(IF$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(xif);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "if" element
*/
public org.w3.unicorn.tasklist.IfType insertNewIf(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.IfType target = null;
target = (org.w3.unicorn.tasklist.IfType)get_store().insert_element_user(IF$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "if" element
*/
public org.w3.unicorn.tasklist.IfType addNewIf()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.IfType target = null;
target = (org.w3.unicorn.tasklist.IfType)get_store().add_element_user(IF$0);
return target;
}
}
/**
* Removes the ith "if" element
*/
public void removeIf(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(IF$0, i);
}
}
/**
* Gets array of all "exec" elements
*/
public org.w3.unicorn.tasklist.ExecType[] getExecArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(EXEC$2, targetList);
org.w3.unicorn.tasklist.ExecType[] result = new org.w3.unicorn.tasklist.ExecType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "exec" element
*/
public org.w3.unicorn.tasklist.ExecType getExecArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ExecType target = null;
target = (org.w3.unicorn.tasklist.ExecType)get_store().find_element_user(EXEC$2, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "exec" element
*/
public int sizeOfExecArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(EXEC$2);
}
}
/**
* Sets array of all "exec" element
*/
public void setExecArray(org.w3.unicorn.tasklist.ExecType[] execArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(execArray, EXEC$2);
}
}
/**
* Sets ith "exec" element
*/
public void setExecArray(int i, org.w3.unicorn.tasklist.ExecType exec)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ExecType target = null;
target = (org.w3.unicorn.tasklist.ExecType)get_store().find_element_user(EXEC$2, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(exec);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "exec" element
*/
public org.w3.unicorn.tasklist.ExecType insertNewExec(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ExecType target = null;
target = (org.w3.unicorn.tasklist.ExecType)get_store().insert_element_user(EXEC$2, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "exec" element
*/
public org.w3.unicorn.tasklist.ExecType addNewExec()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ExecType target = null;
target = (org.w3.unicorn.tasklist.ExecType)get_store().add_element_user(EXEC$2);
return target;
}
}
/**
* Removes the ith "exec" element
*/
public void removeExec(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(EXEC$2, i);
}
}
}
--- NEW FILE: TInputMethodImpl.java ---
/*
* XML Type: tInputMethod
* Namespace: http://www.w3.org/unicorn/tasklist
* Java type: org.w3.unicorn.tasklist.TInputMethod
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.tasklist.impl;
/**
* An XML tInputMethod(@http://www.w3.org/unicorn/tasklist).
*
* This is an atomic type that is a restriction of org.w3.unicorn.tasklist.TInputMethod.
*/
public class TInputMethodImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements org.w3.unicorn.tasklist.TInputMethod
{
public TInputMethodImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType, false);
}
protected TInputMethodImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
{
super(sType, b);
}
}
--- NEW FILE: ExecTypeImpl.java ---
/*
* XML Type: execType
* Namespace: http://www.w3.org/unicorn/tasklist
* Java type: org.w3.unicorn.tasklist.ExecType
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.tasklist.impl;
/**
* An XML execType(@http://www.w3.org/unicorn/tasklist).
*
* This is a complex type.
*/
public class ExecTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.tasklist.ExecType
{
public ExecTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName PARAM$0 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/tasklist", "param");
private static final javax.xml.namespace.QName ID$2 =
new javax.xml.namespace.QName("", "id");
private static final javax.xml.namespace.QName VALUE$4 =
new javax.xml.namespace.QName("", "value");
private static final javax.xml.namespace.QName TYPE$6 =
new javax.xml.namespace.QName("", "type");
/**
* Gets the "param" element
*/
public org.w3.unicorn.tasklist.ParamType getParam()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ParamType target = null;
target = (org.w3.unicorn.tasklist.ParamType)get_store().find_element_user(PARAM$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "param" element
*/
public boolean isSetParam()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(PARAM$0) != 0;
}
}
/**
* Sets the "param" element
*/
public void setParam(org.w3.unicorn.tasklist.ParamType param)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ParamType target = null;
target = (org.w3.unicorn.tasklist.ParamType)get_store().find_element_user(PARAM$0, 0);
if (target == null)
{
target = (org.w3.unicorn.tasklist.ParamType)get_store().add_element_user(PARAM$0);
}
target.set(param);
}
}
/**
* Appends and returns a new empty "param" element
*/
public org.w3.unicorn.tasklist.ParamType addNewParam()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ParamType target = null;
target = (org.w3.unicorn.tasklist.ParamType)get_store().add_element_user(PARAM$0);
return target;
}
}
/**
* Unsets the "param" element
*/
public void unsetParam()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(PARAM$0, 0);
}
}
/**
* Gets the "id" attribute
*/
public java.lang.String getId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$2);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "id" attribute
*/
public org.apache.xmlbeans.XmlString xgetId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(ID$2);
return target;
}
}
/**
* True if has "id" attribute
*/
public boolean isSetId()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(ID$2) != null;
}
}
/**
* Sets the "id" attribute
*/
public void setId(java.lang.String id)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ID$2);
}
target.setStringValue(id);
}
}
/**
* Sets (as xml) the "id" attribute
*/
public void xsetId(org.apache.xmlbeans.XmlString id)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(ID$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(ID$2);
}
target.set(id);
}
}
/**
* Unsets the "id" attribute
*/
public void unsetId()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(ID$2);
}
}
/**
* 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$4);
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$4);
return target;
}
}
/**
* True if has "value" attribute
*/
public boolean isSetValue()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(VALUE$4) != null;
}
}
/**
* 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$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(VALUE$4);
}
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$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(VALUE$4);
}
target.set(value);
}
}
/**
* Unsets the "value" attribute
*/
public void unsetValue()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(VALUE$4);
}
}
/**
* Gets the "type" attribute
*/
public java.lang.String getType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$6);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "type" attribute
*/
public org.apache.xmlbeans.XmlString xgetType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(TYPE$6);
return target;
}
}
/**
* True if has "type" attribute
*/
public boolean isSetType()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(TYPE$6) != null;
}
}
/**
* Sets the "type" attribute
*/
public void setType(java.lang.String type)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$6);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TYPE$6);
}
target.setStringValue(type);
}
}
/**
* Sets (as xml) the "type" attribute
*/
public void xsetType(org.apache.xmlbeans.XmlString type)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(TYPE$6);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(TYPE$6);
}
target.set(type);
}
}
/**
* Unsets the "type" attribute
*/
public void unsetType()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(TYPE$6);
}
}
}
--- NEW FILE: OutputseqTypeImpl.java ---
/*
* XML Type: outputseqType
* Namespace: http://www.w3.org/unicorn/tasklist
* Java type: org.w3.unicorn.tasklist.OutputseqType
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.tasklist.impl;
/**
* An XML outputseqType(@http://www.w3.org/unicorn/tasklist).
*
* This is a complex type.
*/
public class OutputseqTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.tasklist.OutputseqType
{
public OutputseqTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName OUTPUTGROUP$0 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/tasklist", "outputgroup");
/**
* Gets array of all "outputgroup" elements
*/
public org.w3.unicorn.tasklist.OutputgroupType[] getOutputgroupArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(OUTPUTGROUP$0, targetList);
org.w3.unicorn.tasklist.OutputgroupType[] result = new org.w3.unicorn.tasklist.OutputgroupType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "outputgroup" element
*/
public org.w3.unicorn.tasklist.OutputgroupType getOutputgroupArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.OutputgroupType target = null;
target = (org.w3.unicorn.tasklist.OutputgroupType)get_store().find_element_user(OUTPUTGROUP$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "outputgroup" element
*/
public int sizeOfOutputgroupArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(OUTPUTGROUP$0);
}
}
/**
* Sets array of all "outputgroup" element
*/
public void setOutputgroupArray(org.w3.unicorn.tasklist.OutputgroupType[] outputgroupArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(outputgroupArray, OUTPUTGROUP$0);
}
}
/**
* Sets ith "outputgroup" element
*/
public void setOutputgroupArray(int i, org.w3.unicorn.tasklist.OutputgroupType outputgroup)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.OutputgroupType target = null;
target = (org.w3.unicorn.tasklist.OutputgroupType)get_store().find_element_user(OUTPUTGROUP$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(outputgroup);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "outputgroup" element
*/
public org.w3.unicorn.tasklist.OutputgroupType insertNewOutputgroup(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.OutputgroupType target = null;
target = (org.w3.unicorn.tasklist.OutputgroupType)get_store().insert_element_user(OUTPUTGROUP$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "outputgroup" element
*/
public org.w3.unicorn.tasklist.OutputgroupType addNewOutputgroup()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.OutputgroupType target = null;
target = (org.w3.unicorn.tasklist.OutputgroupType)get_store().add_element_user(OUTPUTGROUP$0);
return target;
}
}
/**
* Removes the ith "outputgroup" element
*/
public void removeOutputgroup(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(OUTPUTGROUP$0, i);
}
}
}
--- NEW FILE: ParamTypeImpl.java ---
/*
* XML Type: paramType
* Namespace: http://www.w3.org/unicorn/tasklist
* Java type: org.w3.unicorn.tasklist.ParamType
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.tasklist.impl;
/**
* An XML paramType(@http://www.w3.org/unicorn/tasklist).
*
* This is an atomic type that is a restriction of org.w3.unicorn.tasklist.ParamType.
*/
public class ParamTypeImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements org.w3.unicorn.tasklist.ParamType
{
public ParamTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType, true);
}
protected ParamTypeImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
{
super(sType, b);
}
private static final javax.xml.namespace.QName NAME$0 =
new javax.xml.namespace.QName("", "name");
private static final javax.xml.namespace.QName OBSERVER$2 =
new javax.xml.namespace.QName("", "observer");
private static final javax.xml.namespace.QName VALUE$4 =
new javax.xml.namespace.QName("", "value");
/**
* Gets the "name" attribute
*/
public java.lang.String getName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "name" attribute
*/
public org.apache.xmlbeans.XmlNCName xgetName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(NAME$0);
return target;
}
}
/**
* True if has "name" attribute
*/
public boolean isSetName()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(NAME$0) != null;
}
}
/**
* Sets the "name" attribute
*/
public void setName(java.lang.String name)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAME$0);
}
target.setStringValue(name);
}
}
/**
* Sets (as xml) the "name" attribute
*/
public void xsetName(org.apache.xmlbeans.XmlNCName name)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(NAME$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(NAME$0);
}
target.set(name);
}
}
/**
* Unsets the "name" attribute
*/
public void unsetName()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(NAME$0);
}
}
/**
* Gets the "observer" attribute
*/
public java.lang.String getObserver()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OBSERVER$2);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "observer" attribute
*/
public org.apache.xmlbeans.XmlNCName xgetObserver()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(OBSERVER$2);
return target;
}
}
/**
* True if has "observer" attribute
*/
public boolean isSetObserver()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(OBSERVER$2) != null;
}
}
/**
* Sets the "observer" attribute
*/
public void setObserver(java.lang.String observer)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OBSERVER$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(OBSERVER$2);
}
target.setStringValue(observer);
}
}
/**
* Sets (as xml) the "observer" attribute
*/
public void xsetObserver(org.apache.xmlbeans.XmlNCName observer)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(OBSERVER$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(OBSERVER$2);
}
target.set(observer);
}
}
/**
* Unsets the "observer" attribute
*/
public void unsetObserver()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(OBSERVER$2);
}
}
/**
* 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$4);
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$4);
return target;
}
}
/**
* True if has "value" attribute
*/
public boolean isSetValue()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(VALUE$4) != null;
}
}
/**
* 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$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(VALUE$4);
}
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$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(VALUE$4);
}
target.set(value);
}
}
/**
* Unsets the "value" attribute
*/
public void unsetValue()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(VALUE$4);
}
}
}
--- NEW FILE: TUiImpl.java ---
/*
* XML Type: tUi
* Namespace: http://www.w3.org/unicorn/tasklist
* Java type: org.w3.unicorn.tasklist.TUi
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.tasklist.impl;
/**
* An XML tUi(@http://www.w3.org/unicorn/tasklist).
*
* This is an atomic type that is a restriction of org.w3.unicorn.tasklist.TUi.
*/
public class TUiImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements org.w3.unicorn.tasklist.TUi
{
public TUiImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType, false);
}
protected TUiImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
{
super(sType, b);
}
}
--- NEW FILE: TasklistTypeImpl.java ---
/*
* XML Type: tasklistType
* Namespace: http://www.w3.org/unicorn/tasklist
* Java type: org.w3.unicorn.tasklist.TasklistType
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.tasklist.impl;
/**
* An XML tasklistType(@http://www.w3.org/unicorn/tasklist).
*
* This is a complex type.
*/
public class TasklistTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.tasklist.TasklistType
{
public TasklistTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName TASK$0 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/tasklist", "task");
/**
* Gets array of all "task" elements
*/
public org.w3.unicorn.tasklist.TaskType[] getTaskArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(TASK$0, targetList);
org.w3.unicorn.tasklist.TaskType[] result = new org.w3.unicorn.tasklist.TaskType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "task" element
*/
public org.w3.unicorn.tasklist.TaskType getTaskArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.TaskType target = null;
target = (org.w3.unicorn.tasklist.TaskType)get_store().find_element_user(TASK$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "task" element
*/
public int sizeOfTaskArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(TASK$0);
}
}
/**
* Sets array of all "task" element
*/
public void setTaskArray(org.w3.unicorn.tasklist.TaskType[] taskArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(taskArray, TASK$0);
}
}
/**
* Sets ith "task" element
*/
public void setTaskArray(int i, org.w3.unicorn.tasklist.TaskType task)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.TaskType target = null;
target = (org.w3.unicorn.tasklist.TaskType)get_store().find_element_user(TASK$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(task);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "task" element
*/
public org.w3.unicorn.tasklist.TaskType insertNewTask(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.TaskType target = null;
target = (org.w3.unicorn.tasklist.TaskType)get_store().insert_element_user(TASK$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "task" element
*/
public org.w3.unicorn.tasklist.TaskType addNewTask()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.TaskType target = null;
target = (org.w3.unicorn.tasklist.TaskType)get_store().add_element_user(TASK$0);
return target;
}
}
/**
* Removes the ith "task" element
*/
public void removeTask(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(TASK$0, i);
}
}
}
--- NEW FILE: ParameterTypeImpl.java ---
/*
* XML Type: parameterType
* Namespace: http://www.w3.org/unicorn/tasklist
* Java type: org.w3.unicorn.tasklist.ParameterType
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.tasklist.impl;
/**
* An XML parameterType(@http://www.w3.org/unicorn/tasklist).
*
* This is a complex type.
*/
public class ParameterTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.tasklist.ParameterType
{
public ParameterTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName VALUE$0 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/tasklist", "value");
private static final javax.xml.namespace.QName NAME$2 =
new javax.xml.namespace.QName("", "name");
private static final javax.xml.namespace.QName TYPE$4 =
new javax.xml.namespace.QName("", "type");
private static final javax.xml.namespace.QName DEFAULT$6 =
new javax.xml.namespace.QName("", "default");
private static final javax.xml.namespace.QName UI$8 =
new javax.xml.namespace.QName("", "ui");
private static final javax.xml.namespace.QName OBSERVER$10 =
new javax.xml.namespace.QName("", "observer");
/**
* Gets array of all "value" elements
*/
public org.w3.unicorn.tasklist.ValueType[] getValueArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(VALUE$0, targetList);
org.w3.unicorn.tasklist.ValueType[] result = new org.w3.unicorn.tasklist.ValueType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "value" element
*/
public org.w3.unicorn.tasklist.ValueType getValueArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ValueType target = null;
target = (org.w3.unicorn.tasklist.ValueType)get_store().find_element_user(VALUE$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "value" element
*/
public int sizeOfValueArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(VALUE$0);
}
}
/**
* Sets array of all "value" element
*/
public void setValueArray(org.w3.unicorn.tasklist.ValueType[] valueArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(valueArray, VALUE$0);
}
}
/**
* Sets ith "value" element
*/
public void setValueArray(int i, org.w3.unicorn.tasklist.ValueType value)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ValueType target = null;
target = (org.w3.unicorn.tasklist.ValueType)get_store().find_element_user(VALUE$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(value);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "value" element
*/
public org.w3.unicorn.tasklist.ValueType insertNewValue(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ValueType target = null;
target = (org.w3.unicorn.tasklist.ValueType)get_store().insert_element_user(VALUE$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "value" element
*/
public org.w3.unicorn.tasklist.ValueType addNewValue()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ValueType target = null;
target = (org.w3.unicorn.tasklist.ValueType)get_store().add_element_user(VALUE$0);
return target;
}
}
/**
* Removes the ith "value" element
*/
public void removeValue(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(VALUE$0, i);
}
}
/**
* Gets the "name" attribute
*/
public java.lang.String getName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$2);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "name" attribute
*/
public org.apache.xmlbeans.XmlNCName xgetName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(NAME$2);
return target;
}
}
/**
* Sets the "name" attribute
*/
public void setName(java.lang.String name)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAME$2);
}
target.setStringValue(name);
}
}
/**
* Sets (as xml) the "name" attribute
*/
public void xsetName(org.apache.xmlbeans.XmlNCName name)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(NAME$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(NAME$2);
}
target.set(name);
}
}
/**
* Gets the "type" attribute
*/
public org.w3.unicorn.tasklist.TParamType.Enum getType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$4);
if (target == null)
{
return null;
}
return (org.w3.unicorn.tasklist.TParamType.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "type" attribute
*/
public org.w3.unicorn.tasklist.TParamType xgetType()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.TParamType target = null;
target = (org.w3.unicorn.tasklist.TParamType)get_store().find_attribute_user(TYPE$4);
return target;
}
}
/**
* Sets the "type" attribute
*/
public void setType(org.w3.unicorn.tasklist.TParamType.Enum type)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TYPE$4);
}
target.setEnumValue(type);
}
}
/**
* Sets (as xml) the "type" attribute
*/
public void xsetType(org.w3.unicorn.tasklist.TParamType type)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.TParamType target = null;
target = (org.w3.unicorn.tasklist.TParamType)get_store().find_attribute_user(TYPE$4);
if (target == null)
{
target = (org.w3.unicorn.tasklist.TParamType)get_store().add_attribute_user(TYPE$4);
}
target.set(type);
}
}
/**
* Gets the "default" attribute
*/
public java.lang.String getDefault()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DEFAULT$6);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "default" attribute
*/
public org.apache.xmlbeans.XmlString xgetDefault()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(DEFAULT$6);
return target;
}
}
/**
* True if has "default" attribute
*/
public boolean isSetDefault()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(DEFAULT$6) != null;
}
}
/**
* Sets the "default" attribute
*/
public void setDefault(java.lang.String xdefault)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DEFAULT$6);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DEFAULT$6);
}
target.setStringValue(xdefault);
}
}
/**
* Sets (as xml) the "default" attribute
*/
public void xsetDefault(org.apache.xmlbeans.XmlString xdefault)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(DEFAULT$6);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(DEFAULT$6);
}
target.set(xdefault);
}
}
/**
* Unsets the "default" attribute
*/
public void unsetDefault()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(DEFAULT$6);
}
}
/**
* Gets the "ui" attribute
*/
public org.w3.unicorn.tasklist.TUi.Enum getUi()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(UI$8);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(UI$8);
}
if (target == null)
{
return null;
}
return (org.w3.unicorn.tasklist.TUi.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "ui" attribute
*/
public org.w3.unicorn.tasklist.TUi xgetUi()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.TUi target = null;
target = (org.w3.unicorn.tasklist.TUi)get_store().find_attribute_user(UI$8);
if (target == null)
{
target = (org.w3.unicorn.tasklist.TUi)get_default_attribute_value(UI$8);
}
return target;
}
}
/**
* True if has "ui" attribute
*/
public boolean isSetUi()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(UI$8) != null;
}
}
/**
* Sets the "ui" attribute
*/
public void setUi(org.w3.unicorn.tasklist.TUi.Enum ui)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(UI$8);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(UI$8);
}
target.setEnumValue(ui);
}
}
/**
* Sets (as xml) the "ui" attribute
*/
public void xsetUi(org.w3.unicorn.tasklist.TUi ui)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.TUi target = null;
target = (org.w3.unicorn.tasklist.TUi)get_store().find_attribute_user(UI$8);
if (target == null)
{
target = (org.w3.unicorn.tasklist.TUi)get_store().add_attribute_user(UI$8);
}
target.set(ui);
}
}
/**
* Unsets the "ui" attribute
*/
public void unsetUi()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(UI$8);
}
}
/**
* Gets the "observer" attribute
*/
public java.lang.String getObserver()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OBSERVER$10);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "observer" attribute
*/
public org.apache.xmlbeans.XmlNCName xgetObserver()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(OBSERVER$10);
return target;
}
}
/**
* True if has "observer" attribute
*/
public boolean isSetObserver()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(OBSERVER$10) != null;
}
}
/**
* Sets the "observer" attribute
*/
public void setObserver(java.lang.String observer)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OBSERVER$10);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(OBSERVER$10);
}
target.setStringValue(observer);
}
}
/**
* Sets (as xml) the "observer" attribute
*/
public void xsetObserver(org.apache.xmlbeans.XmlNCName observer)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(OBSERVER$10);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(OBSERVER$10);
}
target.set(observer);
}
}
/**
* Unsets the "observer" attribute
*/
public void unsetObserver()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(OBSERVER$10);
}
}
}
--- NEW FILE: TParamTypeImpl.java ---
/*
* XML Type: tParamType
* Namespace: http://www.w3.org/unicorn/tasklist
* Java type: org.w3.unicorn.tasklist.TParamType
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.tasklist.impl;
/**
* An XML tParamType(@http://www.w3.org/unicorn/tasklist).
*
* This is an atomic type that is a restriction of org.w3.unicorn.tasklist.TParamType.
*/
public class TParamTypeImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements org.w3.unicorn.tasklist.TParamType
{
public TParamTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType, false);
}
protected TParamTypeImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
{
super(sType, b);
}
}
--- NEW FILE: IfTypeImpl.java ---
/*
* XML Type: ifType
* Namespace: http://www.w3.org/unicorn/tasklist
* Java type: org.w3.unicorn.tasklist.IfType
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.tasklist.impl;
/**
* An XML ifType(@http://www.w3.org/unicorn/tasklist).
*
* This is a complex type.
*/
public class IfTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.tasklist.IfType
{
public IfTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName THEN$0 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/tasklist", "then");
private static final javax.xml.namespace.QName ELSE$2 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/tasklist", "else");
private static final javax.xml.namespace.QName TEST$4 =
new javax.xml.namespace.QName("", "test");
/**
* Gets the "then" element
*/
public org.w3.unicorn.tasklist.ThenType getThen()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ThenType target = null;
target = (org.w3.unicorn.tasklist.ThenType)get_store().find_element_user(THEN$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "then" element
*/
public void setThen(org.w3.unicorn.tasklist.ThenType then)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ThenType target = null;
target = (org.w3.unicorn.tasklist.ThenType)get_store().find_element_user(THEN$0, 0);
if (target == null)
{
target = (org.w3.unicorn.tasklist.ThenType)get_store().add_element_user(THEN$0);
}
target.set(then);
}
}
/**
* Appends and returns a new empty "then" element
*/
public org.w3.unicorn.tasklist.ThenType addNewThen()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ThenType target = null;
target = (org.w3.unicorn.tasklist.ThenType)get_store().add_element_user(THEN$0);
return target;
}
}
/**
* Gets the "else" element
*/
public org.w3.unicorn.tasklist.ElseType getElse()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ElseType target = null;
target = (org.w3.unicorn.tasklist.ElseType)get_store().find_element_user(ELSE$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "else" element
*/
public void setElse(org.w3.unicorn.tasklist.ElseType xelse)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ElseType target = null;
target = (org.w3.unicorn.tasklist.ElseType)get_store().find_element_user(ELSE$2, 0);
if (target == null)
{
target = (org.w3.unicorn.tasklist.ElseType)get_store().add_element_user(ELSE$2);
}
target.set(xelse);
}
}
/**
* Appends and returns a new empty "else" element
*/
public org.w3.unicorn.tasklist.ElseType addNewElse()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ElseType target = null;
target = (org.w3.unicorn.tasklist.ElseType)get_store().add_element_user(ELSE$2);
return target;
}
}
/**
* Gets the "test" attribute
*/
public java.lang.String getTest()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TEST$4);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "test" attribute
*/
public org.apache.xmlbeans.XmlString xgetTest()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(TEST$4);
return target;
}
}
/**
* True if has "test" attribute
*/
public boolean isSetTest()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(TEST$4) != null;
}
}
/**
* Sets the "test" attribute
*/
public void setTest(java.lang.String test)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TEST$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TEST$4);
}
target.setStringValue(test);
}
}
/**
* Sets (as xml) the "test" attribute
*/
public void xsetTest(org.apache.xmlbeans.XmlString test)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(TEST$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(TEST$4);
}
target.set(test);
}
}
/**
* Unsets the "test" attribute
*/
public void unsetTest()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(TEST$4);
}
}
}
--- NEW FILE: ElseTypeImpl.java ---
/*
* XML Type: elseType
* Namespace: http://www.w3.org/unicorn/tasklist
* Java type: org.w3.unicorn.tasklist.ElseType
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.tasklist.impl;
/**
* An XML elseType(@http://www.w3.org/unicorn/tasklist).
*
* This is a complex type.
*/
public class ElseTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.tasklist.ElseType
{
public ElseTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName IF$0 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/tasklist", "if");
private static final javax.xml.namespace.QName EXEC$2 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/tasklist", "exec");
/**
* Gets array of all "if" elements
*/
public org.w3.unicorn.tasklist.IfType[] getIfArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(IF$0, targetList);
org.w3.unicorn.tasklist.IfType[] result = new org.w3.unicorn.tasklist.IfType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "if" element
*/
public org.w3.unicorn.tasklist.IfType getIfArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.IfType target = null;
target = (org.w3.unicorn.tasklist.IfType)get_store().find_element_user(IF$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "if" element
*/
public int sizeOfIfArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(IF$0);
}
}
/**
* Sets array of all "if" element
*/
public void setIfArray(org.w3.unicorn.tasklist.IfType[] xifArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(xifArray, IF$0);
}
}
/**
* Sets ith "if" element
*/
public void setIfArray(int i, org.w3.unicorn.tasklist.IfType xif)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.IfType target = null;
target = (org.w3.unicorn.tasklist.IfType)get_store().find_element_user(IF$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(xif);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "if" element
*/
public org.w3.unicorn.tasklist.IfType insertNewIf(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.IfType target = null;
target = (org.w3.unicorn.tasklist.IfType)get_store().insert_element_user(IF$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "if" element
*/
public org.w3.unicorn.tasklist.IfType addNewIf()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.IfType target = null;
target = (org.w3.unicorn.tasklist.IfType)get_store().add_element_user(IF$0);
return target;
}
}
/**
* Removes the ith "if" element
*/
public void removeIf(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(IF$0, i);
}
}
/**
* Gets array of all "exec" elements
*/
public org.w3.unicorn.tasklist.ExecType[] getExecArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(EXEC$2, targetList);
org.w3.unicorn.tasklist.ExecType[] result = new org.w3.unicorn.tasklist.ExecType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "exec" element
*/
public org.w3.unicorn.tasklist.ExecType getExecArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ExecType target = null;
target = (org.w3.unicorn.tasklist.ExecType)get_store().find_element_user(EXEC$2, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "exec" element
*/
public int sizeOfExecArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(EXEC$2);
}
}
/**
* Sets array of all "exec" element
*/
public void setExecArray(org.w3.unicorn.tasklist.ExecType[] execArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(execArray, EXEC$2);
}
}
/**
* Sets ith "exec" element
*/
public void setExecArray(int i, org.w3.unicorn.tasklist.ExecType exec)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ExecType target = null;
target = (org.w3.unicorn.tasklist.ExecType)get_store().find_element_user(EXEC$2, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(exec);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "exec" element
*/
public org.w3.unicorn.tasklist.ExecType insertNewExec(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ExecType target = null;
target = (org.w3.unicorn.tasklist.ExecType)get_store().insert_element_user(EXEC$2, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "exec" element
*/
public org.w3.unicorn.tasklist.ExecType addNewExec()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ExecType target = null;
target = (org.w3.unicorn.tasklist.ExecType)get_store().add_element_user(EXEC$2);
return target;
}
}
/**
* Removes the ith "exec" element
*/
public void removeExec(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(EXEC$2, i);
}
}
}
--- NEW FILE: MappedTypeImpl.java ---
/*
* XML Type: mappedType
* Namespace: http://www.w3.org/unicorn/tasklist
* Java type: org.w3.unicorn.tasklist.MappedType
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.tasklist.impl;
/**
* An XML mappedType(@http://www.w3.org/unicorn/tasklist).
*
* This is an atomic type that is a restriction of org.w3.unicorn.tasklist.MappedType.
*/
public class MappedTypeImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements org.w3.unicorn.tasklist.MappedType
{
public MappedTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType, true);
}
protected MappedTypeImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
{
super(sType, b);
}
private static final javax.xml.namespace.QName PARAM$0 =
new javax.xml.namespace.QName("", "param");
private static final javax.xml.namespace.QName OBSERVER$2 =
new javax.xml.namespace.QName("", "observer");
private static final javax.xml.namespace.QName VALUE$4 =
new javax.xml.namespace.QName("", "value");
private static final javax.xml.namespace.QName INPUTMETHOD$6 =
new javax.xml.namespace.QName("", "inputmethod");
/**
* Gets the "param" attribute
*/
public java.lang.String getParam()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PARAM$0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "param" attribute
*/
public org.apache.xmlbeans.XmlNCName xgetParam()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(PARAM$0);
return target;
}
}
/**
* Sets the "param" attribute
*/
public void setParam(java.lang.String param)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PARAM$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PARAM$0);
}
target.setStringValue(param);
}
}
/**
* Sets (as xml) the "param" attribute
*/
public void xsetParam(org.apache.xmlbeans.XmlNCName param)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(PARAM$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(PARAM$0);
}
target.set(param);
}
}
/**
* Gets the "observer" attribute
*/
public java.lang.String getObserver()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OBSERVER$2);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "observer" attribute
*/
public org.apache.xmlbeans.XmlNCName xgetObserver()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(OBSERVER$2);
return target;
}
}
/**
* Sets the "observer" attribute
*/
public void setObserver(java.lang.String observer)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OBSERVER$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(OBSERVER$2);
}
target.setStringValue(observer);
}
}
/**
* Sets (as xml) the "observer" attribute
*/
public void xsetObserver(org.apache.xmlbeans.XmlNCName observer)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(OBSERVER$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(OBSERVER$2);
}
target.set(observer);
}
}
/**
* 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$4);
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$4);
return target;
}
}
/**
* True if has "value" attribute
*/
public boolean isSetValue()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(VALUE$4) != null;
}
}
/**
* 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$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(VALUE$4);
}
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$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(VALUE$4);
}
target.set(value);
}
}
/**
* Unsets the "value" attribute
*/
public void unsetValue()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(VALUE$4);
}
}
/**
* Gets the "inputmethod" attribute
*/
public java.util.List getInputmethod()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(INPUTMETHOD$6);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(INPUTMETHOD$6);
}
if (target == null)
{
return null;
}
return target.getListValue();
}
}
/**
* Gets (as xml) the "inputmethod" attribute
*/
public org.w3.unicorn.tasklist.MappedType.Inputmethod xgetInputmethod()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.MappedType.Inputmethod target = null;
target = (org.w3.unicorn.tasklist.MappedType.Inputmethod)get_store().find_attribute_user(INPUTMETHOD$6);
if (target == null)
{
target = (org.w3.unicorn.tasklist.MappedType.Inputmethod)get_default_attribute_value(INPUTMETHOD$6);
}
return target;
}
}
/**
* True if has "inputmethod" attribute
*/
public boolean isSetInputmethod()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(INPUTMETHOD$6) != null;
}
}
/**
* Sets the "inputmethod" attribute
*/
public void setInputmethod(java.util.List inputmethod)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(INPUTMETHOD$6);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(INPUTMETHOD$6);
}
target.setListValue(inputmethod);
}
}
/**
* Sets (as xml) the "inputmethod" attribute
*/
public void xsetInputmethod(org.w3.unicorn.tasklist.MappedType.Inputmethod inputmethod)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.MappedType.Inputmethod target = null;
target = (org.w3.unicorn.tasklist.MappedType.Inputmethod)get_store().find_attribute_user(INPUTMETHOD$6);
if (target == null)
{
target = (org.w3.unicorn.tasklist.MappedType.Inputmethod)get_store().add_attribute_user(INPUTMETHOD$6);
}
target.set(inputmethod);
}
}
/**
* Unsets the "inputmethod" attribute
*/
public void unsetInputmethod()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(INPUTMETHOD$6);
}
}
/**
* An XML inputmethod(@).
*
* This is a list type whose items are org.w3.unicorn.tasklist.TInputMethod.
*/
public static class InputmethodImpl extends org.apache.xmlbeans.impl.values.XmlListImpl implements org.w3.unicorn.tasklist.MappedType.Inputmethod
{
public InputmethodImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType, false);
}
protected InputmethodImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
{
super(sType, b);
}
}
}
--- NEW FILE: ValueTypeImpl.java ---
/*
* XML Type: valueType
* Namespace: http://www.w3.org/unicorn/tasklist
* Java type: org.w3.unicorn.tasklist.ValueType
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.tasklist.impl;
/**
* An XML valueType(@http://www.w3.org/unicorn/tasklist).
*
* This is a complex type.
*/
public class ValueTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.tasklist.ValueType
{
public ValueTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName MAPPED$0 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/tasklist", "mapped");
private static final javax.xml.namespace.QName NAME$2 =
new javax.xml.namespace.QName("", "name");
/**
* Gets array of all "mapped" elements
*/
public org.w3.unicorn.tasklist.MappedType[] getMappedArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(MAPPED$0, targetList);
org.w3.unicorn.tasklist.MappedType[] result = new org.w3.unicorn.tasklist.MappedType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "mapped" element
*/
public org.w3.unicorn.tasklist.MappedType getMappedArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.MappedType target = null;
target = (org.w3.unicorn.tasklist.MappedType)get_store().find_element_user(MAPPED$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "mapped" element
*/
public int sizeOfMappedArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(MAPPED$0);
}
}
/**
* Sets array of all "mapped" element
*/
public void setMappedArray(org.w3.unicorn.tasklist.MappedType[] mappedArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(mappedArray, MAPPED$0);
}
}
/**
* Sets ith "mapped" element
*/
public void setMappedArray(int i, org.w3.unicorn.tasklist.MappedType mapped)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.MappedType target = null;
target = (org.w3.unicorn.tasklist.MappedType)get_store().find_element_user(MAPPED$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(mapped);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "mapped" element
*/
public org.w3.unicorn.tasklist.MappedType insertNewMapped(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.MappedType target = null;
target = (org.w3.unicorn.tasklist.MappedType)get_store().insert_element_user(MAPPED$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "mapped" element
*/
public org.w3.unicorn.tasklist.MappedType addNewMapped()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.MappedType target = null;
target = (org.w3.unicorn.tasklist.MappedType)get_store().add_element_user(MAPPED$0);
return target;
}
}
/**
* Removes the ith "mapped" element
*/
public void removeMapped(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(MAPPED$0, i);
}
}
/**
* Gets the "name" attribute
*/
public java.lang.String getName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$2);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "name" attribute
*/
public org.apache.xmlbeans.XmlString xgetName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(NAME$2);
return target;
}
}
/**
* True if has "name" attribute
*/
public boolean isSetName()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(NAME$2) != null;
}
}
/**
* Sets the "name" attribute
*/
public void setName(java.lang.String name)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAME$2);
}
target.setStringValue(name);
}
}
/**
* Sets (as xml) the "name" attribute
*/
public void xsetName(org.apache.xmlbeans.XmlString name)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(NAME$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(NAME$2);
}
target.set(name);
}
}
/**
* Unsets the "name" attribute
*/
public void unsetName()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(NAME$2);
}
}
}
--- NEW FILE: TaskTypeImpl.java ---
/*
* XML Type: taskType
* Namespace: http://www.w3.org/unicorn/tasklist
* Java type: org.w3.unicorn.tasklist.TaskType
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.tasklist.impl;
/**
* An XML taskType(@http://www.w3.org/unicorn/tasklist).
*
* This is a complex type.
*/
public class TaskTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.tasklist.TaskType
{
public TaskTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName CONDS$0 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/tasklist", "conds");
private static final javax.xml.namespace.QName ROUTINE$2 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/tasklist", "routine");
private static final javax.xml.namespace.QName OUTPUTSEQ$4 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/tasklist", "outputseq");
private static final javax.xml.namespace.QName PARAMETERS$6 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/tasklist", "parameters");
private static final javax.xml.namespace.QName ID$8 =
new javax.xml.namespace.QName("", "id");
/**
* Gets the "conds" element
*/
public org.w3.unicorn.tasklist.CondsType getConds()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.CondsType target = null;
target = (org.w3.unicorn.tasklist.CondsType)get_store().find_element_user(CONDS$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "conds" element
*/
public void setConds(org.w3.unicorn.tasklist.CondsType conds)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.CondsType target = null;
target = (org.w3.unicorn.tasklist.CondsType)get_store().find_element_user(CONDS$0, 0);
if (target == null)
{
target = (org.w3.unicorn.tasklist.CondsType)get_store().add_element_user(CONDS$0);
}
target.set(conds);
}
}
/**
* Appends and returns a new empty "conds" element
*/
public org.w3.unicorn.tasklist.CondsType addNewConds()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.CondsType target = null;
target = (org.w3.unicorn.tasklist.CondsType)get_store().add_element_user(CONDS$0);
return target;
}
}
/**
* Gets the "routine" element
*/
public org.w3.unicorn.tasklist.RoutineType getRoutine()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.RoutineType target = null;
target = (org.w3.unicorn.tasklist.RoutineType)get_store().find_element_user(ROUTINE$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "routine" element
*/
public void setRoutine(org.w3.unicorn.tasklist.RoutineType routine)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.RoutineType target = null;
target = (org.w3.unicorn.tasklist.RoutineType)get_store().find_element_user(ROUTINE$2, 0);
if (target == null)
{
target = (org.w3.unicorn.tasklist.RoutineType)get_store().add_element_user(ROUTINE$2);
}
target.set(routine);
}
}
/**
* Appends and returns a new empty "routine" element
*/
public org.w3.unicorn.tasklist.RoutineType addNewRoutine()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.RoutineType target = null;
target = (org.w3.unicorn.tasklist.RoutineType)get_store().add_element_user(ROUTINE$2);
return target;
}
}
/**
* Gets the "outputseq" element
*/
public org.w3.unicorn.tasklist.OutputseqType getOutputseq()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.OutputseqType target = null;
target = (org.w3.unicorn.tasklist.OutputseqType)get_store().find_element_user(OUTPUTSEQ$4, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "outputseq" element
*/
public void setOutputseq(org.w3.unicorn.tasklist.OutputseqType outputseq)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.OutputseqType target = null;
target = (org.w3.unicorn.tasklist.OutputseqType)get_store().find_element_user(OUTPUTSEQ$4, 0);
if (target == null)
{
target = (org.w3.unicorn.tasklist.OutputseqType)get_store().add_element_user(OUTPUTSEQ$4);
}
target.set(outputseq);
}
}
/**
* Appends and returns a new empty "outputseq" element
*/
public org.w3.unicorn.tasklist.OutputseqType addNewOutputseq()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.OutputseqType target = null;
target = (org.w3.unicorn.tasklist.OutputseqType)get_store().add_element_user(OUTPUTSEQ$4);
return target;
}
}
/**
* Gets the "parameters" element
*/
public org.w3.unicorn.tasklist.ParametersType getParameters()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ParametersType target = null;
target = (org.w3.unicorn.tasklist.ParametersType)get_store().find_element_user(PARAMETERS$6, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "parameters" element
*/
public void setParameters(org.w3.unicorn.tasklist.ParametersType parameters)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ParametersType target = null;
target = (org.w3.unicorn.tasklist.ParametersType)get_store().find_element_user(PARAMETERS$6, 0);
if (target == null)
{
target = (org.w3.unicorn.tasklist.ParametersType)get_store().add_element_user(PARAMETERS$6);
}
target.set(parameters);
}
}
/**
* Appends and returns a new empty "parameters" element
*/
public org.w3.unicorn.tasklist.ParametersType addNewParameters()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ParametersType target = null;
target = (org.w3.unicorn.tasklist.ParametersType)get_store().add_element_user(PARAMETERS$6);
return target;
}
}
/**
* Gets the "id" attribute
*/
public java.lang.String getId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$8);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "id" attribute
*/
public org.apache.xmlbeans.XmlString xgetId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(ID$8);
return target;
}
}
/**
* Sets the "id" attribute
*/
public void setId(java.lang.String id)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$8);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ID$8);
}
target.setStringValue(id);
}
}
/**
* Sets (as xml) the "id" attribute
*/
public void xsetId(org.apache.xmlbeans.XmlString id)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(ID$8);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(ID$8);
}
target.set(id);
}
}
}
--- NEW FILE: CondTypeImpl.java ---
/*
* XML Type: condType
* Namespace: http://www.w3.org/unicorn/tasklist
* Java type: org.w3.unicorn.tasklist.CondType
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.tasklist.impl;
/**
* An XML condType(@http://www.w3.org/unicorn/tasklist).
*
* This is a complex type.
*/
public class CondTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.tasklist.CondType
{
public CondTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName VALUE$0 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/tasklist", "value");
private static final javax.xml.namespace.QName ID$2 =
new javax.xml.namespace.QName("", "id");
private static final javax.xml.namespace.QName RESULT$4 =
new javax.xml.namespace.QName("", "result");
private static final javax.xml.namespace.QName OBSERVER$6 =
new javax.xml.namespace.QName("", "observer");
private static final javax.xml.namespace.QName TYPE$8 =
new javax.xml.namespace.QName("", "type");
/**
* Gets the "value" element
*/
public java.lang.String getValue()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VALUE$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "value" element
*/
public org.apache.xmlbeans.XmlString xgetValue()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(VALUE$0, 0);
return target;
}
}
/**
* Sets the "value" element
*/
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_element_user(VALUE$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(VALUE$0);
}
target.setStringValue(value);
}
}
/**
* Sets (as xml) the "value" element
*/
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_element_user(VALUE$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(VALUE$0);
}
target.set(value);
}
}
/**
* Gets the "id" attribute
*/
public java.lang.String getId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$2);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "id" attribute
*/
public org.apache.xmlbeans.XmlString xgetId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(ID$2);
return target;
}
}
/**
* True if has "id" attribute
*/
public boolean isSetId()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(ID$2) != null;
}
}
/**
* Sets the "id" attribute
*/
public void setId(java.lang.String id)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ID$2);
}
target.setStringValue(id);
}
}
/**
* Sets (as xml) the "id" attribute
*/
public void xsetId(org.apache.xmlbeans.XmlString id)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(ID$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(ID$2);
}
target.set(id);
}
}
/**
* Unsets the "id" attribute
*/
public void unsetId()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(ID$2);
}
}
/**
* Gets the "result" attribute
*/
public java.lang.String getResult()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RESULT$4);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "result" attribute
*/
public org.apache.xmlbeans.XmlString xgetResult()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(RESULT$4);
return target;
}
}
/**
* True if has "result" attribute
*/
public boolean isSetResult()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(RESULT$4) != null;
}
}
/**
* Sets the "result" attribute
*/
public void setResult(java.lang.String result)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RESULT$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(RESULT$4);
}
target.setStringValue(result);
}
}
/**
* Sets (as xml) the "result" attribute
*/
public void xsetResult(org.apache.xmlbeans.XmlString result)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(RESULT$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(RESULT$4);
}
target.set(result);
}
}
/**
* Unsets the "result" attribute
*/
public void unsetResult()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(RESULT$4);
}
}
/**
* Gets the "observer" attribute
*/
public java.lang.String getObserver()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OBSERVER$6);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "observer" attribute
*/
public org.apache.xmlbeans.XmlNCName xgetObserver()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(OBSERVER$6);
return target;
}
}
/**
* True if has "observer" attribute
*/
public boolean isSetObserver()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(OBSERVER$6) != null;
}
}
/**
* Sets the "observer" attribute
*/
public void setObserver(java.lang.String observer)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OBSERVER$6);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(OBSERVER$6);
}
target.setStringValue(observer);
}
}
/**
* Sets (as xml) the "observer" attribute
*/
public void xsetObserver(org.apache.xmlbeans.XmlNCName observer)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(OBSERVER$6);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(OBSERVER$6);
}
target.set(observer);
}
}
/**
* Unsets the "observer" attribute
*/
public void unsetObserver()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(OBSERVER$6);
}
}
/**
* Gets the "type" attribute
*/
public java.lang.String getType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$8);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "type" attribute
*/
public org.apache.xmlbeans.XmlString xgetType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(TYPE$8);
return target;
}
}
/**
* True if has "type" attribute
*/
public boolean isSetType()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(TYPE$8) != null;
}
}
/**
* Sets the "type" attribute
*/
public void setType(java.lang.String type)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$8);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TYPE$8);
}
target.setStringValue(type);
}
}
/**
* Sets (as xml) the "type" attribute
*/
public void xsetType(org.apache.xmlbeans.XmlString type)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(TYPE$8);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(TYPE$8);
}
target.set(type);
}
}
/**
* Unsets the "type" attribute
*/
public void unsetType()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(TYPE$8);
}
}
}
--- NEW FILE: ParametersTypeImpl.java ---
/*
* XML Type: parametersType
* Namespace: http://www.w3.org/unicorn/tasklist
* Java type: org.w3.unicorn.tasklist.ParametersType
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.tasklist.impl;
/**
* An XML parametersType(@http://www.w3.org/unicorn/tasklist).
*
* This is a complex type.
*/
public class ParametersTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.tasklist.ParametersType
{
public ParametersTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName PARAMETER$0 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/tasklist", "parameter");
/**
* Gets array of all "parameter" elements
*/
public org.w3.unicorn.tasklist.ParameterType[] getParameterArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(PARAMETER$0, targetList);
org.w3.unicorn.tasklist.ParameterType[] result = new org.w3.unicorn.tasklist.ParameterType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "parameter" element
*/
public org.w3.unicorn.tasklist.ParameterType getParameterArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ParameterType target = null;
target = (org.w3.unicorn.tasklist.ParameterType)get_store().find_element_user(PARAMETER$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "parameter" element
*/
public int sizeOfParameterArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(PARAMETER$0);
}
}
/**
* Sets array of all "parameter" element
*/
public void setParameterArray(org.w3.unicorn.tasklist.ParameterType[] parameterArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(parameterArray, PARAMETER$0);
}
}
/**
* Sets ith "parameter" element
*/
public void setParameterArray(int i, org.w3.unicorn.tasklist.ParameterType parameter)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ParameterType target = null;
target = (org.w3.unicorn.tasklist.ParameterType)get_store().find_element_user(PARAMETER$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(parameter);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "parameter" element
*/
public org.w3.unicorn.tasklist.ParameterType insertNewParameter(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ParameterType target = null;
target = (org.w3.unicorn.tasklist.ParameterType)get_store().insert_element_user(PARAMETER$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "parameter" element
*/
public org.w3.unicorn.tasklist.ParameterType addNewParameter()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ParameterType target = null;
target = (org.w3.unicorn.tasklist.ParameterType)get_store().add_element_user(PARAMETER$0);
return target;
}
}
/**
* Removes the ith "parameter" element
*/
public void removeParameter(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(PARAMETER$0, i);
}
}
}
--- NEW FILE: RoutineTypeImpl.java ---
/*
* XML Type: routineType
* Namespace: http://www.w3.org/unicorn/tasklist
* Java type: org.w3.unicorn.tasklist.RoutineType
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.tasklist.impl;
/**
* An XML routineType(@http://www.w3.org/unicorn/tasklist).
*
* This is a complex type.
*/
public class RoutineTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.tasklist.RoutineType
{
public RoutineTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName IF$0 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/tasklist", "if");
private static final javax.xml.namespace.QName EXEC$2 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/tasklist", "exec");
private static final javax.xml.namespace.QName REF$4 =
new javax.xml.namespace.QName("", "ref");
/**
* Gets array of all "if" elements
*/
public org.w3.unicorn.tasklist.IfType[] getIfArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(IF$0, targetList);
org.w3.unicorn.tasklist.IfType[] result = new org.w3.unicorn.tasklist.IfType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "if" element
*/
public org.w3.unicorn.tasklist.IfType getIfArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.IfType target = null;
target = (org.w3.unicorn.tasklist.IfType)get_store().find_element_user(IF$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "if" element
*/
public int sizeOfIfArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(IF$0);
}
}
/**
* Sets array of all "if" element
*/
public void setIfArray(org.w3.unicorn.tasklist.IfType[] xifArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(xifArray, IF$0);
}
}
/**
* Sets ith "if" element
*/
public void setIfArray(int i, org.w3.unicorn.tasklist.IfType xif)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.IfType target = null;
target = (org.w3.unicorn.tasklist.IfType)get_store().find_element_user(IF$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(xif);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "if" element
*/
public org.w3.unicorn.tasklist.IfType insertNewIf(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.IfType target = null;
target = (org.w3.unicorn.tasklist.IfType)get_store().insert_element_user(IF$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "if" element
*/
public org.w3.unicorn.tasklist.IfType addNewIf()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.IfType target = null;
target = (org.w3.unicorn.tasklist.IfType)get_store().add_element_user(IF$0);
return target;
}
}
/**
* Removes the ith "if" element
*/
public void removeIf(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(IF$0, i);
}
}
/**
* Gets array of all "exec" elements
*/
public org.w3.unicorn.tasklist.ExecType[] getExecArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(EXEC$2, targetList);
org.w3.unicorn.tasklist.ExecType[] result = new org.w3.unicorn.tasklist.ExecType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "exec" element
*/
public org.w3.unicorn.tasklist.ExecType getExecArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ExecType target = null;
target = (org.w3.unicorn.tasklist.ExecType)get_store().find_element_user(EXEC$2, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "exec" element
*/
public int sizeOfExecArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(EXEC$2);
}
}
/**
* Sets array of all "exec" element
*/
public void setExecArray(org.w3.unicorn.tasklist.ExecType[] execArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(execArray, EXEC$2);
}
}
/**
* Sets ith "exec" element
*/
public void setExecArray(int i, org.w3.unicorn.tasklist.ExecType exec)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ExecType target = null;
target = (org.w3.unicorn.tasklist.ExecType)get_store().find_element_user(EXEC$2, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(exec);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "exec" element
*/
public org.w3.unicorn.tasklist.ExecType insertNewExec(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ExecType target = null;
target = (org.w3.unicorn.tasklist.ExecType)get_store().insert_element_user(EXEC$2, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "exec" element
*/
public org.w3.unicorn.tasklist.ExecType addNewExec()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.ExecType target = null;
target = (org.w3.unicorn.tasklist.ExecType)get_store().add_element_user(EXEC$2);
return target;
}
}
/**
* Removes the ith "exec" element
*/
public void removeExec(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(EXEC$2, i);
}
}
/**
* Gets the "ref" attribute
*/
public java.lang.String getRef()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REF$4);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "ref" attribute
*/
public org.apache.xmlbeans.XmlString xgetRef()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(REF$4);
return target;
}
}
/**
* True if has "ref" attribute
*/
public boolean isSetRef()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(REF$4) != null;
}
}
/**
* Sets the "ref" attribute
*/
public void setRef(java.lang.String ref)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REF$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(REF$4);
}
target.setStringValue(ref);
}
}
/**
* Sets (as xml) the "ref" attribute
*/
public void xsetRef(org.apache.xmlbeans.XmlString ref)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(REF$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(REF$4);
}
target.set(ref);
}
}
/**
* Unsets the "ref" attribute
*/
public void unsetRef()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(REF$4);
}
}
}
--- NEW FILE: CondsTypeImpl.java ---
/*
* XML Type: condsType
* Namespace: http://www.w3.org/unicorn/tasklist
* Java type: org.w3.unicorn.tasklist.CondsType
*
* Automatically generated - do not modify.
*/
package org.w3.unicorn.tasklist.impl;
/**
* An XML condsType(@http://www.w3.org/unicorn/tasklist).
*
* This is a complex type.
*/
public class CondsTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.tasklist.CondsType
{
public CondsTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName COND$0 =
new javax.xml.namespace.QName("http://www.w3.org/unicorn/tasklist", "cond");
/**
* Gets array of all "cond" elements
*/
public org.w3.unicorn.tasklist.CondType[] getCondArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(COND$0, targetList);
org.w3.unicorn.tasklist.CondType[] result = new org.w3.unicorn.tasklist.CondType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "cond" element
*/
public org.w3.unicorn.tasklist.CondType getCondArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.CondType target = null;
target = (org.w3.unicorn.tasklist.CondType)get_store().find_element_user(COND$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "cond" element
*/
public int sizeOfCondArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(COND$0);
}
}
/**
* Sets array of all "cond" element
*/
public void setCondArray(org.w3.unicorn.tasklist.CondType[] condArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(condArray, COND$0);
}
}
/**
* Sets ith "cond" element
*/
public void setCondArray(int i, org.w3.unicorn.tasklist.CondType cond)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.CondType target = null;
target = (org.w3.unicorn.tasklist.CondType)get_store().find_element_user(COND$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(cond);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "cond" element
*/
public org.w3.unicorn.tasklist.CondType insertNewCond(int i)
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.CondType target = null;
target = (org.w3.unicorn.tasklist.CondType)get_store().insert_element_user(COND$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "cond" element
*/
public org.w3.unicorn.tasklist.CondType addNewCond()
{
synchronized (monitor())
{
check_orphaned();
org.w3.unicorn.tasklist.CondType target = null;
target = (org.w3.unicorn.tasklist.CondType)get_store().add_element_user(COND$0);
return target;
}
}
/**
* Removes the ith "cond" element
*/
public void removeCond(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(COND$0, i);
}
}
}
Received on Tuesday, 22 July 2008 09:17:29 UTC