org.openejb.alt.config.ejb11
Class Entity

java.lang.Object
  |
  +--org.openejb.alt.config.ejb11.Entity
All Implemented Interfaces:
java.io.Serializable

public class Entity
extends java.lang.Object
implements java.io.Serializable

Version:
$Revision: 1.2 $ $Date: 2002/02/25 20:30:51 $
See Also:
Serialized Form

Constructor Summary
Entity()
           
 
Method Summary
 void addCmpField(CmpField vCmpField)
           
 void addEjbRef(EjbRef vEjbRef)
           
 void addEnvEntry(EnvEntry vEnvEntry)
           
 void addResourceRef(ResourceRef vResourceRef)
           
 void addSecurityRoleRef(SecurityRoleRef vSecurityRoleRef)
           
 java.util.Enumeration enumerateCmpField()
           
 java.util.Enumeration enumerateEjbRef()
           
 java.util.Enumeration enumerateEnvEntry()
           
 java.util.Enumeration enumerateResourceRef()
           
 java.util.Enumeration enumerateSecurityRoleRef()
           
 CmpField[] getCmpField()
           
 CmpField getCmpField(int index)
           
 int getCmpFieldCount()
           
 java.lang.String getDescription()
           
 java.lang.String getDisplayName()
           
 java.lang.String getEjbClass()
           
 java.lang.String getEjbName()
           
 EjbRef[] getEjbRef()
           
 EjbRef getEjbRef(int index)
           
 int getEjbRefCount()
           
 EnvEntry[] getEnvEntry()
           
 EnvEntry getEnvEntry(int index)
           
 int getEnvEntryCount()
           
 java.lang.String getHome()
           
 java.lang.String getId()
           
 java.lang.String getLargeIcon()
           
 java.lang.String getPersistenceType()
           
 java.lang.String getPrimKeyClass()
           
 java.lang.String getPrimkeyField()
           
 boolean getReentrant()
           
 java.lang.String getRemote()
           
 ResourceRef[] getResourceRef()
           
 ResourceRef getResourceRef(int index)
           
 int getResourceRefCount()
           
 SecurityRoleRef[] getSecurityRoleRef()
           
 SecurityRoleRef getSecurityRoleRef(int index)
           
 int getSecurityRoleRefCount()
           
 java.lang.String getSmallIcon()
           
 boolean hasReentrant()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void removeAllCmpField()
           
 void removeAllEjbRef()
           
 void removeAllEnvEntry()
           
 void removeAllResourceRef()
           
 void removeAllSecurityRoleRef()
           
 CmpField removeCmpField(int index)
           
 EjbRef removeEjbRef(int index)
           
 EnvEntry removeEnvEntry(int index)
           
 ResourceRef removeResourceRef(int index)
           
 SecurityRoleRef removeSecurityRoleRef(int index)
           
 void setCmpField(CmpField[] cmpFieldArray)
           
 void setCmpField(int index, CmpField vCmpField)
           
 void setDescription(java.lang.String _description)
           
 void setDisplayName(java.lang.String _displayName)
           
 void setEjbClass(java.lang.String _ejbClass)
           
 void setEjbName(java.lang.String _ejbName)
           
 void setEjbRef(EjbRef[] ejbRefArray)
           
 void setEjbRef(int index, EjbRef vEjbRef)
           
 void setEnvEntry(EnvEntry[] envEntryArray)
           
 void setEnvEntry(int index, EnvEntry vEnvEntry)
           
 void setHome(java.lang.String _home)
           
 void setId(java.lang.String _id)
           
 void setLargeIcon(java.lang.String _largeIcon)
           
 void setPersistenceType(java.lang.String _persistenceType)
           
 void setPrimKeyClass(java.lang.String _primKeyClass)
           
 void setPrimkeyField(java.lang.String _primkeyField)
           
 void setReentrant(boolean _reentrant)
           
 void setRemote(java.lang.String _remote)
           
 void setResourceRef(int index, ResourceRef vResourceRef)
           
 void setResourceRef(ResourceRef[] resourceRefArray)
           
 void setSecurityRoleRef(int index, SecurityRoleRef vSecurityRoleRef)
           
 void setSecurityRoleRef(SecurityRoleRef[] securityRoleRefArray)
           
 void setSmallIcon(java.lang.String _smallIcon)
           
