home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2003 March / DPPCPRO0303.ISO / Components / Microsoft ASP / _SETUP.1 / ASPWizard.jar / asp / wizard / SubDBQueryData$JoinOb.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-11-20  |  2.7 KB  |  81 lines

  1. package asp.wizard;
  2.  
  3. public class SubDBQueryData$JoinOb {
  4.    // $FF: synthetic field
  5.    private final SubDBQueryData this$0;
  6.    private String _strSrcTable;
  7.    private String _strSrcField;
  8.    private String _strDstTable;
  9.    private String _strDstField;
  10.    private boolean _isWritten;
  11.  
  12.    SubDBQueryData$JoinOb(SubDBQueryData this$0, String srcTable, String srcField, String dstTable, String dstField) {
  13.       this.this$0 = this$0;
  14.       this.this$0 = this$0;
  15.       this._strSrcTable = srcTable;
  16.       this._strSrcField = srcField;
  17.       this._strDstTable = dstTable;
  18.       this._strDstField = dstField;
  19.       this._isWritten = false;
  20.    }
  21.  
  22.    SubDBQueryData$JoinOb(SubDBQueryData this$0) {
  23.       this.this$0 = this$0;
  24.       this.this$0 = this$0;
  25.    }
  26.  
  27.    public String buildOnClause() {
  28.       String result = "";
  29.       result = this._strSrcTable + "." + this._strSrcField + " = " + this._strDstTable + "." + this._strDstField;
  30.       return result;
  31.    }
  32.  
  33.    public SubDBQueryData$JoinOb cloneJoin() {
  34.       return new SubDBQueryData$JoinOb(this.this$0, this._strSrcTable, this._strSrcField, this._strDstTable, this._strDstField);
  35.    }
  36.  
  37.    public String getSrcTable() {
  38.       return this._strSrcTable;
  39.    }
  40.  
  41.    public String getSrcField() {
  42.       return this._strSrcField;
  43.    }
  44.  
  45.    public String getDstTable() {
  46.       return this._strDstTable;
  47.    }
  48.  
  49.    public String getDstField() {
  50.       return this._strDstField;
  51.    }
  52.  
  53.    public boolean getIsWritten() {
  54.       return this._isWritten;
  55.    }
  56.  
  57.    public String getText() {
  58.       return this._strSrcTable + "." + this._strSrcField + " -> " + this._strDstTable + "." + this._strDstField;
  59.    }
  60.  
  61.    public void setSrcTable(String s) {
  62.       this._strSrcTable = s;
  63.    }
  64.  
  65.    public void setSrcField(String s) {
  66.       this._strSrcField = s;
  67.    }
  68.  
  69.    public void setDstTable(String s) {
  70.       this._strDstTable = s;
  71.    }
  72.  
  73.    public void setDstField(String s) {
  74.       this._strDstField = s;
  75.    }
  76.  
  77.    public void setIsWritten(boolean b) {
  78.       this._isWritten = b;
  79.    }
  80. }
  81.