1 56 57 package org.objectstyle.cayenne.modeler.event; 58 59 import org.objectstyle.cayenne.access.DataDomain; 60 import org.objectstyle.cayenne.map.DataMap; 61 import org.objectstyle.cayenne.query.Query; 62 63 67 public class QueryDisplayEvent extends DataMapDisplayEvent { 68 protected Query query; 69 protected boolean queryChanged = true; 70 71 public QueryDisplayEvent(Object src, Query query, DataMap map, DataDomain domain) { 72 super(src, map, domain); 73 this.query = query; 74 } 75 76 public Query getQuery() { 77 return query; 78 } 79 80 public void setQuery(Query query) { 81 this.query = query; 82 } 83 84 public boolean isQueryChanged() { 85 return queryChanged; 86 } 87 88 public void setQueryChanged(boolean queryChanged) { 89 this.queryChanged = queryChanged; 90 } 91 } 92 | Popular Tags |