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

java.lang.Object
  extended by org.jboss.jca.common.metadata.ra.common.Connector
All Implemented Interfaces:
Serializable, JCAMetadata, IdDecoratedMetadata
Direct Known Subclasses:
Connector10, Connector15

public abstract class Connector
extends Object
implements IdDecoratedMetadata

A Connector.

Author:
Stefano Maestri
See Also:
Serialized Form

Field Summary
protected  XsdString eisType
          EIS type
protected  String id
          id attribute
protected  LicenseType license
          license information
protected  ResourceAdapter resourceadapter
          resource adapter
protected  XsdString vendorName
          vendor name
 
Constructor Summary
protected Connector(XsdString vendorName, XsdString eisType, LicenseType license, ResourceAdapter resourceadapter, String id)
          Create a new Connector.
 
Method Summary
 boolean equals(Object obj)
           
 XsdString getEisType()
          Get the eisType.
 String getId()
          Get the id.
 LicenseType getLicense()
          Get the license.
 ResourceAdapter getResourceadapter()
          Get the resourceadapter.
 XsdString getVendorName()
          Get the vendorName.
abstract  String getVersion()
          Get the version.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

vendorName

protected final XsdString vendorName
vendor name


eisType

protected final XsdString eisType
EIS type


license

protected final LicenseType license
license information


resourceadapter

protected final ResourceAdapter resourceadapter
resource adapter


id

protected final String id
id attribute

Constructor Detail

Connector

protected Connector(XsdString vendorName,
                    XsdString eisType,
                    LicenseType license,
                    ResourceAdapter resourceadapter,
                    String id)
Create a new Connector.

Parameters:
vendorName - vandor name
eisType - tyeo of EIS
license - license information
resourceadapter - resource adapter instance
id - id attribute in xml file
Method Detail

getVendorName

public XsdString getVendorName()
Get the vendorName.

Returns:
the vendorName.

getEisType

public XsdString getEisType()
Get the eisType.

Returns:
the eisType.

getLicense

public LicenseType getLicense()
Get the license.

Returns:
the license.

getResourceadapter

public ResourceAdapter getResourceadapter()
Get the resourceadapter.

Returns:
the resourceadapter.

getVersion

public abstract String getVersion()
Get the version.

Returns:
the version.

getId

public String getId()
Get the id.

Specified by:
getId in interface IdDecoratedMetadata
Returns:
the id.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


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