static Entity unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Entity

public Entity()
Method Detail

addCmpField

public void addCmpField(CmpField vCmpField)
                 throws java.lang.IndexOutOfBoundsException
Parameters:
vCmpField -  

addEjbRef

public void addEjbRef(EjbRef vEjbRef)
               throws java.lang.IndexOutOfBoundsException
Parameters:
vEjbRef -  

addEnvEntry

public void addEnvEntry(EnvEntry vEnvEntry)
                 throws java.lang.IndexOutOfBoundsException
Parameters:
vEnvEntry -  

addResourceRef

public void addResourceRef(ResourceRef vResourceRef)
                    throws java.lang.IndexOutOfBoundsException
Parameters:
vResourceRef -  

addSecurityRoleRef

public void addSecurityRoleRef(SecurityRoleRef vSecurityRoleRef)
                        throws java.lang.IndexOutOfBoundsException
Parameters:
vSecurityRoleRef -  

enumerateCmpField

public java.util.Enumeration enumerateCmpField()

enumerateEjbRef

public java.util.Enumeration enumerateEjbRef()

enumerateEnvEntry

public java.util.Enumeration enumerateEnvEntry()

enumerateResourceRef

public java.util.Enumeration enumerateResourceRef()

enumerateSecurityRoleRef

public java.util.Enumeration enumerateSecurityRoleRef()

getCmpField

public CmpField getCmpField(int index)
                     throws java.lang.IndexOutOfBoundsException
Parameters:
index -  

getCmpField

public CmpField[] getCmpField()

getCmpFieldCount

public int getCmpFieldCount()

getDescription

public java.lang.String getDescription()

getDisplayName

public java.lang.String getDisplayName()

getEjbClass

public java.lang.String getEjbClass()

getEjbName

public java.lang.String getEjbName()

getEjbRef

public EjbRef getEjbRef(int index)
                 throws java.lang.IndexOutOfBoundsException
Parameters:
index -  

getEjbRef

public EjbRef[] getEjbRef()

getEjbRefCount

public int getEjbRefCount()

getEnvEntry

public EnvEntry getEnvEntry(int index)
                     throws java.lang.IndexOutOfBoundsException
Parameters:
index -  

getEnvEntry

public EnvEntry[] getEnvEntry()

getEnvEntryCount

public int getEnvEntryCount()

getHome

public java.lang.String getHome()

getId

public java.lang.String getId()

getLargeIcon

public java.lang.String getLargeIcon()

getPersistenceType

public java.lang.String getPersistenceType()

getPrimKeyClass

public java.lang.String getPrimKeyClass()

getPrimkeyField

public java.lang.String getPrimkeyField()

getReentrant

public boolean getReentrant()

getRemote

public java.lang.String getRemote()

getResourceRef

public ResourceRef getResourceRef(int index)
                           throws java.lang.IndexOutOfBoundsException
Parameters:
index -  

getResourceRef

public ResourceRef[] getResourceRef()

getResourceRefCount

public int getResourceRefCount()

getSecurityRoleRef

public SecurityRoleRef getSecurityRoleRef(int index)
                                   throws java.lang.IndexOutOfBoundsException
Parameters:
index -  

getSecurityRoleRef

public SecurityRoleRef[] getSecurityRoleRef()

getSecurityRoleRefCount

public int getSecurityRoleRefCount()

getSmallIcon

public java.lang.String getSmallIcon()

hasReentrant

public boolean hasReentrant()

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -  

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -  

removeAllCmpField

public void removeAllCmpField()

removeAllEjbRef

