org.apache.derby.iapi.sql.dictionary
Class DependencyDescriptor

java.lang.Object
  extended by org.apache.derby.iapi.sql.dictionary.TupleDescriptor
      extended by org.apache.derby.iapi.sql.dictionary.DependencyDescriptor
All Implemented Interfaces:
UniqueTupleDescriptor

public class DependencyDescriptor
extends TupleDescriptor
implements UniqueTupleDescriptor

DependencyDescriptor represents a persistent dependency between SQL objects, such as a TRIGGER being dependent on a TABLE. A DependencyDescriptor is stored in SYSDEPENDS as four separate columms corresponding to the getters of this class.


Field Summary
private  DependableFinder dependentBloodhound
           
private  UUID dependentID
          public interface for this class is: public DependableFinder getDependentFinder(); public UUID getProviderID(); public DependableFinder getProviderFinder();
private  DependableFinder providerBloodhound
           
private  UUID providerID
           
 
Constructor Summary
DependencyDescriptor(Dependent dependent, Provider provider)
          Constructor for a DependencyDescriptor
DependencyDescriptor(UUID dependentID, DependableFinder dependentBloodhound, UUID providerID, DependableFinder providerBloodhound)
          Constructor for a DependencyDescriptor
 
Method Summary
 DependableFinder getDependentFinder()
          Get the dependent's type for the dependency.
 DependableFinder getProviderFinder()
          Get the provider's type for the dependency.
 UUID getProviderID()
          Get the provider's ID for the dependency.
 UUID getUUID()
          Get the dependent's ID for the dependency.
 
Methods inherited from class org.apache.derby.iapi.sql.dictionary.TupleDescriptor
getColumnDependableFinder, getDataDictionary, getDependableFinder, getDescriptorName, getDescriptorType, isPersistent, setDataDictionary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dependentID

private final UUID dependentID
public interface for this class is:
  1. public DependableFinder getDependentFinder();
  2. public UUID getProviderID();
  3. public DependableFinder getProviderFinder();


dependentBloodhound

private final DependableFinder dependentBloodhound

providerID

private final UUID providerID

providerBloodhound

private final DependableFinder providerBloodhound
Constructor Detail

DependencyDescriptor

public DependencyDescriptor(Dependent dependent,
                            Provider provider)
Constructor for a DependencyDescriptor

Parameters:
dependent - The Dependent
provider - The Provider

DependencyDescriptor

public DependencyDescriptor(UUID dependentID,
                            DependableFinder dependentBloodhound,
                            UUID providerID,
                            DependableFinder providerBloodhound)
Constructor for a DependencyDescriptor

Parameters:
dependentID - The Dependent ID
dependentBloodhound - The bloodhound for finding the Dependent
providerID - The Provider ID
providerBloodhound - The bloodhound for finding the Provider
Method Detail

getUUID

public UUID getUUID()
Get the dependent's ID for the dependency.

Specified by:
getUUID in interface UniqueTupleDescriptor
Returns:
The dependent's ID.

getDependentFinder

public DependableFinder getDependentFinder()
Get the dependent's type for the dependency.

Returns:
The dependent's type.

getProviderID

public UUID getProviderID()
Get the provider's ID for the dependency.

Returns:
The provider's ID.

getProviderFinder

public DependableFinder getProviderFinder()
Get the provider's type for the dependency.

Returns:
The provider's type.

Built on Thu 2010-12-23 20:49:13+0000, from revision ???

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