org.jboss.metadata.rar.spec
Class ConnectorMetaData

java.lang.Object
  extended by org.jboss.metadata.javaee.support.IdMetaDataImpl
      extended by org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup
          extended by org.jboss.metadata.rar.spec.ConnectorMetaData
All Implemented Interfaces:
Serializable, Cloneable, IdMetaData
Direct Known Subclasses:
JCA15MetaData, JCA16MetaData

public class ConnectorMetaData
extends IdMetaDataImplWithDescriptionGroup

Connector meta data

Version:
$Revision: 83806 $
Author:
Adrian Brock, Jeff Zhang
See Also:
Serialized Form

Constructor Summary
ConnectorMetaData()
           
 
Method Summary
 String getDtdPublicId()
          Get the DTD public id if one was seen
 String getDtdSystemId()
          Get the DTD system id if one was seen
 String getEISType()
          Get the eis type
 LicenseMetaData getLicense()
          Get the license
 ResourceAdapterMetaData getRa()
           
 String getRAVersion()
          Get the resource adapter version
 String getVendorName()
          Get the vendor name
 String getVersion()
          Get the connector version
 boolean is10()
          Is this a servlet 2.3 version application
 boolean is15()
           
 boolean is16()
           
 void setDTD(String root, String publicId, String systemId)
          Callback for the DTD information
 void setEISType(String eisType)
          Set the eis Type
 void setLicense(LicenseMetaData lmd)
          Get the license
 void setRa(ResourceAdapterMetaData ra)
           
 void setRAVersion(String version)
          Set the resource adapter version
 void setVendorName(String vendorName)
          Set the vendor name
 void setVersion(String version)
          Set the connector version
 String toString()
           
 
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup
getDescriptionGroup, merge, setDescriptionGroup
 
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImpl
clone, equals, getId, hashCode, merge, merge, setId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectorMetaData

public ConnectorMetaData()
Method Detail

setDTD

public void setDTD(String root,
                   String publicId,
                   String systemId)
Callback for the DTD information

Parameters:
root -
publicId -
systemId -

getDtdPublicId

public String getDtdPublicId()
Get the DTD public id if one was seen

Returns:
the value of the web.xml dtd public id

getDtdSystemId

public String getDtdSystemId()
Get the DTD system id if one was seen

Returns:
the value of the web.xml dtd system id

getVersion

public String getVersion()
Get the connector version

Returns:
the connector version

setVersion

public void setVersion(String version)
Set the connector version

Parameters:
version - the connector version

is10

public boolean is10()
Is this a servlet 2.3 version application

Returns:
true if this is a javaee 2.3 version application

is15

public boolean is15()

is16

public boolean is16()

getVendorName

public String getVendorName()
Get the vendor name

Returns:
the vendor name

setVendorName

public void setVendorName(String vendorName)
Set the vendor name

Parameters:
vendorName - the vendor name

getEISType

public String getEISType()
Get the eis type

Returns:
the eis type

setEISType

public void setEISType(String eisType)
Set the eis Type

Parameters:
eisType - the eis type

getRAVersion

public String getRAVersion()
Get the resource adapter version

Returns:
the resource adapter version

setRAVersion

public void setRAVersion(String version)
Set the resource adapter version

Parameters:
version - the resource adapter version

getLicense

public LicenseMetaData getLicense()
Get the license

Returns:
the license

setLicense

public void setLicense(LicenseMetaData lmd)
Get the license


setRa

public void setRa(ResourceAdapterMetaData ra)
           throws Exception
Throws:
Exception

getRa

public ResourceAdapterMetaData getRa()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.