001 /*
002 * XML Type: persistence-unit-refType
003 * Namespace: http://geronimo.apache.org/xml/ns/naming-1.2
004 * Java type: org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType
005 *
006 * Automatically generated - do not modify.
007 */
008 package org.apache.geronimo.xbeans.geronimo.naming;
009
010
011 /**
012 * An XML persistence-unit-refType(@http://geronimo.apache.org/xml/ns/naming-1.2).
013 *
014 * This is a complex type.
015 */
016 public interface GerPersistenceUnitRefType extends org.apache.geronimo.xbeans.geronimo.naming.GerAbstractNamingEntryType
017 {
018 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
019 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(GerPersistenceUnitRefType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s5BE83D0C34A23529A2EB03BDF6E4EE25").resolveHandle("persistenceunitreftype6840type");
020
021 /**
022 * Gets the "persistence-unit-ref-name" element
023 */
024 java.lang.String getPersistenceUnitRefName();
025
026 /**
027 * Gets (as xml) the "persistence-unit-ref-name" element
028 */
029 org.apache.xmlbeans.XmlString xgetPersistenceUnitRefName();
030
031 /**
032 * Sets the "persistence-unit-ref-name" element
033 */
034 void setPersistenceUnitRefName(java.lang.String persistenceUnitRefName);
035
036 /**
037 * Sets (as xml) the "persistence-unit-ref-name" element
038 */
039 void xsetPersistenceUnitRefName(org.apache.xmlbeans.XmlString persistenceUnitRefName);
040
041 /**
042 * Gets the "persistence-unit-name" element
043 */
044 java.lang.String getPersistenceUnitName();
045
046 /**
047 * Gets (as xml) the "persistence-unit-name" element
048 */
049 org.apache.xmlbeans.XmlString xgetPersistenceUnitName();
050
051 /**
052 * True if has "persistence-unit-name" element
053 */
054 boolean isSetPersistenceUnitName();
055
056 /**
057 * Sets the "persistence-unit-name" element
058 */
059 void setPersistenceUnitName(java.lang.String persistenceUnitName);
060
061 /**
062 * Sets (as xml) the "persistence-unit-name" element
063 */
064 void xsetPersistenceUnitName(org.apache.xmlbeans.XmlString persistenceUnitName);
065
066 /**
067 * Unsets the "persistence-unit-name" element
068 */
069 void unsetPersistenceUnitName();
070
071 /**
072 * Gets the "pattern" element
073 */
074 org.apache.geronimo.xbeans.geronimo.naming.GerPatternType getPattern();
075
076 /**
077 * True if has "pattern" element
078 */
079 boolean isSetPattern();
080
081 /**
082 * Sets the "pattern" element
083 */
084 void setPattern(org.apache.geronimo.xbeans.geronimo.naming.GerPatternType pattern);
085
086 /**
087 * Appends and returns a new empty "pattern" element
088 */
089 org.apache.geronimo.xbeans.geronimo.naming.GerPatternType addNewPattern();
090
091 /**
092 * Unsets the "pattern" element
093 */
094 void unsetPattern();
095
096 /**
097 * A factory class with static methods for creating instances
098 * of this type.
099 */
100
101 public static final class Factory
102 {
103 public static org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType newInstance() {
104 return (org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
105
106 public static org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType newInstance(org.apache.xmlbeans.XmlOptions options) {
107 return (org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
108
109 /** @param xmlAsString the string value to parse */
110 public static org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
111 return (org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
112
113 public static org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
114 return (org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
115
116 /** @param file the file from which to load an xml document */
117 public static org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
118 return (org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
119
120 public static org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
121 return (org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
122
123 public static org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
124 return (org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
125
126 public static org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
127 return (org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
128
129 public static org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
130 return (org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
131
132 public static org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
133 return (org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
134
135 public static org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
136 return (org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
137
138 public static org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
139 return (org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
140
141 public static org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
142 return (org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
143
144 public static org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
145 return (org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
146
147 public static org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
148 return (org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
149
150 public static org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
151 return (org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
152
153 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
154 public static org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
155 return (org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
156
157 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
158 public static org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
159 return (org.apache.geronimo.xbeans.geronimo.naming.GerPersistenceUnitRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
160
161 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
162 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 {
163 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
164
165 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
166 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 {
167 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
168
169 private Factory() { } // No instance of this class allowed
170 }
171 }