Top Description Fields Constructors Methods
org.apache.derby.impl.sql.depend

public Class BasicProviderInfo

extends Object
implements ProviderInfo
Class Inheritance
All Implemented Interfaces
org.apache.derby.iapi.sql.depend.ProviderInfo, org.apache.derby.iapi.services.io.Formatable, org.apache.derby.iapi.services.io.TypedFormat, java.io.Externalizable, java.io.Serializable
Imports
org.apache.derby.iapi.services.io.StoredFormatIds, .FormatableHashtable, org.apache.derby.iapi.sql.depend.ProviderInfo, org.apache.derby.shared.common.sanity.SanityManager, org.apache.derby.catalog.DependableFinder, .UUID, java.io.ObjectOutput, .ObjectInput, .IOException

This is the implementation of ProviderInfo in the DependencyManager.

Field Summary

Modifier and TypeField and Description
private DependableFinder
private String
private UUID
uuid

This class implements Formatable.

Constructor Summary

AccessConstructor and Description
public
BasicProviderInfo()

Public niladic constructor.

pack-priv
BasicProviderInfo(UUID
UUID of Provider.
uuid
,
DependableFinder
DependableFinder for Provider.
dFinder
,
String
Name of the Provider.
providerName
)

Make one of these puppies.

Method Summary

Modifier and TypeMethod and Description
public DependableFinder
public UUID
public String
public int

Returns:

the formatID of this class
getTypeFormatId
()

Implements org.apache.derby.iapi.services.io.TypedFormat.getTypeFormatId.

Get the formatID which corresponds to this class.

public void
readExternal(ObjectInput
read this.
in
)

Implements java.io.Externalizable.readExternal.

Read this object from a stream of stored objects.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

public void
writeExternal(ObjectOutput
write bytes here.
out
)

Implements java.io.Externalizable.writeExternal.

Write this object to a stream of stored objects.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

dFinderback to summary
private DependableFinder dFinder
providerNameback to summary
private String providerName
uuidback to summary
private UUID uuid

This class implements Formatable. That means that it can write itself to and from a formatted stream. If you add more fields to this class, make sure that you also write/read them with the writeExternal()/readExternal() methods. If, inbetween releases, you add more fields to this class, then you should bump the version number emitted by the getTypeFormatId() method.

Constructor Detail

BasicProviderInfoback to summary
public BasicProviderInfo()

Public niladic constructor. Needed for Formatable interface to work.

BasicProviderInfoback to summary
pack-priv BasicProviderInfo(UUID uuid, DependableFinder dFinder, String providerName)

Make one of these puppies.

Parameters
uuid:UUID

UUID of Provider.

dFinder:DependableFinder

DependableFinder for Provider.

providerName:String

Name of the Provider.

Method Detail

getDependableFinderback to summary
public DependableFinder getDependableFinder()

Implements org.apache.derby.iapi.sql.depend.ProviderInfo.getDependableFinder.

Doc from org.apache.derby.iapi.sql.depend.ProviderInfo.getDependableFinder.

Get the DependableFinder.

See Also
ProviderInfo#getDependableFinder
getObjectIdback to summary
public UUID getObjectId()

Implements org.apache.derby.iapi.sql.depend.ProviderInfo.getObjectId.

Doc from org.apache.derby.iapi.sql.depend.ProviderInfo.getObjectId.

Get the object id

See Also
ProviderInfo#getObjectId
getProviderNameback to summary
public String getProviderName()

Implements org.apache.derby.iapi.sql.depend.ProviderInfo.getProviderName.

Doc from org.apache.derby.iapi.sql.depend.ProviderInfo.getProviderName.

Get the provider's name.

See Also
ProviderInfo#getProviderName
getTypeFormatIdback to summary
public int getTypeFormatId()

Implements org.apache.derby.iapi.services.io.TypedFormat.getTypeFormatId.

Get the formatID which corresponds to this class.

Returns:int

the formatID of this class

readExternalback to summary
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException

Implements java.io.Externalizable.readExternal.

Read this object from a stream of stored objects.

Parameters
in:ObjectInput

read this.

Exceptions
IOException:
thrown on error
ClassNotFoundException:
thrown on error
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

writeExternalback to summary
public void writeExternal(ObjectOutput out) throws IOException

Implements java.io.Externalizable.writeExternal.

Write this object to a stream of stored objects.

Parameters
out:ObjectOutput

write bytes here.

Exceptions
IOException:
thrown on error