1 package com.daffodilwoods.daffodildb.server.sql99.expression.expressionprimary; 2 3 import com.daffodilwoods.daffodildb.server.sql99.utils._Reference; 4 import com.daffodilwoods.database.resource.DException; 5 import com.daffodilwoods.daffodildb.server.sql99.common.Datatypes; 6 import com.daffodilwoods.daffodildb.server.sql99.common.SimpleConstants; 7 import java.io.UnsupportedEncodingException ; 8 9 public class SequenceReference implements _Reference { 10 private String qualifiedSequenceName ; 11 12 public SequenceReference(String qualifiedSequenceName0) { 13 qualifiedSequenceName = qualifiedSequenceName0; 14 } 15 16 public String getColumn() throws DException { 17 return qualifiedSequenceName; 18 } 19 20 public String getQualifiedColumnName() throws DException { 21 return qualifiedSequenceName; 22 } 23 24 public int getDatatype() throws DException { 25 return Datatypes.LONG; 26 27 } 28 29 public int getReferenceType() throws DException { 30 return SimpleConstants.SEQUENCE; 31 } 32 33 public int getSize() throws DException { 34 return Datatypes.DOUBLESIZE; 35 } 36 37 public String getTriggerTableAlias() throws DException { 38 return null; 39 } 40 41 public int getIndex() throws DException { 42 throw new java.lang.UnsupportedOperationException ( "Method getIndex() not yet implemented."); 43 } 44 45 public String getReason() throws DException { 46 return null; 47 } 48 49 public void setDatatype(int type) throws DException { 50 51 } 52 53 public void setSize(int size0) throws DException { 54 55 } 56 57 public void setReason(String reason) throws DException { 58 59 } 60 61 public void setIndex(int index) throws DException { 62 63 } 64 65 66 boolean isCloned; 67 public boolean isCloned(){ 68 return isCloned; 69 } 70 public void setCloned(boolean isCloned0){ 71 isCloned=isCloned0; 72 } 73 74 } 75 | Popular Tags |