public class ConnectionDefinitionImpl extends java.lang.Object implements ConnectionDefinition
Constructor and Description |
---|
ConnectionDefinitionImpl(XsdString managedconnectionfactoryClass,
java.util.List<ConfigProperty> configProperty,
XsdString connectionfactoryInterface,
XsdString connectionfactoryImplClass,
XsdString connectionInterface,
XsdString connectionImplClass,
java.lang.String id)
Constructor
|
Modifier and Type | Method and Description |
---|---|
CopyableMetaData |
copy()
Creates and returns a copy of this object.
|
boolean |
equals(java.lang.Object obj) |
void |
forceConfigProperties(java.util.List<ConfigProperty> newContents)
Force configProperties with new content.
|
java.util.List<ConfigProperty> |
getConfigProperties() |
XsdString |
getConnectionFactoryImplClass() |
XsdString |
getConnectionFactoryInterface() |
XsdString |
getConnectionImplClass() |
XsdString |
getConnectionInterface() |
java.lang.String |
getId()
Return the String representing xml ID
|
XsdString |
getManagedConnectionFactoryClass() |
int |
hashCode() |
ConnectionDefinition |
merge(MergeableMetadata<?> jmd)
Merge specification metadata with vendor metadata
|
java.lang.String |
toString() |
public ConnectionDefinitionImpl(XsdString managedconnectionfactoryClass, java.util.List<ConfigProperty> configProperty, XsdString connectionfactoryInterface, XsdString connectionfactoryImplClass, XsdString connectionInterface, XsdString connectionImplClass, java.lang.String id)
managedconnectionfactoryClass
- full qualified name of the classconfigProperty
- List of configpropertiesconnectionfactoryInterface
- full qualified name of the factory interfaceconnectionfactoryImplClass
- full qualified name of the factory implementation classconnectionInterface
- full qualified name of the connection interfaceconnectionImplClass
- full qualified name of the connection implementation classid
- XML IDpublic XsdString getManagedConnectionFactoryClass()
getManagedConnectionFactoryClass
in interface ConnectionDefinition
public java.util.List<ConfigProperty> getConfigProperties()
getConfigProperties
in interface ConnectionDefinition
public void forceConfigProperties(java.util.List<ConfigProperty> newContents)
newContents
- the list of new propertiespublic XsdString getConnectionFactoryInterface()
getConnectionFactoryInterface
in interface ConnectionDefinition
public XsdString getConnectionFactoryImplClass()
getConnectionFactoryImplClass
in interface ConnectionDefinition
public XsdString getConnectionInterface()
getConnectionInterface
in interface ConnectionDefinition
public XsdString getConnectionImplClass()
getConnectionImplClass
in interface ConnectionDefinition
public java.lang.String getId()
getId
in interface IdDecoratedMetadata
public ConnectionDefinition merge(MergeableMetadata<?> jmd) throws java.lang.Exception
merge
in interface MergeableMetadata<ConnectionDefinition>
jmd
- The vendor metadatajava.lang.Exception
- Thrown if an error occurspublic CopyableMetaData copy()
copy
in interface CopyableMetaData
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)