1 package org.objectstyle.cayenne.modeler.event; 2 57 58 import org.objectstyle.cayenne.access.DataDomain; 59 60 66 public class DomainDisplayEvent extends DisplayEvent { 67 protected DataDomain domain; 68 protected boolean domainChanged = true; 69 70 public DomainDisplayEvent(Object src, DataDomain domain) { 71 super(src); 72 this.domain = domain; 73 } 74 75 76 public DataDomain getDomain() { 77 return domain; 78 } 79 80 84 public void setDomain(DataDomain domain) { 85 this.domain = domain; 86 } 87 88 92 public boolean isDomainChanged() { 93 return domainChanged; 94 } 95 96 97 101 public void setDomainChanged(boolean domainChanged) { 102 this.domainChanged = domainChanged; 103 } 104 } | Popular Tags |