/*
 * An XML document type.
 * Localname: Create
 * Namespace: http://www.approva.net/BizRights/Services
 * Java type: net.approva.www.bizrights.services.CreateDocument
 *
 * Automatically generated - do not modify.
 */
package net.approva.www.bizrights.services;


/**
 * A document containing one Create(@http://www.approva.net/BizRights/Services) element.
 *
 * This is a complex type.
 */
public interface CreateDocument extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(CreateDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sA93E43B1D6055770C030311A843B8CB8").resolveHandle("createaf58doctype");
    
    /**
     * Gets the "Create" element
     */
    net.approva.www.bizrights.services.CreateDocument.Create getCreate();
    
    /**
     * Sets the "Create" element
     */
    void setCreate(net.approva.www.bizrights.services.CreateDocument.Create create);
    
    /**
     * Appends and returns a new empty "Create" element
     */
    net.approva.www.bizrights.services.CreateDocument.Create addNewCreate();
    
    /**
     * An XML Create(@http://www.approva.net/BizRights/Services).
     *
     * This is a complex type.
     */
    public interface Create extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Create.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sA93E43B1D6055770C030311A843B8CB8").resolveHandle("create00a0elemtype");
        
        /**
         * Gets the "ObjType" element
         */
        net.approva.www.bizrights.services.WellKnownType.Enum getObjType();
        
        /**
         * Gets (as xml) the "ObjType" element
         */
        net.approva.www.bizrights.services.WellKnownType xgetObjType();
        
        /**
         * Sets the "ObjType" element
         */
        void setObjType(net.approva.www.bizrights.services.WellKnownType.Enum objType);
        
        /**
         * Sets (as xml) the "ObjType" element
         */
        void xsetObjType(net.approva.www.bizrights.services.WellKnownType objType);
        
        /**
         * Gets the "objXML" element
         */
        java.lang.String getObjXML();
        
        /**
         * Gets (as xml) the "objXML" element
         */
        org.apache.xmlbeans.XmlString xgetObjXML();
        
        /**
         * True if has "objXML" element
         */
        boolean isSetObjXML();
        
        /**
         * Sets the "objXML" element
         */
        void setObjXML(java.lang.String objXML);
        
        /**
         * Sets (as xml) the "objXML" element
         */
        void xsetObjXML(org.apache.xmlbeans.XmlString objXML);
        
        /**
         * Unsets the "objXML" element
         */
        void unsetObjXML();
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static net.approva.www.bizrights.services.CreateDocument.Create newInstance() {
              return (net.approva.www.bizrights.services.CreateDocument.Create) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static net.approva.www.bizrights.services.CreateDocument.Create newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (net.approva.www.bizrights.services.CreateDocument.Create) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static net.approva.www.bizrights.services.CreateDocument newInstance() {
          return (net.approva.www.bizrights.services.CreateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static net.approva.www.bizrights.services.CreateDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (net.approva.www.bizrights.services.CreateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static net.approva.www.bizrights.services.CreateDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (net.approva.www.bizrights.services.CreateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static net.approva.www.bizrights.services.CreateDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.approva.www.bizrights.services.CreateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static net.approva.www.bizrights.services.CreateDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.approva.www.bizrights.services.CreateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static net.approva.www.bizrights.services.CreateDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.approva.www.bizrights.services.CreateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static net.approva.www.bizrights.services.CreateDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.approva.www.bizrights.services.CreateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static net.approva.www.bizrights.services.CreateDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.approva.www.bizrights.services.CreateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static net.approva.www.bizrights.services.CreateDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.approva.www.bizrights.services.CreateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static net.approva.www.bizrights.services.CreateDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.approva.www.bizrights.services.CreateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static net.approva.www.bizrights.services.CreateDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.approva.www.bizrights.services.CreateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static net.approva.www.bizrights.services.CreateDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.approva.www.bizrights.services.CreateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static net.approva.www.bizrights.services.CreateDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (net.approva.www.bizrights.services.CreateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static net.approva.www.bizrights.services.CreateDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.approva.www.bizrights.services.CreateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static net.approva.www.bizrights.services.CreateDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (net.approva.www.bizrights.services.CreateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static net.approva.www.bizrights.services.CreateDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.approva.www.bizrights.services.CreateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static net.approva.www.bizrights.services.CreateDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.approva.www.bizrights.services.CreateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static net.approva.www.bizrights.services.CreateDocument 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 (net.approva.www.bizrights.services.CreateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.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 org.apache.xmlbeans.xml.stream.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
    }
}
