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

  1. package asp.wizard.def;
  2.  
  3. public class DefUpdate extends DefAbstract {
  4.    private String _buttonAction;
  5.    private String _buttonType;
  6.    private int _buttonImage;
  7.    private String _buttonText;
  8.    private String _queryComponent;
  9.    private String _tableName;
  10.    private int _primaryKeyCount;
  11.    private String[] _primaryKeyFieldNames;
  12.    private String[] _primaryKeyFieldDataTypes;
  13.    private int _successPage;
  14.    private int _errorPage;
  15.  
  16.    public void setButtonAction(String buttonAction) {
  17.       this._buttonAction = buttonAction;
  18.    }
  19.  
  20.    public void setButtonType(String buttonType) {
  21.       this._buttonType = buttonType;
  22.    }
  23.  
  24.    public void setButtonImage(int buttonImage) {
  25.       this._buttonImage = buttonImage;
  26.    }
  27.  
  28.    public void setButtonText(String buttonText) {
  29.       this._buttonText = buttonText;
  30.    }
  31.  
  32.    public void setQueryComponent(String queryComponent) {
  33.       this._queryComponent = queryComponent;
  34.    }
  35.  
  36.    public void setTableName(String tableName) {
  37.       this._tableName = tableName;
  38.    }
  39.  
  40.    public void setPrimaryKeyCount(int primaryKeyCount) {
  41.       this._primaryKeyCount = primaryKeyCount;
  42.    }
  43.  
  44.    public void setPrimaryKeyFieldNames(String[] primaryKeyFieldNames) {
  45.       this._primaryKeyFieldNames = primaryKeyFieldNames;
  46.    }
  47.  
  48.    public void setPrimaryKeyFieldDataTypes(String[] primaryKeyFieldDataTypes) {
  49.       this._primaryKeyFieldDataTypes = primaryKeyFieldDataTypes;
  50.    }
  51.  
  52.    public void setSuccessPage(int successPage) {
  53.       this._successPage = successPage;
  54.    }
  55.  
  56.    public void setErrorPage(int errorPage) {
  57.       this._errorPage = errorPage;
  58.    }
  59.  
  60.    public String getButtonAction() {
  61.       return this._buttonAction;
  62.    }
  63.  
  64.    public String getButtonType() {
  65.       return this._buttonType;
  66.    }
  67.  
  68.    public String getButtonText() {
  69.       return this._buttonText;
  70.    }
  71.  
  72.    public String getQueryComponent() {
  73.       return this._queryComponent;
  74.    }
  75.  
  76.    public String getTableName() {
  77.       return this._tableName;
  78.    }
  79.  
  80.    public int getPrimaryKeyCount() {
  81.       return this._primaryKeyCount;
  82.    }
  83.  
  84.    public String[] getPrimaryKeyFieldNames() {
  85.       return this._primaryKeyFieldNames;
  86.    }
  87.  
  88.    public String[] getPrimarykeyFieldDataTypes() {
  89.       return this._primaryKeyFieldDataTypes;
  90.    }
  91.  
  92.    public int getSuccessPage() {
  93.       return this._successPage;
  94.    }
  95.  
  96.    public int getErrorPage() {
  97.       return this._errorPage;
  98.    }
  99.  
  100.    public String getBaseName() {
  101.       return "MSDBUpdate";
  102.    }
  103. }
  104.