1 21 22 package org.apache.derby.impl.sql.depend; 23 24 import org.apache.derby.iapi.sql.depend.Dependency; 25 import org.apache.derby.iapi.sql.depend.Dependent; 26 import org.apache.derby.iapi.sql.depend.Provider; 27 28 import org.apache.derby.catalog.UUID; 29 30 import org.apache.derby.iapi.error.StandardException; 31 32 40 class BasicDependency implements Dependency { 41 42 46 50 public UUID getProviderKey() { 51 return provider.getObjectID(); 52 } 53 54 58 public Provider getProvider() { 59 return provider; 60 } 61 62 66 public Dependent getDependent() { 67 return dependent; 68 } 69 70 BasicDependency(Dependent d, Provider p) { 74 dependent = d; 75 provider = p; 76 } 77 78 protected Provider provider; 82 protected Dependent dependent; 83 } 84 | Popular Tags |