org.apache.derby.impl.sql.depend
Class BasicDependency

java.lang.Object
  extended by 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.


Field Summary
private  Dependent dependent
           
private  Provider provider
           
 
Constructor Summary
BasicDependency(Dependent d, Provider p)
           
 
Method Summary
 Dependent getDependent()
          return the dependent for this dependency.
 Provider getProvider()
          return the provider for this dependency.
 UUID getProviderKey()
          return the provider's key for this dependency.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

provider

private final Provider provider

dependent

private final Dependent dependent
Constructor Detail

BasicDependency

BasicDependency(Dependent d,
                Provider p)
Method Detail

getProviderKey

public UUID getProviderKey()
return the provider's key for this dependency.

Specified by:
getProviderKey in interface Dependency
Returns:
the provider' key for this dependency

getProvider

public Provider getProvider()
return the provider for this dependency.

Specified by:
getProvider in interface Dependency
Returns:
the provider for this dependency

getDependent

public Dependent getDependent()
return the dependent for this dependency.

Specified by:
getDependent in interface Dependency
Returns:
the dependent for this dependency

Built on Thu 2011-03-10 11:54:14+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.