@Portable public class DataModelerEvent extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
contextId |
protected DataObject |
currentDataObject |
protected ObjectProperty |
currentField |
protected Method |
currentMethod |
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 org.uberfire.backend.vfs.Path |
path |
protected String |
source |
| Constructor and Description |
|---|
DataModelerEvent() |
DataModelerEvent(DataObject currentDataObject) |
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() |
Method |
getCurrentMethod() |
org.guvnor.common.services.project.model.Project |
getCurrentProject() |
org.uberfire.backend.vfs.Path |
getPath() |
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 |
setCurrentMethod(Method currentMethod) |
void |
setCurrentProject(org.guvnor.common.services.project.model.Project currentProject) |
void |
setPath(org.uberfire.backend.vfs.Path path) |
void |
setSource(String source) |
DataModelerEvent |
withContextId(String contextId) |
DataModelerEvent |
withCurrentDataObject(DataObject currentDataObject) |
DataModelerEvent |
withCurrentField(ObjectProperty currentField) |
DataModelerEvent |
withCurrentMethod(Method currentMethod) |
DataModelerEvent |
withCurrentProject(org.guvnor.common.services.project.model.Project currentProject) |
DataModelerEvent |
withPath(org.uberfire.backend.vfs.Path path) |
DataModelerEvent |
withSource(String source) |
protected DataObject currentDataObject
protected ObjectProperty currentField
protected Method currentMethod
protected org.guvnor.common.services.project.model.Project currentProject
protected String source
protected String contextId
protected org.uberfire.backend.vfs.Path path
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(DataObject currentDataObject)
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 DataModelerEvent withCurrentDataObject(DataObject currentDataObject)
public void setCurrentDataObject(DataObject currentDataObject)
public ObjectProperty getCurrentField()
public DataModelerEvent withCurrentField(ObjectProperty currentField)
public void setCurrentField(ObjectProperty currentField)
public DataModelerEvent withCurrentProject(org.guvnor.common.services.project.model.Project currentProject)
public void setCurrentMethod(Method currentMethod)
public Method getCurrentMethod()
public DataModelerEvent withCurrentMethod(Method currentMethod)
public org.guvnor.common.services.project.model.Project getCurrentProject()
public void setCurrentProject(org.guvnor.common.services.project.model.Project currentProject)
public String getSource()
public DataModelerEvent withSource(String source)
public void setSource(String source)
public String getContextId()
public DataModelerEvent withContextId(String contextId)
public void setContextId(String contextId)
public org.uberfire.backend.vfs.Path getPath()
public DataModelerEvent withPath(org.uberfire.backend.vfs.Path path)
public void setPath(org.uberfire.backend.vfs.Path path)
public boolean isFrom(org.guvnor.common.services.project.model.Project project)
public boolean isFrom(String source)
public boolean isFromContext(String contextId)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.