|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PopulationService
Service for tracking instance population.
Method Summary | |
---|---|
void |
addListener(PopulationListener listener)
Adds a listener for population events. |
void |
addToPopulation(Instance instance)
Add an instance to the population. |
void |
addToPopulation(Instance instance,
DataSet dataSet)
Add an instance to the population, explicitly specifying the associated data set. |
Population |
getPopulation(EntityDefinition entity)
Get the population count for the given entity. |
boolean |
hasPopulation(SchemaSpaceID schemaSpace)
Determines if there is any population for the given schema space. |
void |
removeListener(PopulationListener listener)
Removes a listener for population events. |
void |
resetPopulation(DataSet dataSet)
Reset the population of the given data set |
Method Detail |
---|
Population getPopulation(EntityDefinition entity)
entity
- the entity
void addToPopulation(Instance instance)
instance
- the instance, it has to have a valid associated data setvoid addToPopulation(Instance instance, DataSet dataSet)
instance
- the instancedataSet
- the data set the instance belongs tovoid resetPopulation(DataSet dataSet)
dataSet
- the data setvoid addListener(PopulationListener listener)
listener
- the listenervoid removeListener(PopulationListener listener)
listener
- the listenerboolean hasPopulation(SchemaSpaceID schemaSpace)
schemaSpace
- the schema space
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |