|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InstanceService
The InstanceService
provides Instance
s from different data
sets, e.g. the DataSet.SOURCE
and DataSet.TRANSFORMED
data
sets. It also triggers the transformation of the source to the target data
set.
Field Summary | |
---|---|
static String |
ACTION_READ_SOURCEDATA
The action id used for reading source data. |
Method Summary | |
---|---|
void |
addListener(InstanceServiceListener listener)
Adds an instance service listener |
void |
addSourceInstances(InstanceCollection sourceInstances)
Add instances to the DataSet.SOURCE data set |
void |
clearInstances()
This will remove all instances from the service. |
InstanceCollection |
getInstances(DataSet dataset)
Get the instances from the given data set |
Set<TypeDefinition> |
getInstanceTypes(DataSet dataset)
Get the types for which instances are present in the given data set |
boolean |
isTransformationEnabled()
Get if live transformation of source data is enabled. |
void |
removeListener(InstanceServiceListener listener)
Removes an instance service listener |
void |
setTransformationEnabled(boolean enabled)
Set if live transformation of source data is enabled. |
Methods inherited from interface eu.esdihumboldt.hale.common.instance.model.InstanceResolver |
---|
getInstance, getReference |
Field Detail |
---|
static final String ACTION_READ_SOURCEDATA
Method Detail |
---|
InstanceCollection getInstances(DataSet dataset)
dataset
- the data set
Set<TypeDefinition> getInstanceTypes(DataSet dataset)
dataset
- the data set
void addSourceInstances(InstanceCollection sourceInstances)
DataSet.SOURCE
data set
sourceInstances
- the instances to addvoid setTransformationEnabled(boolean enabled)
enabled
- if transformation is enabledboolean isTransformationEnabled()
void clearInstances()
void addListener(InstanceServiceListener listener)
listener
- the listener to addvoid removeListener(InstanceServiceListener listener)
listener
- the listener to remove
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |