public class InstanceValidationServiceImpl extends InstanceServiceAdapter implements InstanceValidationService
Constructor and Description |
---|
InstanceValidationServiceImpl(InstanceService instanceService,
ReportService reportService)
Creates the instance validation service.
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(InstanceValidationListener listener)
Adds a listener.
|
void |
datasetAboutToChange(DataSet type)
Called when a data set is about to change.
|
void |
datasetChanged(DataSet type)
Called when a data set has changed
|
boolean |
isValidationEnabled()
Returns whether the automatic instance validation after each
transformation is enabled.
|
void |
removeListener(InstanceValidationListener listener)
Removes a listener.
|
void |
setValidationEnabled(boolean enable)
Set whether the automatic instance validation after each transformation
is enabled.
|
transformationToggled
public InstanceValidationServiceImpl(InstanceService instanceService, ReportService reportService)
instanceService
- the instance service to usereportService
- the report service to usepublic void datasetChanged(DataSet type)
InstanceServiceListener
datasetChanged
in interface InstanceServiceListener
datasetChanged
in class InstanceServiceAdapter
type
- the data set typeInstanceServiceListener.datasetChanged(DataSet)
public void datasetAboutToChange(DataSet type)
InstanceServiceListener
datasetAboutToChange
in interface InstanceServiceListener
datasetAboutToChange
in class InstanceServiceAdapter
type
- the data set typeInstanceServiceAdapter.datasetAboutToChange(DataSet)
public void addListener(InstanceValidationListener listener)
InstanceValidationService
addListener
in interface InstanceValidationService
listener
- the listener to addInstanceValidationService.addListener(eu.esdihumboldt.hale.ui.service.instance.validation.InstanceValidationListener)
public void removeListener(InstanceValidationListener listener)
InstanceValidationService
removeListener
in interface InstanceValidationService
listener
- the listener to removeInstanceValidationService.removeListener(eu.esdihumboldt.hale.ui.service.instance.validation.InstanceValidationListener)
public boolean isValidationEnabled()
InstanceValidationService
isValidationEnabled
in interface InstanceValidationService
InstanceValidationService.isValidationEnabled()
public void setValidationEnabled(boolean enable)
InstanceValidationService
setValidationEnabled
in interface InstanceValidationService
enable
- whether the automatic instance validation after each
transformation is enabledInstanceValidationService.setValidationEnabled(boolean)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a