org.apache.geronimo.xbeans.geronimo.naming
Interface GerPersistenceContextRefType

All Superinterfaces:
GerAbstractNamingEntryType, org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource
All Known Implementing Classes:
GerPersistenceContextRefTypeImpl

public interface GerPersistenceContextRefType
extends GerAbstractNamingEntryType

An XML persistence-context-refType(@http://geronimo.apache.org/xml/ns/naming-1.2). This is a complex type.


Nested Class Summary
static class GerPersistenceContextRefType.Factory
          A factory class with static methods for creating instances of this type.
 
Field Summary
static org.apache.xmlbeans.SchemaType type
           
 
Fields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL
 
Method Summary
 GerPatternType addNewPattern()
          Appends and returns a new empty "pattern" element
 GerPropertyType addNewProperty()
          Appends and returns a new empty value (as xml) as the last "property" element
 GerPatternType getPattern()
          Gets the "pattern" element
 String getPersistenceContextRefName()
          Gets the "persistence-context-ref-name" element
 GerPersistenceContextTypeType.Enum getPersistenceContextType()
          Gets the "persistence-context-type" element
 String getPersistenceUnitName()
          Gets the "persistence-unit-name" element
 GerPropertyType[] getPropertyArray()
          Gets array of all "property" elements
 GerPropertyType getPropertyArray(int i)
          Gets ith "property" element
 GerPropertyType insertNewProperty(int i)
          Inserts and returns a new empty value (as xml) as the ith "property" element
 boolean isSetPattern()
          True if has "pattern" element
 boolean isSetPersistenceContextType()
          True if has "persistence-context-type" element
 boolean isSetPersistenceUnitName()
          True if has "persistence-unit-name" element
 void removeProperty(int i)
          Removes the ith "property" element
 void setPattern(GerPatternType pattern)
          Sets the "pattern" element
 void setPersistenceContextRefName(String persistenceContextRefName)
          Sets the "persistence-context-ref-name" element
 void setPersistenceContextType(GerPersistenceContextTypeType.Enum persistenceContextType)
          Sets the "persistence-context-type" element
 void setPersistenceUnitName(String persistenceUnitName)
          Sets the "persistence-unit-name" element
 void setPropertyArray(GerPropertyType[] propertyArray)
          Sets array of all "property" element
 void setPropertyArray(int i, GerPropertyType property)
          Sets ith "property" element
 int sizeOfPropertyArray()
          Returns number of "property" element
 void unsetPattern()
          Unsets the "pattern" element
 void unsetPersistenceContextType()
          Unsets the "persistence-context-type" element
 void unsetPersistenceUnitName()
          Unsets the "persistence-unit-name" element
 org.apache.xmlbeans.XmlString xgetPersistenceContextRefName()
          Gets (as xml) the "persistence-context-ref-name" element
 GerPersistenceContextTypeType xgetPersistenceContextType()
          Gets (as xml) the "persistence-context-type" element
 org.apache.xmlbeans.XmlString xgetPersistenceUnitName()
          Gets (as xml) the "persistence-unit-name" element
 void xsetPersistenceContextRefName(org.apache.xmlbeans.XmlString persistenceContextRefName)
          Sets (as xml) the "persistence-context-ref-name" element
 void xsetPersistenceContextType(GerPersistenceContextTypeType persistenceContextType)
          Sets (as xml) the "persistence-context-type" element
 void xsetPersistenceUnitName(org.apache.xmlbeans.XmlString persistenceUnitName)
          Sets (as xml) the "persistence-unit-name" element
 
Methods inherited from interface org.apache.xmlbeans.XmlObject
changeType, compareTo, compareValue, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode
 
Methods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
 

Field Detail

type

static final org.apache.xmlbeans.SchemaType type
Method Detail

getPersistenceContextRefName

String getPersistenceContextRefName()
Gets the "persistence-context-ref-name" element


xgetPersistenceContextRefName

org.apache.xmlbeans.XmlString xgetPersistenceContextRefName()
Gets (as xml) the "persistence-context-ref-name" element


setPersistenceContextRefName

void setPersistenceContextRefName(String persistenceContextRefName)
Sets the "persistence-context-ref-name" element


xsetPersistenceContextRefName

void xsetPersistenceContextRefName(org.apache.xmlbeans.XmlString persistenceContextRefName)
Sets (as xml) the "persistence-context-ref-name" element


getPersistenceUnitName

String getPersistenceUnitName()
Gets the "persistence-unit-name" element


xgetPersistenceUnitName

org.apache.xmlbeans.XmlString xgetPersistenceUnitName()
Gets (as xml) the "persistence-unit-name" element


isSetPersistenceUnitName

boolean isSetPersistenceUnitName()
True if has "persistence-unit-name" element


setPersistenceUnitName

void setPersistenceUnitName(String persistenceUnitName)
Sets the "persistence-unit-name" element


xsetPersistenceUnitName

void xsetPersistenceUnitName(org.apache.xmlbeans.XmlString persistenceUnitName)
Sets (as xml) the "persistence-unit-name" element


unsetPersistenceUnitName

void unsetPersistenceUnitName()
Unsets the "persistence-unit-name" element


getPattern

GerPatternType getPattern()
Gets the "pattern" element


isSetPattern

boolean isSetPattern()
True if has "pattern" element


setPattern

void setPattern(GerPatternType pattern)
Sets the "pattern" element


addNewPattern

GerPatternType addNewPattern()
Appends and returns a new empty "pattern" element


unsetPattern

void unsetPattern()
Unsets the "pattern" element


getPersistenceContextType

GerPersistenceContextTypeType.Enum getPersistenceContextType()
Gets the "persistence-context-type" element


xgetPersistenceContextType

GerPersistenceContextTypeType xgetPersistenceContextType()
Gets (as xml) the "persistence-context-type" element


isSetPersistenceContextType

boolean isSetPersistenceContextType()
True if has "persistence-context-type" element


setPersistenceContextType

void setPersistenceContextType(GerPersistenceContextTypeType.Enum persistenceContextType)
Sets the "persistence-context-type" element


xsetPersistenceContextType

void xsetPersistenceContextType(GerPersistenceContextTypeType persistenceContextType)
Sets (as xml) the "persistence-context-type" element


unsetPersistenceContextType

void unsetPersistenceContextType()
Unsets the "persistence-context-type" element


getPropertyArray

GerPropertyType[] getPropertyArray()
Gets array of all "property" elements


getPropertyArray

GerPropertyType getPropertyArray(int i)
Gets ith "property" element


sizeOfPropertyArray

int sizeOfPropertyArray()
Returns number of "property" element


setPropertyArray

void setPropertyArray(GerPropertyType[] propertyArray)
Sets array of all "property" element


setPropertyArray

void setPropertyArray(int i,
                      GerPropertyType property)
Sets ith "property" element


insertNewProperty

GerPropertyType insertNewProperty(int i)
Inserts and returns a new empty value (as xml) as the ith "property" element


addNewProperty

GerPropertyType addNewProperty()
Appends and returns a new empty value (as xml) as the last "property" element


removeProperty

void removeProperty(int i)
Removes the ith "property" element



Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.