All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gov.grants.apply.system.grantsCommonElementsV10.TokenDocument Maven / Gradle / Ivy

/*
 * An XML document type.
 * Localname: Token
 * Namespace: http://apply.grants.gov/system/GrantsCommonElements-V1.0
 * Java type: gov.grants.apply.system.grantsCommonElementsV10.TokenDocument
 *
 * Automatically generated - do not modify.
 */
package gov.grants.apply.system.grantsCommonElementsV10;


/**
 * A document containing one Token(@http://apply.grants.gov/system/GrantsCommonElements-V1.0) element.
 *
 * This is a complex type.
 */
public interface TokenDocument extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(TokenDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("token7737doctype");
    
    /**
     * Gets the "Token" element
     */
    gov.grants.apply.system.grantsCommonElementsV10.TokenDocument.Token getToken();
    
    /**
     * Sets the "Token" element
     */
    void setToken(gov.grants.apply.system.grantsCommonElementsV10.TokenDocument.Token token);
    
    /**
     * Appends and returns a new empty "Token" element
     */
    gov.grants.apply.system.grantsCommonElementsV10.TokenDocument.Token addNewToken();
    
    /**
     * An XML Token(@http://apply.grants.gov/system/GrantsCommonElements-V1.0).
     *
     * This is a complex type.
     */
    public interface Token extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Token.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("tokenc792elemtype");
        
        /**
         * Gets the "UserID" element
         */
        java.lang.String getUserID();
        
        /**
         * Gets (as xml) the "UserID" element
         */
        gov.grants.apply.system.grantsCommonTypesV10.UserIDType xgetUserID();
        
        /**
         * Sets the "UserID" element
         */
        void setUserID(java.lang.String userID);
        
        /**
         * Sets (as xml) the "UserID" element
         */
        void xsetUserID(gov.grants.apply.system.grantsCommonTypesV10.UserIDType userID);
        
        /**
         * Gets the "TokenId" element
         */
        java.lang.String getTokenId();
        
        /**
         * Gets (as xml) the "TokenId" element
         */
        gov.grants.apply.system.grantsCommonTypesV10.TokenIdType xgetTokenId();
        
        /**
         * True if has "TokenId" element
         */
        boolean isSetTokenId();
        
        /**
         * Sets the "TokenId" element
         */
        void setTokenId(java.lang.String tokenId);
        
        /**
         * Sets (as xml) the "TokenId" element
         */
        void xsetTokenId(gov.grants.apply.system.grantsCommonTypesV10.TokenIdType tokenId);
        
        /**
         * Unsets the "TokenId" element
         */
        void unsetTokenId();
        
        /**
         * Gets the "DUNS" element
         */
        java.lang.String getDUNS();
        
        /**
         * Gets (as xml) the "DUNS" element
         */
        gov.grants.apply.system.grantsCommonTypesV10.DUNSType xgetDUNS();
        
        /**
         * True if has "DUNS" element
         */
        boolean isSetDUNS();
        
        /**
         * Sets the "DUNS" element
         */
        void setDUNS(java.lang.String duns);
        
        /**
         * Sets (as xml) the "DUNS" element
         */
        void xsetDUNS(gov.grants.apply.system.grantsCommonTypesV10.DUNSType duns);
        
        /**
         * Unsets the "DUNS" element
         */
        void unsetDUNS();
        
        /**
         * Gets the "FullName" element
         */
        java.lang.String getFullName();
        
        /**
         * Gets (as xml) the "FullName" element
         */
        gov.grants.apply.system.grantsCommonTypesV10.FullNameType xgetFullName();
        
        /**
         * True if has "FullName" element
         */
        boolean isSetFullName();
        
        /**
         * Sets the "FullName" element
         */
        void setFullName(java.lang.String fullName);
        
        /**
         * Sets (as xml) the "FullName" element
         */
        void xsetFullName(gov.grants.apply.system.grantsCommonTypesV10.FullNameType fullName);
        
        /**
         * Unsets the "FullName" element
         */
        void unsetFullName();
        
        /**
         * Gets the "AORStatus" element
         */
        gov.grants.apply.system.grantsCommonTypesV10.AORStatusType.Enum getAORStatus();
        
        /**
         * Gets (as xml) the "AORStatus" element
         */
        gov.grants.apply.system.grantsCommonTypesV10.AORStatusType xgetAORStatus();
        
        /**
         * Sets the "AORStatus" element
         */
        void setAORStatus(gov.grants.apply.system.grantsCommonTypesV10.AORStatusType.Enum aorStatus);
        
        /**
         * Sets (as xml) the "AORStatus" element
         */
        void xsetAORStatus(gov.grants.apply.system.grantsCommonTypesV10.AORStatusType aorStatus);
        
        /**
         * Gets the "TokenExpiration" element
         */
        java.util.Calendar getTokenExpiration();
        
        /**
         * Gets (as xml) the "TokenExpiration" element
         */
        org.apache.xmlbeans.XmlDateTime xgetTokenExpiration();
        
        /**
         * True if has "TokenExpiration" element
         */
        boolean isSetTokenExpiration();
        
        /**
         * Sets the "TokenExpiration" element
         */
        void setTokenExpiration(java.util.Calendar tokenExpiration);
        
        /**
         * Sets (as xml) the "TokenExpiration" element
         */
        void xsetTokenExpiration(org.apache.xmlbeans.XmlDateTime tokenExpiration);
        
        /**
         * Unsets the "TokenExpiration" element
         */
        void unsetTokenExpiration();
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static gov.grants.apply.system.grantsCommonElementsV10.TokenDocument.Token newInstance() {
              return (gov.grants.apply.system.grantsCommonElementsV10.TokenDocument.Token) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static gov.grants.apply.system.grantsCommonElementsV10.TokenDocument.Token newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (gov.grants.apply.system.grantsCommonElementsV10.TokenDocument.Token) 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 gov.grants.apply.system.grantsCommonElementsV10.TokenDocument newInstance() {
          return (gov.grants.apply.system.grantsCommonElementsV10.TokenDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static gov.grants.apply.system.grantsCommonElementsV10.TokenDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (gov.grants.apply.system.grantsCommonElementsV10.TokenDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static gov.grants.apply.system.grantsCommonElementsV10.TokenDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (gov.grants.apply.system.grantsCommonElementsV10.TokenDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static gov.grants.apply.system.grantsCommonElementsV10.TokenDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (gov.grants.apply.system.grantsCommonElementsV10.TokenDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static gov.grants.apply.system.grantsCommonElementsV10.TokenDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (gov.grants.apply.system.grantsCommonElementsV10.TokenDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static gov.grants.apply.system.grantsCommonElementsV10.TokenDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (gov.grants.apply.system.grantsCommonElementsV10.TokenDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static gov.grants.apply.system.grantsCommonElementsV10.TokenDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (gov.grants.apply.system.grantsCommonElementsV10.TokenDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static gov.grants.apply.system.grantsCommonElementsV10.TokenDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (gov.grants.apply.system.grantsCommonElementsV10.TokenDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static gov.grants.apply.system.grantsCommonElementsV10.TokenDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (gov.grants.apply.system.grantsCommonElementsV10.TokenDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static gov.grants.apply.system.grantsCommonElementsV10.TokenDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (gov.grants.apply.system.grantsCommonElementsV10.TokenDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static gov.grants.apply.system.grantsCommonElementsV10.TokenDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (gov.grants.apply.system.grantsCommonElementsV10.TokenDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static gov.grants.apply.system.grantsCommonElementsV10.TokenDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (gov.grants.apply.system.grantsCommonElementsV10.TokenDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static gov.grants.apply.system.grantsCommonElementsV10.TokenDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (gov.grants.apply.system.grantsCommonElementsV10.TokenDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static gov.grants.apply.system.grantsCommonElementsV10.TokenDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (gov.grants.apply.system.grantsCommonElementsV10.TokenDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static gov.grants.apply.system.grantsCommonElementsV10.TokenDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (gov.grants.apply.system.grantsCommonElementsV10.TokenDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static gov.grants.apply.system.grantsCommonElementsV10.TokenDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (gov.grants.apply.system.grantsCommonElementsV10.TokenDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static gov.grants.apply.system.grantsCommonElementsV10.TokenDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (gov.grants.apply.system.grantsCommonElementsV10.TokenDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static gov.grants.apply.system.grantsCommonElementsV10.TokenDocument 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 (gov.grants.apply.system.grantsCommonElementsV10.TokenDocument) 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
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy