|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.ui.common.service.population.impl.AbstractPopulationService
eu.esdihumboldt.hale.ui.service.population.internal.PopulationServiceImpl
public class PopulationServiceImpl
Service that stores information about population count.
Constructor Summary | |
---|---|
PopulationServiceImpl(InstanceService instanceService)
Create a population service instance. |
Method Summary | |
---|---|
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 |
resetPopulation(DataSet dataSet)
Reset the population of the given data set |
Methods inherited from class eu.esdihumboldt.hale.ui.common.service.population.impl.AbstractPopulationService |
---|
addListener, firePopulationChanged, removeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PopulationServiceImpl(InstanceService instanceService)
instanceService
- the instance serviceMethod Detail |
---|
public Population getPopulation(EntityDefinition entity)
PopulationService
entity
- the entity
PopulationService.getPopulation(EntityDefinition)
public boolean hasPopulation(SchemaSpaceID schemaSpace)
PopulationService
schemaSpace
- the schema space
PopulationService.hasPopulation(SchemaSpaceID)
public void addToPopulation(Instance instance)
PopulationService
instance
- the instance, it has to have a valid associated data setPopulationService.addToPopulation(Instance)
public void addToPopulation(Instance instance, DataSet dataSet)
PopulationService
instance
- the instancedataSet
- the data set the instance belongs toPopulationService.addToPopulation(Instance, DataSet)
public void resetPopulation(DataSet dataSet)
PopulationService
dataSet
- the data setPopulationService.resetPopulation(DataSet)
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |