org.openejb.config.ejb11
Class Entity

java.lang.Object
  extended byorg.openejb.config.ejb11.Entity
All Implemented Interfaces:
Serializable

public class Entity
extends Object
implements Serializable

Version:
$Revision: 1.1 $ $Date: 2004/03/01 07:14:43 $
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)
           
 Enumeration enumerateCmpField()
           
 Enumeration enumerateEjbRef()
           
 Enumeration enumerateEnvEntry()
           
 Enumeration enumerateResourceRef()
           
 Enumeration enumerateSecurityRoleRef()
           
 CmpField[] getCmpField()
           
 CmpField getCmpField(int index)
           
 int getCmpFieldCount()
           
 String getDescription()
           
 String getDisplayName()
           
 String getEjbClass()
           
 String getEjbName()
           
 EjbRef[] getEjbRef()
           
 EjbRef getEjbRef(int index)
           
 int getEjbRefCount()
           
 EnvEntry[] getEnvEntry()
           
 EnvEntry getEnvEntry(int index)
           
 int getEnvEntryCount()
           
 String getHome()
           
 String getId()
           
 String getLargeIcon()
           
 String getPersistenceType()
           
 String getPrimKeyClass()
           
 String getPrimkeyField()
           
 boolean getReentrant()
           
 String getRemote()
           
 ResourceRef[] getResourceRef()
           
 ResourceRef getResourceRef(int index)
           
 int getResourceRefCount()
           
 SecurityRoleRef[] getSecurityRoleRef()
           
 SecurityRoleRef getSecurityRoleRef(int index)
           
 int getSecurityRoleRefCount()
           
 String getSmallIcon()
           
 boolean hasReentrant()
           
 boolean isValid()
           
 void marshal(DocumentHandler handler)
           
 void marshal(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(String _description)
           
 void setDisplayName(String _displayName)
           
 void setEjbClass(String _ejbClass)
           
 void setEjbName(String _ejbName)
           
 void setEjbRef(EjbRef[] ejbRefArray)
           
 void setEjbRef(int index, EjbRef vEjbRef)
           
 void setEnvEntry(EnvEntry[] envEntryArray)
           
 void setEnvEntry(int index, EnvEntry vEnvEntry)
           
 void setHome(String _home)
           
 void setId(String _id)
           
 void setLargeIcon(String _largeIcon)
           
 void setPersistenceType(String _persistenceType)
           
 void setPrimKeyClass(String _primKeyClass)
           
 void setPrimkeyField(String _primkeyField)
           
 void setReentrant(boolean _reentrant)
           
 void setRemote(String _remote)
           
 void setResourceRef(int index, ResourceRef vResourceRef)
           
 void setResourceRef(ResourceRef[] resourceRefArray)
           
 void setSecurityRoleRef(int index, SecurityRoleRef vSecurityRoleRef)
           
 void setSecurityRoleRef(SecurityRoleRef[] securityRoleRefArray)
           
 void setSmallIcon(String _smallIcon)
           
static Entity unmarshal(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 IndexOutOfBoundsException
Parameters:
vCmpField -
Throws:
IndexOutOfBoundsException

addEjbRef

public void addEjbRef(EjbRef vEjbRef)
               throws IndexOutOfBoundsException
Parameters:
vEjbRef -
Throws:
IndexOutOfBoundsException

addEnvEntry

public void addEnvEntry(EnvEntry vEnvEntry)
                 throws IndexOutOfBoundsException
Parameters:
vEnvEntry -
Throws:
IndexOutOfBoundsException

addResourceRef

public void addResourceRef(ResourceRef vResourceRef)
                    throws IndexOutOfBoundsException
Parameters:
vResourceRef -
Throws:
IndexOutOfBoundsException

addSecurityRoleRef

public void addSecurityRoleRef(SecurityRoleRef vSecurityRoleRef)
                        throws IndexOutOfBoundsException
Parameters:
vSecurityRoleRef -
Throws:
IndexOutOfBoundsException

enumerateCmpField

public Enumeration enumerateCmpField()

enumerateEjbRef

public Enumeration enumerateEjbRef()

enumerateEnvEntry

public Enumeration enumerateEnvEntry()

enumerateResourceRef

public Enumeration enumerateResourceRef()

enumerateSecurityRoleRef

public Enumeration enumerateSecurityRoleRef()

getCmpField

public CmpField getCmpField(int index)
                     throws IndexOutOfBoundsException
Parameters:
index -
Throws:
IndexOutOfBoundsException

getCmpField

public CmpField[] getCmpField()

getCmpFieldCount

public int getCmpFieldCount()

getDescription

public String getDescription()

getDisplayName

public String getDisplayName()

getEjbClass

public String getEjbClass()

getEjbName

public String getEjbName()

getEjbRef

public EjbRef getEjbRef(int index)
                 throws IndexOutOfBoundsException
Parameters:
index -
Throws:
IndexOutOfBoundsException

getEjbRef

public EjbRef[] getEjbRef()

getEjbRefCount

public int getEjbRefCount()

getEnvEntry

public EnvEntry getEnvEntry(int index)
                     throws IndexOutOfBoundsException
Parameters:
index -
Throws:
IndexOutOfBoundsException

getEnvEntry

public EnvEntry[] getEnvEntry()

getEnvEntryCount

public int getEnvEntryCount()

getHome

public String getHome()

getId

public String getId()

getLargeIcon

public String getLargeIcon()

getPersistenceType

public String getPersistenceType()

getPrimKeyClass

public String getPrimKeyClass()

getPrimkeyField

public String getPrimkeyField()

getReentrant

public boolean getReentrant()

getRemote

public String getRemote()

getResourceRef

public ResourceRef getResourceRef(int index)
                           throws IndexOutOfBoundsException
Parameters:
index -
Throws:
IndexOutOfBoundsException

getResourceRef

public ResourceRef[] getResourceRef()

getResourceRefCount

public int getResourceRefCount()

getSecurityRoleRef

public SecurityRoleRef getSecurityRoleRef(int index)
                                   throws IndexOutOfBoundsException
Parameters:
index -
Throws:
IndexOutOfBoundsException

getSecurityRoleRef

public SecurityRoleRef[] getSecurityRoleRef()

getSecurityRoleRefCount

public int getSecurityRoleRefCount()

getSmallIcon

public String getSmallIcon()

hasReentrant

public boolean hasReentrant()

isValid

public boolean isValid()

marshal

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

marshal

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

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 IndexOutOfBoundsException
Parameters:
index -
vCmpField -
Throws:
IndexOutOfBoundsException

setCmpField

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

setDescription

public void setDescription(String _description)
Parameters:
_description -

setDisplayName

public void setDisplayName(String _displayName)
Parameters:
_displayName -

setEjbClass

public void setEjbClass(String _ejbClass)
Parameters:
_ejbClass -

setEjbName

public void setEjbName(String _ejbName)
Parameters:
_ejbName -

setEjbRef

public void setEjbRef(int index,
                      EjbRef vEjbRef)
               throws IndexOutOfBoundsException
Parameters:
index -
vEjbRef -
Throws:
IndexOutOfBoundsException

setEjbRef

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

setEnvEntry

public void setEnvEntry(int index,
                        EnvEntry vEnvEntry)
                 throws IndexOutOfBoundsException
Parameters:
index -
vEnvEntry -
Throws:
IndexOutOfBoundsException

setEnvEntry

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

setHome

public void setHome(String _home)
Parameters:
_home -

setId

public void setId(String _id)
Parameters:
_id -

setLargeIcon

public void setLargeIcon(String _largeIcon)
Parameters:
_largeIcon -

setPersistenceType

public void setPersistenceType(String _persistenceType)
Parameters:
_persistenceType -

setPrimKeyClass

public void setPrimKeyClass(String _primKeyClass)
Parameters:
_primKeyClass -

setPrimkeyField

public void setPrimkeyField(String _primkeyField)
Parameters:
_primkeyField -

setReentrant

public void setReentrant(boolean _reentrant)
Parameters:
_reentrant -

setRemote

public void setRemote(String _remote)
Parameters:
_remote -

setResourceRef

public void setResourceRef(int index,
                           ResourceRef vResourceRef)
                    throws IndexOutOfBoundsException
Parameters:
index -
vResourceRef -
Throws:
IndexOutOfBoundsException

setResourceRef

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

setSecurityRoleRef

public void setSecurityRoleRef(int index,
                               SecurityRoleRef vSecurityRoleRef)
                        throws IndexOutOfBoundsException
Parameters:
index -
vSecurityRoleRef -
Throws:
IndexOutOfBoundsException

setSecurityRoleRef

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

setSmallIcon

public void setSmallIcon(String _smallIcon)
Parameters:
_smallIcon -

unmarshal

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

validate

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


Copyright © 1999-2005 OpenEJB. All Rights Reserved.