Package org.apache.derby.impl.sql.depend
Class BasicDependency
- java.lang.Object
-
- org.apache.derby.impl.sql.depend.BasicDependency
-
- All Implemented Interfaces:
Dependency
class BasicDependency extends java.lang.Object implements Dependency
A dependency represents a reliance of the dependent on the provider for some information the dependent contains or uses. In Language, the usual case is a prepared statement using information about a schema object in its executable form. It needs to be notified if the schema object changes, so that it can recompile against the new information.
-
-
Constructor Summary
Constructors Constructor Description BasicDependency(Dependent d, Provider p)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DependentgetDependent()return the dependent for this dependency.ProvidergetProvider()return the provider for this dependency.UUIDgetProviderKey()return the provider's key for this dependency.
-
-
-
Method Detail
-
getProviderKey
public UUID getProviderKey()
return the provider's key for this dependency.- Specified by:
getProviderKeyin interfaceDependency- Returns:
- the provider' key for this dependency
-
getProvider
public Provider getProvider()
return the provider for this dependency.- Specified by:
getProviderin interfaceDependency- Returns:
- the provider for this dependency
-
getDependent
public Dependent getDependent()
return the dependent for this dependency.- Specified by:
getDependentin interfaceDependency- Returns:
- the dependent for this dependency
-
-