/*
 * An XML document type.
 * Localname: ServiceGroupRP
 * Namespace: http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.xsd
 * Java type: org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument
 *
 * Automatically generated - do not modify.
 */
package org.activemq.ws.xmlbeans.servicegroup;


/**
 * A document containing one ServiceGroupRP(@http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.xsd) element.
 *
 * This is a complex type.
 */
public interface ServiceGroupRPDocument extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sD0AE8BB856E0A2189C4CA8823269D0B6.TypeSystemHolder.typeSystem.resolveHandle("servicegrouprp1e61doctype");
    
    /**
     * Gets the "ServiceGroupRP" element
     */
    org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument.ServiceGroupRP getServiceGroupRP();
    
    /**
     * Sets the "ServiceGroupRP" element
     */
    void setServiceGroupRP(org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument.ServiceGroupRP serviceGroupRP);
    
    /**
     * Appends and returns a new empty "ServiceGroupRP" element
     */
    org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument.ServiceGroupRP addNewServiceGroupRP();
    
    /**
     * An XML ServiceGroupRP(@http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.xsd).
     *
     * This is a complex type.
     */
    public interface ServiceGroupRP extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sD0AE8BB856E0A2189C4CA8823269D0B6.TypeSystemHolder.typeSystem.resolveHandle("servicegrouprpc29delemtype");
        
        /**
         * Gets array of all "MembershipContentRule" elements
         */
        org.activemq.ws.xmlbeans.servicegroup.MembershipContentRuleDocument.MembershipContentRule[] getMembershipContentRuleArray();
        
        /**
         * Gets ith "MembershipContentRule" element
         */
        org.activemq.ws.xmlbeans.servicegroup.MembershipContentRuleDocument.MembershipContentRule getMembershipContentRuleArray(int i);
        
        /**
         * Returns number of "MembershipContentRule" element
         */
        int sizeOfMembershipContentRuleArray();
        
        /**
         * Sets array of all "MembershipContentRule" element
         */
        void setMembershipContentRuleArray(org.activemq.ws.xmlbeans.servicegroup.MembershipContentRuleDocument.MembershipContentRule[] membershipContentRuleArray);
        
        /**
         * Sets ith "MembershipContentRule" element
         */
        void setMembershipContentRuleArray(int i, org.activemq.ws.xmlbeans.servicegroup.MembershipContentRuleDocument.MembershipContentRule membershipContentRule);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "MembershipContentRule" element
         */
        org.activemq.ws.xmlbeans.servicegroup.MembershipContentRuleDocument.MembershipContentRule insertNewMembershipContentRule(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "MembershipContentRule" element
         */
        org.activemq.ws.xmlbeans.servicegroup.MembershipContentRuleDocument.MembershipContentRule addNewMembershipContentRule();
        
        /**
         * Removes the ith "MembershipContentRule" element
         */
        void removeMembershipContentRule(int i);
        
        /**
         * Gets array of all "Entry" elements
         */
        org.activemq.ws.xmlbeans.servicegroup.EntryType[] getEntryArray();
        
        /**
         * Gets ith "Entry" element
         */
        org.activemq.ws.xmlbeans.servicegroup.EntryType getEntryArray(int i);
        
        /**
         * Returns number of "Entry" element
         */
        int sizeOfEntryArray();
        
        /**
         * Sets array of all "Entry" element
         */
        void setEntryArray(org.activemq.ws.xmlbeans.servicegroup.EntryType[] entryArray);
        
        /**
         * Sets ith "Entry" element
         */
        void setEntryArray(int i, org.activemq.ws.xmlbeans.servicegroup.EntryType entry);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "Entry" element
         */
        org.activemq.ws.xmlbeans.servicegroup.EntryType insertNewEntry(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "Entry" element
         */
        org.activemq.ws.xmlbeans.servicegroup.EntryType addNewEntry();
        
        /**
         * Removes the ith "Entry" element
         */
        void removeEntry(int i);
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument.ServiceGroupRP newInstance() {
              return (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument.ServiceGroupRP) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument.ServiceGroupRP newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument.ServiceGroupRP) 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 org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument newInstance() {
          return (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        public static org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        public static org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument 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 (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRPDocument) 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
    }
}
