org.openejb.alt.config.ejb11
Class Entity

java.lang.Object
  extended by org.openejb.alt.config.ejb11.Entity
All Implemented Interfaces:
java.io.Serializable

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

Class Entity.

Version:
$Revision: 1312 $ $Date: 2004-08-14 03:35:39 -0700 (Sat, 14 Aug 2004) $
See Also:
Serialized Form

Constructor Summary
Entity()
           
 
Method Summary
 void addCmpField(CmpField vCmpField)
          Method addCmpField
 void addCmpField(int index, CmpField vCmpField)
          Method addCmpField
 void addEjbLocalRef(EjbLocalRef vEjbLocalRef)
          Method addEjbLocalRef
 void addEjbLocalRef(int index, EjbLocalRef vEjbLocalRef)
          Method addEjbLocalRef
 void addEjbRef(EjbRef vEjbRef)
          Method addEjbRef
 void addEjbRef(int index, EjbRef vEjbRef)
          Method addEjbRef
 void addEnvEntry(EnvEntry vEnvEntry)
          Method addEnvEntry
 void addEnvEntry(int index, EnvEntry vEnvEntry)
          Method addEnvEntry
 void addResourceRef(int index, ResourceRef vResourceRef)
          Method addResourceRef
 void addResourceRef(ResourceRef vResourceRef)
          Method addResourceRef
 void addSecurityRoleRef(int index, SecurityRoleRef vSecurityRoleRef)
          Method addSecurityRoleRef
 void addSecurityRoleRef(SecurityRoleRef vSecurityRoleRef)
          Method addSecurityRoleRef
 void deleteReentrant()
          Method deleteReentrant
 java.util.Enumeration enumerateCmpField()
          Method enumerateCmpField
 java.util.Enumeration enumerateEjbLocalRef()
          Method enumerateEjbLocalRef
 java.util.Enumeration enumerateEjbRef()
          Method enumerateEjbRef
 java.util.Enumeration enumerateEnvEntry()
          Method enumerateEnvEntry
 java.util.Enumeration enumerateResourceRef()
          Method enumerateResourceRef
 java.util.Enumeration enumerateSecurityRoleRef()
          Method enumerateSecurityRoleRef
 CmpField[] getCmpField()
          Method getCmpField
 CmpField getCmpField(int index)
          Method getCmpField
 int getCmpFieldCount()
          Method getCmpFieldCount
 java.lang.String getDescription()
          Returns the value of field 'description'.
 java.lang.String getDisplayName()
          Returns the value of field 'displayName'.
 java.lang.String getEjbClass()
          Returns the value of field 'ejbClass'.
 EjbLocalRef[] getEjbLocalRef()
          Method getEjbLocalRef
 EjbLocalRef getEjbLocalRef(int index)
          Method getEjbLocalRef
 int getEjbLocalRefCount()
          Method getEjbLocalRefCount
 java.lang.String getEjbName()
          Returns the value of field 'ejbName'.
 EjbRef[] getEjbRef()
          Method getEjbRef
 EjbRef getEjbRef(int index)
          Method getEjbRef
 int getEjbRefCount()
          Method getEjbRefCount
 EnvEntry[] getEnvEntry()
          Method getEnvEntry
 EnvEntry getEnvEntry(int index)
          Method getEnvEntry
 int getEnvEntryCount()
          Method getEnvEntryCount
 java.lang.String getHome()
          Returns the value of field 'home'.
 java.lang.String getId()
          Returns the value of field 'id'.
 java.lang.String getLargeIcon()
          Returns the value of field 'largeIcon'.
 java.lang.String getLocal()
          Returns the value of field 'local'.
 java.lang.String getLocalHome()
          Returns the value of field 'localHome'.
 java.lang.String getPersistenceType()
          Returns the value of field 'persistenceType'.
 java.lang.String getPrimKeyClass()
          Returns the value of field 'primKeyClass'.
 java.lang.String getPrimkeyField()
          Returns the value of field 'primkeyField'.
 boolean getReentrant()
          Returns the value of field 'reentrant'.
 java.lang.String getRemote()
          Returns the value of field 'remote'.
 ResourceRef[] getResourceRef()
          Method getResourceRef
 ResourceRef getResourceRef(int index)
          Method getResourceRef
 int getResourceRefCount()
          Method getResourceRefCount
 SecurityRoleRef[] getSecurityRoleRef()
          Method getSecurityRoleRef
 SecurityRoleRef getSecurityRoleRef(int index)
          Method getSecurityRoleRef
 int getSecurityRoleRefCount()
          Method getSecurityRoleRefCount
 java.lang.String getSmallIcon()
          Returns the value of field 'smallIcon'.
 boolean hasReentrant()
          Method hasReentrant
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void removeAllCmpField()
          Method removeAllCmpField
 void removeAllEjbLocalRef()
          Method removeAllEjbLocalRef
 void removeAllEjbRef()
          Method removeAllEjbRef
 void removeAllEnvEntry()
          Method removeAllEnvEntry
 void removeAllResourceRef()
          Method removeAllResourceRef
 void removeAllSecurityRoleRef()
          Method removeAllSecurityRoleRef
 CmpField removeCmpField(int index)
          Method removeCmpField
 EjbLocalRef removeEjbLocalRef(int index)
          Method removeEjbLocalRef
 EjbRef removeEjbRef(int index)
          Method removeEjbRef
 EnvEntry removeEnvEntry(int index)
          Method removeEnvEntry
 ResourceRef removeResourceRef(int index)
          Method removeResourceRef
 SecurityRoleRef removeSecurityRoleRef(int index)
          Method removeSecurityRoleRef
 void setCmpField(CmpField[] cmpFieldArray)
          Method setCmpField
 void setCmpField(int index, CmpField vCmpField)
          Method setCmpField
 void setDescription(java.lang.String description)
          Sets the value of field 'description'.
 void setDisplayName(java.lang.String displayName)
          Sets the value of field 'displayName'.
 void setEjbClass(java.lang.String ejbClass)
          Sets the value of field 'ejbClass'.
 void setEjbLocalRef(EjbLocalRef[] ejbLocalRefArray)
          Method setEjbLocalRef
 void setEjbLocalRef(int index, EjbLocalRef vEjbLocalRef)
          Method setEjbLocalRef
 void setEjbName(java.lang.String ejbName)
          Sets the value of field 'ejbName'.
 void setEjbRef(EjbRef[] ejbRefArray)
          Method setEjbRef
 void setEjbRef(int index, EjbRef vEjbRef)
          Method setEjbRef
 void setEnvEntry(EnvEntry[] envEntryArray)
          Method setEnvEntry
 void setEnvEntry(int index, EnvEntry vEnvEntry)
          Method setEnvEntry
 void setHome(java.lang.String home)
          Sets the value of field 'home'.
 void setId(java.lang.String id)
          Sets the value of field 'id'.
 void setLargeIcon(java.lang.String largeIcon)
          Sets the value of field 'largeIcon'.
 void setLocal(java.lang.String local)
          Sets the value of field 'local'.
 void setLocalHome(java.lang.String localHome)
          Sets the value of field 'localHome'.
 void setPersistenceType(java.lang.String persistenceType)
          Sets the value of field 'persistenceType'.
 void setPrimKeyClass(java.lang.String primKeyClass)
          Sets the value of field 'primKeyClass'.
 void setPrimkeyField(java.lang.String primkeyField)
          Sets the value of field 'primkeyField'.
 void setReentrant(boolean reentrant)
          Sets the value of field 'reentrant'.
 void setRemote(java.lang.String remote)
          Sets the value of field 'remote'.
 void setResourceRef(int index, ResourceRef vResourceRef)
          Method setResourceRef
 void setResourceRef(ResourceRef[] resourceRefArray)
          Method setResourceRef
 void setSecurityRoleRef(int index, SecurityRoleRef vSecurityRoleRef)
          Method setSecurityRoleRef
 void setSecurityRoleRef(SecurityRoleRef[] securityRoleRefArray)
          Method setSecurityRoleRef
 void setSmallIcon(java.lang.String smallIcon)
          Sets the value of field 'smallIcon'.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method 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
