@Portable public class DataModelerEvent extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
contextId |
protected DataObject |
currentDataObject |
protected ObjectProperty |
currentField |
protected org.guvnor.common.services.project.model.Project |
currentProject |
static String |
DATA_MODEL_BROWSER |
static String |
DATA_OBJECT_BROWSER |
static String |
DATA_OBJECT_EDITOR |
protected String |
source |
| Constructor and Description |
|---|
DataModelerEvent() |
DataModelerEvent(org.guvnor.common.services.project.model.Project currentProject,
DataObject currentDataObject) |
DataModelerEvent(String source,
DataObject currentDataObject) |
DataModelerEvent(String contextId,
org.guvnor.common.services.project.model.Project currentProject,
DataObject currentDataObject) |
DataModelerEvent(String contextId,
String source,
DataObject currentDataObject) |
DataModelerEvent(String contextId,
String source,
DataObject currentDataObject,
ObjectProperty currentField) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContextId() |
DataObject |
getCurrentDataObject() |
ObjectProperty |
getCurrentField() |
org.guvnor.common.services.project.model.Project |
getCurrentProject() |
String |
getSource() |
boolean |
isFrom(org.guvnor.common.services.project.model.Project project) |
boolean |
isFrom(String source) |
boolean |
isFromContext(String contextId) |
void |
setContextId(String contextId) |
void |
setCurrentDataObject(DataObject currentDataObject) |
void |
setCurrentField(ObjectProperty currentField) |
void |
setCurrentProject(org.guvnor.common.services.project.model.Project currentProject) |
void |
setSource(String source) |
DataModelerEvent |
withCurrentDataObject(DataObject currentDataObject) |
protected DataObject currentDataObject
protected ObjectProperty currentField
protected org.guvnor.common.services.project.model.Project currentProject
protected String source
protected String contextId
public static final String DATA_MODEL_BROWSER
public static final String DATA_OBJECT_BROWSER
public static final String DATA_OBJECT_EDITOR
public DataModelerEvent()
public DataModelerEvent(String contextId, String source, DataObject currentDataObject)
public DataModelerEvent(String source, DataObject currentDataObject)
public DataModelerEvent(String contextId, String source, DataObject currentDataObject, ObjectProperty currentField)
public DataModelerEvent(String contextId, org.guvnor.common.services.project.model.Project currentProject, DataObject currentDataObject)
public DataModelerEvent(org.guvnor.common.services.project.model.Project currentProject,
DataObject currentDataObject)
public DataObject getCurrentDataObject()
public void setCurrentDataObject(DataObject currentDataObject)
public DataModelerEvent withCurrentDataObject(DataObject currentDataObject)
public ObjectProperty getCurrentField()
public void setCurrentField(ObjectProperty currentField)
public String getSource()
public void setSource(String source)
public org.guvnor.common.services.project.model.Project getCurrentProject()
public void setCurrentProject(org.guvnor.common.services.project.model.Project currentProject)
public boolean isFrom(org.guvnor.common.services.project.model.Project project)
public boolean isFrom(String source)
public boolean isFromContext(String contextId)
public String getContextId()
public void setContextId(String contextId)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.