org.openejb.xbeans.ejbjar
Interface OpenejbOpenejbJarType.EnterpriseBeans

All Superinterfaces:
org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource
All Known Implementing Classes:
OpenejbOpenejbJarTypeImpl.EnterpriseBeansImpl
Enclosing interface:
OpenejbOpenejbJarType

public static interface OpenejbOpenejbJarType.EnterpriseBeans
extends org.apache.xmlbeans.XmlObject

An XML enterprise-beans(@http://www.openejb.org/xml/ns/openejb-jar-2.1). This is a complex type.


Nested Class Summary
static class OpenejbOpenejbJarType.EnterpriseBeans.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
 OpenejbEntityBeanType addNewEntity()
          Appends and returns a new empty value (as xml) as the last "entity" element
 OpenejbMessageDrivenBeanType addNewMessageDriven()
          Appends and returns a new empty value (as xml) as the last "message-driven" element
 OpenejbSessionBeanType addNewSession()
          Appends and returns a new empty value (as xml) as the last "session" element
 OpenejbEntityBeanType[] getEntityArray()
          Gets array of all "entity" elements
 OpenejbEntityBeanType getEntityArray(int i)
          Gets ith "entity" element
 OpenejbMessageDrivenBeanType[] getMessageDrivenArray()
          Gets array of all "message-driven" elements
 OpenejbMessageDrivenBeanType getMessageDrivenArray(int i)
          Gets ith "message-driven" element
 OpenejbSessionBeanType[] getSessionArray()
          Gets array of all "session" elements
 OpenejbSessionBeanType getSessionArray(int i)
          Gets ith "session" element
 OpenejbEntityBeanType insertNewEntity(int i)
          Inserts and returns a new empty value (as xml) as the ith "entity" element
 OpenejbMessageDrivenBeanType insertNewMessageDriven(int i)
          Inserts and returns a new empty value (as xml) as the ith "message-driven" element
 OpenejbSessionBeanType insertNewSession(int i)
          Inserts and returns a new empty value (as xml) as the ith "session" element
 void removeEntity(int i)
          Removes the ith "entity" element
 void removeMessageDriven(int i)
          Removes the ith "message-driven" element
 void removeSession(int i)
          Removes the ith "session" element
 void setEntityArray(int i, OpenejbEntityBeanType entity)
          Sets ith "entity" element
 void setEntityArray(OpenejbEntityBeanType[] entityArray)
          Sets array of all "entity" element
 void setMessageDrivenArray(int i, OpenejbMessageDrivenBeanType messageDriven)
          Sets ith "message-driven" element
 void setMessageDrivenArray(OpenejbMessageDrivenBeanType[] messageDrivenArray)
          Sets array of all "message-driven" element
 void setSessionArray(int i, OpenejbSessionBeanType session)
          Sets ith "session" element
 void setSessionArray(OpenejbSessionBeanType[] sessionArray)
          Sets array of all "session" element
 int sizeOfEntityArray()
          Returns number of "entity" element
 int sizeOfMessageDrivenArray()
          Returns number of "message-driven" element
 int sizeOfSessionArray()
          Returns number of "session" 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

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

getSessionArray

public OpenejbSessionBeanType[] getSessionArray()
Gets array of all "session" elements


getSessionArray

public OpenejbSessionBeanType getSessionArray(int i)
Gets ith "session" element


sizeOfSessionArray

public int sizeOfSessionArray()
Returns number of "session" element


setSessionArray

public void setSessionArray(OpenejbSessionBeanType[] sessionArray)
Sets array of all "session" element


setSessionArray

public void setSessionArray(int i,
                            OpenejbSessionBeanType session)
Sets ith "session" element


insertNewSession

public OpenejbSessionBeanType insertNewSession(int i)
Inserts and returns a new empty value (as xml) as the ith "session" element


addNewSession

public OpenejbSessionBeanType addNewSession()
Appends and returns a new empty value (as xml) as the last "session" element


removeSession

public void removeSession(int i)
Removes the ith "session" element


getEntityArray

public OpenejbEntityBeanType[] getEntityArray()
Gets array of all "entity" elements


getEntityArray

public OpenejbEntityBeanType getEntityArray(int i)
Gets ith "entity" element


sizeOfEntityArray

public int sizeOfEntityArray()
Returns number of "entity" element


setEntityArray

public void setEntityArray(OpenejbEntityBeanType[] entityArray)
Sets array of all "entity" element


setEntityArray

public void setEntityArray(int i,
                           OpenejbEntityBeanType entity)
Sets ith "entity" element


insertNewEntity

public OpenejbEntityBeanType insertNewEntity(int i)
Inserts and returns a new empty value (as xml) as the ith "entity" element


addNewEntity

public OpenejbEntityBeanType addNewEntity()
Appends and returns a new empty value (as xml) as the last "entity" element


removeEntity

public void removeEntity(int i)
Removes the ith "entity" element


getMessageDrivenArray

public OpenejbMessageDrivenBeanType[] getMessageDrivenArray()
Gets array of all "message-driven" elements


getMessageDrivenArray

public OpenejbMessageDrivenBeanType getMessageDrivenArray(int i)
Gets ith "message-driven" element


sizeOfMessageDrivenArray

public int sizeOfMessageDrivenArray()
Returns number of "message-driven" element


setMessageDrivenArray

public void setMessageDrivenArray(OpenejbMessageDrivenBeanType[] messageDrivenArray)
Sets array of all "message-driven" element


setMessageDrivenArray

public void setMessageDrivenArray(int i,
                                  OpenejbMessageDrivenBeanType messageDriven)
Sets ith "message-driven" element


insertNewMessageDriven

public OpenejbMessageDrivenBeanType insertNewMessageDriven(int i)
Inserts and returns a new empty value (as xml) as the ith "message-driven" element


addNewMessageDriven

public OpenejbMessageDrivenBeanType addNewMessageDriven()
Appends and returns a new empty value (as xml) as the last "message-driven" element


removeMessageDriven

public void removeMessageDriven(int i)
Removes the ith "message-driven" element



Copyright © 1999-2006 OpenEJB. All Rights Reserved.