Method addCmpField

Parameters:
vCmpField -
Throws:
java.lang.IndexOutOfBoundsException

addCmpField

public void addCmpField(int index,
                        CmpField vCmpField)
                 throws java.lang.IndexOutOfBoundsException
Method addCmpField

Parameters:
index -
vCmpField -
Throws:
java.lang.IndexOutOfBoundsException

addEjbLocalRef

public void addEjbLocalRef(EjbLocalRef vEjbLocalRef)
                    throws java.lang.IndexOutOfBoundsException
Method addEjbLocalRef

Parameters:
vEjbLocalRef -
Throws:
java.lang.IndexOutOfBoundsException

addEjbLocalRef

public void addEjbLocalRef(int index,
                           EjbLocalRef vEjbLocalRef)
                    throws java.lang.IndexOutOfBoundsException
Method addEjbLocalRef

Parameters:
index -
vEjbLocalRef -
Throws:
java.lang.IndexOutOfBoundsException

addEjbRef

public void addEjbRef(EjbRef vEjbRef)
               throws java.lang.IndexOutOfBoundsException
Method addEjbRef

Parameters:
vEjbRef -
Throws:
java.lang.IndexOutOfBoundsException

addEjbRef

public void addEjbRef(int index,
                      EjbRef vEjbRef)
               throws java.lang.IndexOutOfBoundsException
