org.openejb.config.ejb11
Class EjbDeployment

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

public class EjbDeployment
extends Object
implements Serializable

Version:
$Revision: 1.1 $ $Date: 2004/03/01 07:14:43 $
See Also:
Serialized Form

Constructor Summary
EjbDeployment()
           
 
Method Summary
 void addQuery(int index, Query vQuery)
           
 void addQuery(Query vQuery)
           
 void addResourceLink(int index, ResourceLink vResourceLink)
           
 void addResourceLink(ResourceLink vResourceLink)
           
 Enumeration enumerateQuery()
           
 Enumeration enumerateResourceLink()
           
 String getContainerId()
          Returns the value of field 'containerId'.
 String getDeploymentId()
          Returns the value of field 'deploymentId'.
 String getEjbName()
          Returns the value of field 'ejbName'.
 Query[] getQuery()
           
 Query getQuery(int index)
           
 int getQueryCount()
           
 ResourceLink[] getResourceLink()
           
 ResourceLink getResourceLink(int index)
           
 int getResourceLinkCount()
           
 boolean isValid()
           
 void marshal(DocumentHandler handler)
           
 void marshal(Writer out)
           
 void removeAllQuery()
           
 void removeAllResourceLink()
           
 Query removeQuery(int index)
           
 ResourceLink removeResourceLink(int index)
           
 void setContainerId(String containerId)
          Sets the value of field 'containerId'.
 void setDeploymentId(String deploymentId)
          Sets the value of field 'deploymentId'.
 void setEjbName(String ejbName)
          Sets the value of field 'ejbName'.
 void setQuery(int index, Query vQuery)
           
 void setQuery(Query[] queryArray)
           
 void setResourceLink(int index, ResourceLink vResourceLink)
           
 void setResourceLink(ResourceLink[] resourceLinkArray)
           
static EjbDeployment 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

EjbDeployment

public EjbDeployment()
Method Detail

addQuery

public void addQuery(Query vQuery)
              throws IndexOutOfBoundsException
Parameters:
vQuery -
Throws:
IndexOutOfBoundsException

addQuery

public void addQuery(int index,
                     Query vQuery)
              throws IndexOutOfBoundsException
Parameters:
index -
vQuery -
Throws:
IndexOutOfBoundsException

addResourceLink

public void addResourceLink(ResourceLink vResourceLink)
                     throws IndexOutOfBoundsException
Parameters:
vResourceLink -
Throws:
IndexOutOfBoundsException

addResourceLink

public void addResourceLink(int index,
                            ResourceLink vResourceLink)
                     throws IndexOutOfBoundsException
Parameters:
index -
vResourceLink -
Throws:
IndexOutOfBoundsException

enumerateQuery

public Enumeration enumerateQuery()

enumerateResourceLink

public Enumeration enumerateResourceLink()

getContainerId

public String getContainerId()
Returns the value of field 'containerId'.

Returns:
the value of field 'containerId'.

getDeploymentId

public String getDeploymentId()
Returns the value of field 'deploymentId'.

Returns:
the value of field 'deploymentId'.

getEjbName

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

Returns:
the value of field 'ejbName'.

getQuery

public Query getQuery(int index)
               throws IndexOutOfBoundsException
Parameters:
index -
Throws:
IndexOutOfBoundsException

getQuery

public Query[] getQuery()

getQueryCount

public int getQueryCount()

getResourceLink

public ResourceLink getResourceLink(int index)
                             throws IndexOutOfBoundsException
Parameters:
index -
Throws:
IndexOutOfBoundsException

getResourceLink

public ResourceLink[] getResourceLink()

getResourceLinkCount

public int getResourceLinkCount()

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

removeAllQuery

public void removeAllQuery()

removeAllResourceLink

public void removeAllResourceLink()

removeQuery

public Query removeQuery(int index)
Parameters:
index -

removeResourceLink

public ResourceLink removeResourceLink(int index)
Parameters:
index -

setContainerId

public void setContainerId(String containerId)
Sets the value of field 'containerId'.

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

setDeploymentId

public void setDeploymentId(String deploymentId)
Sets the value of field 'deploymentId'.

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

setEjbName

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

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

setQuery

public void setQuery(int index,
                     Query vQuery)
              throws IndexOutOfBoundsException
Parameters:
index -
vQuery -
Throws:
IndexOutOfBoundsException

setQuery

public void setQuery(Query[] queryArray)
Parameters:
queryArray -

setResourceLink

public void setResourceLink(int index,
                            ResourceLink vResourceLink)
                     throws IndexOutOfBoundsException
Parameters:
index -
vResourceLink -
Throws:
IndexOutOfBoundsException

setResourceLink

public void setResourceLink(ResourceLink[] resourceLinkArray)
Parameters:
resourceLinkArray -

unmarshal

public static EjbDeployment 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.