public void removeAllEjbRef()

removeAllEnvEntry

public void removeAllEnvEntry()

removeAllResourceRef

public void removeAllResourceRef()

removeAllSecurityRoleRef

public void removeAllSecurityRoleRef()

removeCmpField

public CmpField removeCmpField(int index)
Parameters:
index -  

removeEjbRef

public EjbRef removeEjbRef(int index)
Parameters:
index -  

removeEnvEntry

public EnvEntry removeEnvEntry(int index)
Parameters:
index -  

removeResourceRef

public ResourceRef removeResourceRef(int index)
Parameters:
index -  

removeSecurityRoleRef

public SecurityRoleRef removeSecurityRoleRef(int index)
Parameters:
index -  

setCmpField

public void setCmpField(int index,
                        CmpField vCmpField)
                 throws java.lang.IndexOutOfBoundsException
Parameters:
index -  
vCmpField -  

setCmpField

public void setCmpField(CmpField[] cmpFieldArray)
Parameters:
cmpFieldArray -  

setDescription

public void setDescription(java.lang.String _description)
Parameters:
_description -  

setDisplayName

public void setDisplayName(java.lang.String _displayName)
Parameters:
_displayName -  

setEjbClass

public void setEjbClass(java.lang.String _ejbClass)
Parameters:
_ejbClass -  

setEjbName

public void setEjbName(java.lang.String _ejbName)
Parameters:
_ejbName -  

setEjbRef

public void setEjbRef(int index,
                      EjbRef vEjbRef)
               throws java.lang.IndexOutOfBoundsException
Parameters:
index -  
vEjbRef -  

setEjbRef

public void setEjbRef(EjbRef[] ejbRefArray)
Parameters:
ejbRefArray -  

setEnvEntry

public void setEnvEntry(int index,
                        EnvEntry vEnvEntry)
                 throws java.lang.IndexOutOfBoundsException
Parameters:
index -  
vEnvEntry -  

setEnvEntry

public void setEnvEntry(EnvEntry[] envEntryArray)
Parameters:
envEntryArray -  

setHome

public void setHome(java.lang.String _home)
Parameters:
_home -  

setId

public void setId(java.lang.String _id)
Parameters:
_id -  

setLargeIcon

public void setLargeIcon(java.lang.String _largeIcon)
Parameters:
_largeIcon -  

setPersistenceType

public void setPersistenceType(java.lang.String _persistenceType)
Parameters:
_persistenceType -  

setPrimKeyClass

public void setPrimKeyClass(java.lang.String _primKeyClass)
Parameters:
_primKeyClass -  

setPrimkeyField

public void setPrimkeyField(java.lang.String _primkeyField)
Parameters:
_primkeyField -  

setReentrant

public void setReentrant(boolean _reentrant)
Parameters:
_reentrant -  

setRemote

public void setRemote(java.lang.String _remote)
Parameters:
_remote -  

setResourceRef

public void setResourceRef(int index,
                           ResourceRef vResourceRef)
                    throws java.lang.IndexOutOfBoundsException
Parameters:
index -  
vResourceRef -  

setResourceRef

public void setResourceRef(ResourceRef[] resourceRefArray)
Parameters:
resourceRefArray -  

setSecurityRoleRef

public void setSecurityRoleRef(int index,
                               SecurityRoleRef vSecurityRoleRef)
                        throws java.lang.IndexOutOfBoundsException
Parameters:
index -  
vSecurityRoleRef -  

setSecurityRoleRef

public void setSecurityRoleRef(SecurityRoleRef[] securityRoleRefArray)
Parameters:
securityRoleRefArray -  

setSmallIcon

public void setSmallIcon(java.lang.String _smallIcon)
Parameters:
_smallIcon -  

unmarshal

public static Entity unmarshal(java.io.Reader reader)
                        throws org.exolab.castor.xml.MarshalException,
                               org.exolab.castor.xml.ValidationException
Parameters:
reader -  

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException