01: /*
02: * The contents of this file are subject to the terms of the Common Development
03: * and Distribution License (the License). You may not use this file except in
04: * compliance with the License.
05: *
06: * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
07: * or http://www.netbeans.org/cddl.txt.
08: *
09: * When distributing Covered Code, include this CDDL Header Notice in each file
10: * and include the License file at http://www.netbeans.org/cddl.txt.
11: * If applicable, add the following below the CDDL Header, with the fields
12: * enclosed by brackets [] replaced by your own identifying information:
13: * "Portions Copyrighted [year] [name of copyright owner]"
14: *
15: * The Original Software is NetBeans. The Initial Developer of the Original
16: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
17: * Microsystems, Inc. All Rights Reserved.
18: */
19:
20: /*
21: * Sun Public License Notice
22: *
23: * The contents of this file are subject to the Sun Public License
24: * Version 1.0 (the "License"). You may not use this file except in
25: * compliance with the License. A copy of the License is available at
26: * http://www.sun.com/
27: *
28: * The Original Code is NetBeans. The Initial Developer of the Original
29: * Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun
30: * Microsystems, Inc. All Rights Reserved.
31: */
32:
33: package org.netbeans.modules.sql.project.dbmodel;
34:
35: /**
36: * @author neenad
37: *
38: * To change the template for this generated type comment go to
39: * Window - Preferences - Java - Code Generation - Code and Comments
40: */
41: public interface WhereCondition {
42:
43: public String getColumnName();
44:
45: public void setColumnName(String newColName);
46:
47: public String getOperator();
48:
49: public String getLogicalOperator();
50:
51: public void setLogicalOperator(String newLogicalOper);
52:
53: public void setOperator(String newOper);
54:
55: public void setValue(String newVal);
56:
57: public String getValue();
58:
59: public String getColumnType();
60:
61: public void setColumnType(String newColType);
62:
63: public boolean getIsValueColumnName();
64:
65: public void setIsValueColumnName(boolean check);
66:
67: }
|