Class BasicProviderInfo
java.lang.Object
org.apache.derby.impl.sql.depend.BasicProviderInfo
- All Implemented Interfaces:
Externalizable, Serializable, Formatable, TypedFormat, ProviderInfo
This is the implementation of ProviderInfo in the DependencyManager.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DependableFinderprivate Stringprivate UUIDThis class implements Formatable. -
Constructor Summary
ConstructorsConstructorDescriptionPublic niladic constructor.BasicProviderInfo(UUID uuid, DependableFinder dFinder, String providerName) Make one of these puppies. -
Method Summary
Modifier and TypeMethodDescriptionGet the DependableFinder.Get the object idGet the provider's name.intGet the formatID which corresponds to this class.voidRead this object from a stream of stored objects.toString()voidWrite this object to a stream of stored objects.
-
Field Details
-
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. -
dFinder
-
providerName
-
-
Constructor Details
-
BasicProviderInfo
public BasicProviderInfo()Public niladic constructor. Needed for Formatable interface to work. -
BasicProviderInfo
BasicProviderInfo(UUID uuid, DependableFinder dFinder, String providerName) Make one of these puppies.- Parameters:
uuid- UUID of Provider.dFinder- DependableFinder for Provider.providerName- Name of the Provider.
-
-
Method Details
-
getDependableFinder
Description copied from interface:ProviderInfoGet the DependableFinder.- Specified by:
getDependableFinderin interfaceProviderInfo- See Also:
-
getObjectId
Description copied from interface:ProviderInfoGet the object id- Specified by:
getObjectIdin interfaceProviderInfo- See Also:
-
getProviderName
Description copied from interface:ProviderInfoGet the provider's name.- Specified by:
getProviderNamein interfaceProviderInfo- See Also:
-
readExternal
Read this object from a stream of stored objects.- Specified by:
readExternalin interfaceExternalizable- Parameters:
in- read this.- Throws:
IOException- thrown on errorClassNotFoundException- thrown on error
-
writeExternal
Write this object to a stream of stored objects.- Specified by:
writeExternalin interfaceExternalizable- Parameters:
out- write bytes here.- Throws:
IOException- thrown on error
-
getTypeFormatId
public int getTypeFormatId()Get the formatID which corresponds to this class.- Specified by:
getTypeFormatIdin interfaceTypedFormat- Returns:
- the formatID of this class
-
toString
-