/*
 * XML Type:  assigneeType
 * Namespace: http://www.bea.com/wli/worklist/xml
 * Java type: com.bea.wli.worklist.xml.AssigneeType
 *
 * Automatically generated - do not modify.
 */
package com.bea.wli.worklist.xml;


/**
 * An XML assigneeType(@http://www.bea.com/wli/worklist/xml).
 *
 * This is a complex type.
 */
public interface AssigneeType extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(AssigneeType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.SchemasTypeSystem").resolveHandle("assigneetype164btype");
    
    /**
     * Gets a List of "user" elements
     */
    java.util.List<java.lang.String> getUserList();
    
    /**
     * Gets array of all "user" elements
     * @deprecated
     */
    java.lang.String[] getUserArray();
    
    /**
     * Gets ith "user" element
     */
    java.lang.String getUserArray(int i);
    
    /**
     * Gets (as xml) a List of "user" elements
     */
    java.util.List<org.apache.xmlbeans.XmlString> xgetUserList();
    
    /**
     * Gets (as xml) array of all "user" elements
     * @deprecated
     */
    org.apache.xmlbeans.XmlString[] xgetUserArray();
    
    /**
     * Gets (as xml) ith "user" element
     */
    org.apache.xmlbeans.XmlString xgetUserArray(int i);
    
    /**
     * Returns number of "user" element
     */
    int sizeOfUserArray();
    
    /**
     * Sets array of all "user" element
     */
    void setUserArray(java.lang.String[] userArray);
    
    /**
     * Sets ith "user" element
     */
    void setUserArray(int i, java.lang.String user);
    
    /**
     * Sets (as xml) array of all "user" element
     */
    void xsetUserArray(org.apache.xmlbeans.XmlString[] userArray);
    
    /**
     * Sets (as xml) ith "user" element
     */
    void xsetUserArray(int i, org.apache.xmlbeans.XmlString user);
    
    /**
     * Inserts the value as the ith "user" element
     */
    void insertUser(int i, java.lang.String user);
    
    /**
     * Appends the value as the last "user" element
     */
    void addUser(java.lang.String user);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "user" element
     */
    org.apache.xmlbeans.XmlString insertNewUser(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "user" element
     */
    org.apache.xmlbeans.XmlString addNewUser();
    
    /**
     * Removes the ith "user" element
     */
    void removeUser(int i);
    
    /**
     * Gets a List of "group" elements
     */
    java.util.List<java.lang.String> getGroupList();
    
    /**
     * Gets array of all "group" elements
     * @deprecated
     */
    java.lang.String[] getGroupArray();
    
    /**
     * Gets ith "group" element
     */
    java.lang.String getGroupArray(int i);
    
    /**
     * Gets (as xml) a List of "group" elements
     */
    java.util.List<org.apache.xmlbeans.XmlString> xgetGroupList();
    
    /**
     * Gets (as xml) array of all "group" elements
     * @deprecated
     */
    org.apache.xmlbeans.XmlString[] xgetGroupArray();
    
    /**
     * Gets (as xml) ith "group" element
     */
    org.apache.xmlbeans.XmlString xgetGroupArray(int i);
    
    /**
     * Returns number of "group" element
     */
    int sizeOfGroupArray();
    
    /**
     * Sets array of all "group" element
     */
    void setGroupArray(java.lang.String[] groupArray);
    
    /**
     * Sets ith "group" element
     */
    void setGroupArray(int i, java.lang.String group);
    
    /**
     * Sets (as xml) array of all "group" element
     */
    void xsetGroupArray(org.apache.xmlbeans.XmlString[] groupArray);
    
    /**
     * Sets (as xml) ith "group" element
     */
    void xsetGroupArray(int i, org.apache.xmlbeans.XmlString group);
    
    /**
     * Inserts the value as the ith "group" element
     */
    void insertGroup(int i, java.lang.String group);
    
    /**
     * Appends the value as the last "group" element
     */
    void addGroup(java.lang.String group);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "group" element
     */
    org.apache.xmlbeans.XmlString insertNewGroup(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "group" element
     */
    org.apache.xmlbeans.XmlString addNewGroup();
    
    /**
     * Removes the ith "group" element
     */
    void removeGroup(int i);
    
    /**
     * Gets the "algorithm" element
     */
    com.bea.wli.worklist.xml.AlgorithmType.Enum getAlgorithm();
    
    /**
     * Gets (as xml) the "algorithm" element
     */
    com.bea.wli.worklist.xml.AlgorithmType xgetAlgorithm();
    
    /**
     * True if has "algorithm" element
     */
    boolean isSetAlgorithm();
    
    /**
     * Sets the "algorithm" element
     */
    void setAlgorithm(com.bea.wli.worklist.xml.AlgorithmType.Enum algorithm);
    
    /**
     * Sets (as xml) the "algorithm" element
     */
    void xsetAlgorithm(com.bea.wli.worklist.xml.AlgorithmType algorithm);
    
    /**
     * Unsets the "algorithm" element
     */
    void unsetAlgorithm();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static com.bea.wli.worklist.xml.AssigneeType newInstance() {
          return (com.bea.wli.worklist.xml.AssigneeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static com.bea.wli.worklist.xml.AssigneeType newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (com.bea.wli.worklist.xml.AssigneeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static com.bea.wli.worklist.xml.AssigneeType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (com.bea.wli.worklist.xml.AssigneeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static com.bea.wli.worklist.xml.AssigneeType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.bea.wli.worklist.xml.AssigneeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static com.bea.wli.worklist.xml.AssigneeType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.worklist.xml.AssigneeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static com.bea.wli.worklist.xml.AssigneeType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.worklist.xml.AssigneeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static com.bea.wli.worklist.xml.AssigneeType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.worklist.xml.AssigneeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static com.bea.wli.worklist.xml.AssigneeType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.worklist.xml.AssigneeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static com.bea.wli.worklist.xml.AssigneeType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.worklist.xml.AssigneeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static com.bea.wli.worklist.xml.AssigneeType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.worklist.xml.AssigneeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static com.bea.wli.worklist.xml.AssigneeType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.worklist.xml.AssigneeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static com.bea.wli.worklist.xml.AssigneeType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.worklist.xml.AssigneeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static com.bea.wli.worklist.xml.AssigneeType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (com.bea.wli.worklist.xml.AssigneeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static com.bea.wli.worklist.xml.AssigneeType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.bea.wli.worklist.xml.AssigneeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static com.bea.wli.worklist.xml.AssigneeType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (com.bea.wli.worklist.xml.AssigneeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static com.bea.wli.worklist.xml.AssigneeType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.bea.wli.worklist.xml.AssigneeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link XMLInputStream} */
        public static com.bea.wli.worklist.xml.AssigneeType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.bea.wli.worklist.xml.AssigneeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link XMLInputStream} */
        public static com.bea.wli.worklist.xml.AssigneeType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.bea.wli.worklist.xml.AssigneeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