Method addEjbRef

Parameters:
index -
vEjbRef -
Throws:
java.lang.IndexOutOfBoundsException

addEnvEntry

public void addEnvEntry(EnvEntry vEnvEntry)
                 throws java.lang.IndexOutOfBoundsException
Method addEnvEntry

Parameters:
vEnvEntry -
Throws:
java.lang.IndexOutOfBoundsException

addEnvEntry

public void addEnvEntry(int index,
                        EnvEntry vEnvEntry)
                 throws java.lang.IndexOutOfBoundsException
Method addEnvEntry

Parameters:
index -
vEnvEntry -
Throws:
java.lang.IndexOutOfBoundsException

addResourceRef

public void addResourceRef(ResourceRef vResourceRef)
                    throws java.lang.IndexOutOfBoundsException
Method addResourceRef

Parameters:
vResourceRef -
Throws:
java.lang.IndexOutOfBoundsException

addResourceRef

public void addResourceRef(int index,
                           ResourceRef vResourceRef)
                    throws java.lang.IndexOutOfBoundsException
Method addResourceRef

Parameters:
index -
vResourceRef -
Throws:
java.lang.IndexOutOfBoundsException

addSecurityRoleRef

public void addSecurityRoleRef(SecurityRoleRef vSecurityRoleRef)
                        throws java.lang.IndexOutOfBoundsException
Method addSecurityRoleRef

Parameters:
vSecurityRoleRef -
Throws:
java.lang.IndexOutOfBoundsException

addSecurityRoleRef

public void addSecurityRoleRef(int index,
                               SecurityRoleRef vSecurityRoleRef)
                        throws java.lang.IndexOutOfBoundsException
Method addSecurityRoleRef

Parameters:
index -
vSecurityRoleRef -
Throws:
java.lang.IndexOutOfBoundsException

deleteReentrant

public void deleteReentrant()
Method deleteReentrant


enumerateCmpField

public java.util.Enumeration enumerateCmpField()
Method enumerateCmpField


enumerateEjbLocalRef

public java.util.Enumeration enumerateEjbLocalRef()
Method enumerateEjbLocalRef

Returns:
Enumeration

enumerateEjbRef

public java.util.Enumeration enumerateEjbRef()
Method enumerateEjbRef


enumerateEnvEntry

public java.util.Enumeration enumerateEnvEntry()
Method enumerateEnvEntry


enumerateResourceRef

public java.util.Enumeration enumerateResourceRef()
Method enumerateResourceRef


enumerateSecurityRoleRef

public java.util.Enumeration enumerateSecurityRoleRef()
Method enumerateSecurityRoleRef


getCmpField

public CmpField getCmpField(int index)
                     throws java.lang.IndexOutOfBoundsException
Method getCmpField

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getCmpField

public CmpField[] getCmpField()
Method getCmpField


getCmpFieldCount

public int getCmpFieldCount()
Method getCmpFieldCount


getDescription

public java.lang.String getDescription()
Returns the value of field 'description'.

Returns:
the value of field 'description'.

getDisplayName

public java.lang.String getDisplayName()
Returns the value of field 'displayName'.

Returns:
the value of field 'displayName'.

getEjbClass

public java.lang.String getEjbClass()
Returns the value of field 'ejbClass'.

Returns:
the value of field 'ejbClass'.

getEjbLocalRef

public EjbLocalRef getEjbLocalRef(int index)
                           throws java.lang.IndexOutOfBoundsException
Method getEjbLocalRef

Parameters:
index -
Returns:
EjbLocalRef
Throws:
java.lang.IndexOutOfBoundsException

getEjbLocalRef

public EjbLocalRef[] getEjbLocalRef()
Method getEjbLocalRef

Returns:
EjbLocalRef

getEjbLocalRefCount

public int getEjbLocalRefCount()
Method getEjbLocalRefCount

Returns:
int

getEjbName

public java.lang.String getEjbName()
Returns the value of field 'ejbName'.

Returns:
the value of field 'ejbName'.

getEjbRef

public EjbRef getEjbRef(int index)
                 throws java.lang.IndexOutOfBoundsException
Method getEjbRef

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getEjbRef

public EjbRef[] getEjbRef()
Method getEjbRef


getEjbRefCount

