1 21 22 package org.apache.derby.impl.sql.compile; 23 24 import org.apache.derby.iapi.error.StandardException; 25 26 import org.apache.derby.impl.sql.execute.PrivilegeInfo; 27 import org.apache.derby.impl.sql.execute.RoutinePrivilegeInfo; 28 import org.apache.derby.iapi.sql.dictionary.AliasDescriptor; 29 30 import java.util.List ; 31 32 35 public class RoutineDesignator 36 { 37 boolean isSpecific; 38 TableName name; boolean isFunction; 45 List paramTypeList; 46 AliasDescriptor aliasDescriptor; 47 48 public RoutineDesignator( boolean isSpecific, 49 TableName name, 50 boolean isFunction, 51 List paramTypeList) 52 { 53 this.isSpecific = isSpecific; 54 this.name = name; 55 this.isFunction = isFunction; 56 this.paramTypeList = paramTypeList; 57 } 58 59 void setAliasDescriptor( AliasDescriptor aliasDescriptor) 60 { 61 this.aliasDescriptor = aliasDescriptor; 62 } 63 64 67 PrivilegeInfo makePrivilegeInfo() 68 { 69 return new RoutinePrivilegeInfo( aliasDescriptor); 70 } 71 } 72 | Popular Tags |