public class ConnectorImpl extends java.lang.Object implements Connector
Connector.Version
Constructor and Description |
---|
ConnectorImpl(Connector.Version version,
XsdString moduleName,
XsdString vendorName,
XsdString eisType,
XsdString resourceadapterVersion,
LicenseType license,
ResourceAdapter resourceadapter,
java.util.List<XsdString> requiredWorkContexts,
boolean metadataComplete,
java.util.List<LocalizedXsdString> description,
java.util.List<LocalizedXsdString> displayNames,
java.util.List<Icon> icons,
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) |
java.util.List<LocalizedXsdString> |
getDescriptions() |
java.util.List<LocalizedXsdString> |
getDisplayNames() |
XsdString |
getEisType()
Get the eisType.
|
java.util.List<Icon> |
getIcons() |
java.lang.String |
getId()
Return the String representing xml ID
|
LicenseType |
getLicense()
Get the license.
|
java.lang.String |
getModuleName() |
java.util.List<java.lang.String> |
getRequiredWorkContexts() |
ResourceAdapter |
getResourceadapter()
Get the resourceadapter.
|
XsdString |
getResourceadapterVersion() |
XsdString |
getVendorName()
Get the vendorName.
|
Connector.Version |
getVersion()
Get the version.
|
int |
hashCode() |
boolean |
isMetadataComplete() |
Connector |
merge(MergeableMetadata<?> inputMd)
Merge specification metadata with vendor metadata
|
java.lang.String |
toString() |
void |
validate()
Validate this metadata according validation required by specification
|
public ConnectorImpl(Connector.Version version, XsdString moduleName, XsdString vendorName, XsdString eisType, XsdString resourceadapterVersion, LicenseType license, ResourceAdapter resourceadapter, java.util.List<XsdString> requiredWorkContexts, boolean metadataComplete, java.util.List<LocalizedXsdString> description, java.util.List<LocalizedXsdString> displayNames, java.util.List<Icon> icons, java.lang.String id)
version
- The versionmoduleName
- name of the modulevendorName
- vendor nameeisType
- eis typeresourceadapterVersion
- version number for the RAlicense
- license informationresourceadapter
- full qualified name of the resource adapterrequiredWorkContexts
- list od work context requiredmetadataComplete
- not mandatory boolean valuedescription
- descriptions of this connectordisplayNames
- name to display for this connecotroicons
- icon representing this connectoreid
- XML IDpublic XsdString getVendorName()
getVendorName
in interface Connector
public XsdString getEisType()
getEisType
in interface Connector
public LicenseType getLicense()
getLicense
in interface Connector
public ResourceAdapter getResourceadapter()
getResourceadapter
in interface Connector
public java.util.List<LocalizedXsdString> getDescriptions()
getDescriptions
in interface Connector
public java.util.List<LocalizedXsdString> getDisplayNames()
getDisplayNames
in interface Connector
public java.util.List<Icon> getIcons()
public java.lang.String getId()
getId
in interface IdDecoratedMetadata
public XsdString getResourceadapterVersion()
getResourceadapterVersion
in interface Connector
public java.util.List<java.lang.String> getRequiredWorkContexts()
getRequiredWorkContexts
in interface Connector
public java.lang.String getModuleName()
getModuleName
in interface Connector
public boolean isMetadataComplete()
isMetadataComplete
in interface Connector
public Connector.Version getVersion()
getVersion
in interface Connector
public Connector merge(MergeableMetadata<?> inputMd) throws java.lang.Exception
merge
in interface MergeableMetadata<Connector>
inputMd
- The vendor metadatajava.lang.Exception
- Thrown if an error occurspublic CopyableMetaData copy()
copy
in interface CopyableMetaData
public void validate() throws ValidateException
validate
in interface ValidatableMetadata
ValidateException
- in case of validation failpublic 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)