public int getEjbRefCount()
Method getEjbRefCount


getEnvEntry

public EnvEntry getEnvEntry(int index)
                     throws java.lang.IndexOutOfBoundsException
Method getEnvEntry

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getEnvEntry

public EnvEntry[] getEnvEntry()
Method getEnvEntry


getEnvEntryCount

public int getEnvEntryCount()
Method getEnvEntryCount


getHome

public java.lang.String getHome()
Returns the value of field 'home'.

Returns:
the value of field 'home'.

getId

public java.lang.String getId()
Returns the value of field 'id'.

Returns:
the value of field 'id'.

getLargeIcon

public java.lang.String getLargeIcon()
Returns the value of field 'largeIcon'.

Returns:
the value of field 'largeIcon'.

getLocal

public java.lang.String getLocal()
Returns the value of field 'local'.

Returns:
String

getLocalHome

public java.lang.String getLocalHome()
Returns the value of field 'localHome'.

Returns:
String

getPersistenceType

public java.lang.String getPersistenceType()
Returns the value of field 'persistenceType'.

Returns:
the value of field 'persistenceType'.

getPrimKeyClass

public java.lang.String getPrimKeyClass()
Returns the value of field 'primKeyClass'.

Returns:
the value of field 'primKeyClass'.

getPrimkeyField

public java.lang.String getPrimkeyField()
Returns the value of field 'primkeyField'.

Returns:
the value of field 'primkeyField'.

getReentrant

public boolean getReentrant()
Returns the value of field 'reentrant'.

Returns:
the value of field 'reentrant'.

getRemote

public java.lang.String getRemote()
Returns the value of field 'remote'.

Returns:
the value of field 'remote'.

getResourceRef

public ResourceRef getResourceRef(int index)
                           throws java.lang.IndexOutOfBoundsException
Method getResourceRef

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getResourceRef

public ResourceRef[] getResourceRef()
Method getResourceRef


getResourceRefCount

public int getResourceRefCount()
Method getResourceRefCount


getSecurityRoleRef

public SecurityRoleRef getSecurityRoleRef(int index)
                                   throws java.lang.IndexOutOfBoundsException
Method getSecurityRoleRef

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getSecurityRoleRef

public SecurityRoleRef[] getSecurityRoleRef()
Method getSecurityRoleRef


getSecurityRoleRefCount

public int getSecurityRoleRefCount()
Method getSecurityRoleRefCount


getSmallIcon

public java.lang.String getSmallIcon()
Returns the value of field 'smallIcon'.

Returns:
the value of field 'smallIcon'.

hasReentrant

public boolean hasReentrant()
Method hasReentrant


isValid

public boolean isValid()
Method isValid


marshal

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

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeAllCmpField

public void removeAllCmpField()
Method removeAllCmpField


removeAllEjbLocalRef

public void removeAllEjbLocalRef()
Method removeAllEjbLocalRef


removeAllEjbRef

public void removeAllEjbRef()
Method removeAllEjbRef


removeAllEnvEntry

public void removeAllEnvEntry()
Method removeAllEnvEntry


removeAllResourceRef

public void removeAllResourceRef()
Method removeAllResourceRef


removeAllSecurityRoleRef

public void removeAllSecurityRoleRef()
Method removeAllSecurityRoleRef


removeCmpField

public CmpField removeCmpField(int index)
Method removeCmpField

Parameters:
index -

removeEjbLocalRef

public EjbLocalRef removeEjbLocalRef(int index)
Method removeEjbLocalRef

Parameters:
index -
Returns:
EjbLocalRef

removeEjbRef

public EjbRef removeEjbRef(int index)
Method removeEjbRef

Parameters:
index -

removeEnvEntry

public EnvEntry removeEnvEntry(int index)
Method removeEnvEntry

Parameters:
index -

removeResourceRef

public ResourceRef removeResourceRef(int index)
Method removeResourceRef

Parameters:
index -

removeSecurityRoleRef

public SecurityRoleRef removeSecurityRoleRef(int index)
Method removeSecurityRoleRef

Parameters:
index -

setCmpField

public void setCmpField(int index,
                        CmpField vCmpField)
                 throws java.lang.IndexOutOfBoundsException
Method setCmpField

Parameters:
index -
vCmpField -
Throws:
java.lang.IndexOutOfBoundsException

setCmpField

public void setCmpField(CmpField[] cmpFieldArray)
Method setCmpField

Parameters:
cmpFieldArray -

setDescription

public void setDescription(java.lang.String description)
Sets the value of field 'description'.

Parameters:
description - the value of field 'description'.

setDisplayName

