Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.instance.extension.metadata
Class MetadataWorker

java.lang.Object
  extended by eu.esdihumboldt.hale.common.instance.extension.metadata.MetadataWorker

public class MetadataWorker
extends Object

Worker Class to generate metadatas from extensionpoints into Instances this class will first generate all Data-Generators and save them for use as long as instantiated. Every generator will then get the given instance and generate the data from it, then the data is put into the instance

Author:
Sebastian Reinhardt

Constructor Summary
MetadataWorker()
          constructor for the metadataworker, instantiates all possible metadata generators
 
Method Summary
 void generate(Collection<MutableInstance> instances)
          generates the data and puts it into a collection of instances
 void generate(MutableInstance instance)
          generates the data and puts it into the instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataWorker

public MetadataWorker()
constructor for the metadataworker, instantiates all possible metadata generators

Method Detail

generate

public void generate(MutableInstance instance)
generates the data and puts it into the instance

Parameters:
instance - the given instance

generate

public void generate(Collection<MutableInstance> instances)
generates the data and puts it into a collection of instances

Parameters:
instances - the given instances

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d