org.jboss.jca.common.metadata.ra.common
Class ConnectionDefinition

java.lang.Object
  extended by org.jboss.jca.common.metadata.ra.common.ConnectionDefinition
All Implemented Interfaces:
Serializable, JCAMetadata, IdDecoratedMetadata

public class ConnectionDefinition
extends Object
implements IdDecoratedMetadata

Author:
Stefano Maestri
See Also:
Serialized Form

Nested Class Summary
static class ConnectionDefinition.Attribute
          A Attribute.
static class ConnectionDefinition.Tag
          A Tag.
 
Constructor Summary
ConnectionDefinition(XsdString managedconnectionfactoryClass, ArrayList<? extends ConfigProperty> configProperty, XsdString connectionfactoryInterface, XsdString connectionfactoryImplClass, XsdString connectionInterface, XsdString connectionImplClass, String id)
           
 
Method Summary
 boolean equals(Object obj)
          
 List<? extends ConfigProperty> getConfigProperty()
           
 XsdString getConnectionfactoryImplClass()
           
 XsdString getConnectionfactoryInterface()
           
 XsdString getConnectionImplClass()
           
 XsdString getConnectionInterface()
           
 String getId()
          Return the String representing xml ID
 XsdString getManagedconnectionfactoryClass()
           
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectionDefinition

public ConnectionDefinition(XsdString managedconnectionfactoryClass,
                            ArrayList<? extends ConfigProperty> configProperty,
                            XsdString connectionfactoryInterface,
                            XsdString connectionfactoryImplClass,
                            XsdString connectionInterface,
                            XsdString connectionImplClass,
                            String id)
Parameters:
managedconnectionfactoryClass - full qualified name of the class
configProperty - ArrayList of configproperties
connectionfactoryInterface - full qualified name of the factory interface
connectionfactoryImplClass - full qualified name of the factory implementation class
connectionInterface - full qualified name of the connection interface
connectionImplClass - full qualified name of the connection implementation class
id - XML ID
Method Detail

getManagedconnectionfactoryClass

public XsdString getManagedconnectionfactoryClass()
Returns:
managedconnectionfactoryClass

getConfigProperty

public List<? extends ConfigProperty> getConfigProperty()
Returns:
configProperty

getConnectionfactoryInterface

public XsdString getConnectionfactoryInterface()
Returns:
connectionfactoryInterface

getConnectionfactoryImplClass

public XsdString getConnectionfactoryImplClass()
Returns:
connectionfactoryImplClass

getConnectionInterface

public XsdString getConnectionInterface()
Returns:
connectionInterface

getConnectionImplClass

public XsdString getConnectionImplClass()
Returns:
connectionImplClass

getId

public String getId()
Return the String representing xml ID

Specified by:
getId in interface IdDecoratedMetadata
Returns:
the XML ID
See Also:
IdDecoratedMetadata.getId()

hashCode

public int hashCode()

Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

toString

public String toString()

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)