home *** CD-ROM | disk | FTP | other *** search
- package asp.wizard;
-
- public class SubDBQueryData$WhereOb {
- // $FF: synthetic field
- private final SubDBQueryData this$0;
- private String _strField;
- private String _strFilter;
- private String _strValue;
- private String _strPrefix;
- private String _strSuffix;
-
- SubDBQueryData$WhereOb(SubDBQueryData this$0, String strPrefix, String strField, String strFilter, String strValue, String strSuffix) {
- this.this$0 = this$0;
- this.this$0 = this$0;
- this._strField = strField;
- this._strFilter = strFilter;
- this._strValue = strValue;
- this._strPrefix = strPrefix;
- this._strSuffix = strSuffix;
- }
-
- public String getPrefix() {
- return this._strPrefix;
- }
-
- public String getField() {
- return this._strField;
- }
-
- public String getFilter() {
- return this._strFilter;
- }
-
- public String getValue() {
- return this._strValue;
- }
-
- public String getSuffix() {
- return this._strSuffix;
- }
-
- public String buildClause() {
- String result = "";
- if (this._strPrefix != null) {
- result = result + this._strPrefix;
- }
-
- result = result + this._strField + this._strFilter + this._strValue;
- if (this._strSuffix != null) {
- result = result + this._strSuffix;
- }
-
- return result;
- }
-
- public boolean validateClause() {
- return true;
- }
- }
-