public class ConnectionDefinitionImpl extends java.lang.Object implements ConnectionDefinition
ConnectionDefinition.Attribute, ConnectionDefinition.Tag
Constructor and Description |
---|
ConnectionDefinitionImpl(XsdString managedconnectionfactoryClass,
java.util.List<? extends ConfigProperty> configProperty,
XsdString connectionfactoryInterface,
XsdString connectionfactoryImplClass,
XsdString connectionInterface,
XsdString connectionImplClass,
java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
CopyableMetaData |
copy()
Creates and returns a copy of this object.
|
boolean |
equals(java.lang.Object obj) |
void |
forceNewConfigPropertiesContent(java.util.List<? extends ConfigProperty> newContents)
force configProperties with new content.
|
java.util.List<? extends 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<? extends 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<? extends ConfigProperty> getConfigProperties()
getConfigProperties
in interface ConnectionDefinition
public void forceNewConfigPropertiesContent(java.util.List<? extends 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()
ConnectionDefinition
getId
in interface ConnectionDefinition
getId
in interface IdDecoratedMetadata
IdDecoratedMetadata.getId()
public int hashCode()
hashCode
in interface ConnectionDefinition
hashCode
in class java.lang.Object
Object.hashCode()
public boolean equals(java.lang.Object obj)
equals
in interface ConnectionDefinition
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public java.lang.String toString()
toString
in interface ConnectionDefinition
toString
in class java.lang.Object
Object.toString()
public ConnectionDefinition merge(MergeableMetadata<?> jmd) throws java.lang.Exception
MergeableMetadata
merge
in interface MergeableMetadata<ConnectionDefinition>
jmd
- The vendor metadatajava.lang.Exception
- Thrown if an error occurspublic CopyableMetaData copy()
CopyableMetaData
copy
in interface CopyableMetaData
Copyright © 2013 IronJacamar (http://www.ironjacamar.org)