public void setDisplayName(java.lang.String displayName)
Sets the value of field 'displayName'.

Parameters:
displayName - the value of field 'displayName'.

setEjbClass

public void setEjbClass(java.lang.String ejbClass)
Sets the value of field 'ejbClass'.

Parameters:
ejbClass - the value of field 'ejbClass'.

setEjbLocalRef

public void setEjbLocalRef(int index,
                           EjbLocalRef vEjbLocalRef)
                    throws java.lang.IndexOutOfBoundsException
Method setEjbLocalRef

Parameters:
index -
vEjbLocalRef -
Throws:
java.lang.IndexOutOfBoundsException

setEjbLocalRef

public void setEjbLocalRef(EjbLocalRef[] ejbLocalRefArray)
Method setEjbLocalRef

Parameters:
ejbLocalRefArray -

setEjbName

public void setEjbName(java.lang.String ejbName)
Sets the value of field 'ejbName'.

Parameters:
ejbName - the value of field 'ejbName'.

setEjbRef

public void setEjbRef(int index,
                      EjbRef vEjbRef)
               throws java.lang.IndexOutOfBoundsException
Method setEjbRef

Parameters:
index -
vEjbRef -
Throws:
java.lang.IndexOutOfBoundsException

setEjbRef

public void setEjbRef(EjbRef[] ejbRefArray)
Method setEjbRef

Parameters:
ejbRefArray -

setEnvEntry

public void setEnvEntry(int index,
                        EnvEntry vEnvEntry)
                 throws java.lang.IndexOutOfBoundsException
Method setEnvEntry

Parameters:
index -
vEnvEntry -
Throws:
java.lang.IndexOutOfBoundsException

setEnvEntry

public void setEnvEntry(EnvEntry[] envEntryArray)
Method setEnvEntry

Parameters:
envEntryArray -

setHome

public void setHome(java.lang.String home)
Sets the value of field 'home'.

Parameters:
home - the value of field 'home'.

setId

public void setId(java.lang.String id)
Sets the value of field 'id'.

Parameters:
id - the value of field 'id'.

setLargeIcon

public void setLargeIcon(java.lang.String largeIcon)
Sets the value of field 'largeIcon'.

Parameters:
largeIcon - the value of field 'largeIcon'.

setLocal

public void setLocal(java.lang.String local)
Sets the value of field 'local'.

Parameters:
local - the value of field 'local'.

setLocalHome

public void setLocalHome(java.lang.String localHome)
Sets the value of field 'localHome'.

Parameters:
localHome - the value of field 'localHome'.

setPersistenceType

public void setPersistenceType(java.lang.String persistenceType)
Sets the value of field 'persistenceType'.

Parameters:
persistenceType - the value of field 'persistenceType'.

setPrimKeyClass

public void setPrimKeyClass(java.lang.String primKeyClass)
Sets the value of field 'primKeyClass'.

Parameters:
primKeyClass - the value of field 'primKeyClass'.

setPrimkeyField

public void setPrimkeyField(java.lang.String primkeyField)
Sets the value of field 'primkeyField'.

Parameters:
primkeyField - the value of field 'primkeyField'.

setReentrant

public void setReentrant(boolean reentrant)
Sets the value of field 'reentrant'.

Parameters:
reentrant - the value of field 'reentrant'.

setRemote

public void setRemote(java.lang.String remote)
Sets the value of field 'remote'.

Parameters:
remote - the value of field 'remote'.

setResourceRef

public void setResourceRef(int index,
                           ResourceRef vResourceRef)
                    throws java.lang.IndexOutOfBoundsException
Method setResourceRef

Parameters:
index -
vResourceRef -
Throws:
java.lang.IndexOutOfBoundsException

setResourceRef

public void setResourceRef(ResourceRef[] resourceRefArray)
Method setResourceRef

Parameters:
resourceRefArray -

setSecurityRoleRef

public void setSecurityRoleRef(int index,
                               SecurityRoleRef vSecurityRoleRef)
                        throws java.lang.IndexOutOfBoundsException
Method setSecurityRoleRef

Parameters:
index -
vSecurityRoleRef -
Throws:
java.lang.IndexOutOfBoundsException

setSecurityRoleRef

public void setSecurityRoleRef(SecurityRoleRef[] securityRoleRefArray)
Method setSecurityRoleRef

Parameters:
securityRoleRefArray -

setSmallIcon

public void setSmallIcon(java.lang.String smallIcon)
Sets the value of field 'smallIcon'.

Parameters:
smallIcon - the value of field 'smallIcon'.

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

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

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 1999-2011 OpenEJB. All Rights Reserved.