edu.iu.iv.common.util.algorithmview
Class DataComponentMap

java.lang.Object
  |
  +--java.util.AbstractMap
        |
        +--java.util.HashMap
              |
              +--edu.iu.iv.common.util.algorithmview.DataComponentMap
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class DataComponentMap
extends java.util.HashMap

A Map that analyzes the Algorithm, Validator, and Labeller methods and puts the appropriate data into a map that maps from label to ComponentData. The component data simply agregates all data needed for each label.

Author:
Team IVC
See Also:
Serialized Form

Nested Class Summary
 class DataComponentMap.ComponentData
          A helper class that holds all specific data for each legally defined option from the inputted algorithm class.
 
Constructor Summary
DataComponentMap(Algorithm algorithm, java.lang.Object validator, java.lang.Object descriptor)
          Given an algorithm, validator and labeller, creates a map from label to ComponentData.
DataComponentMap(Algorithm algorithm, java.lang.Object validator, java.lang.Object descriptor, java.lang.Object labeller)
          Given an algorithm, validator and labeller, creates a map from label to ComponentData.
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

DataComponentMap

public DataComponentMap(Algorithm algorithm,
                        java.lang.Object validator,
                        java.lang.Object descriptor)
Given an algorithm, validator and labeller, creates a map from label to ComponentData.

Parameters:
algorithm - the algorithm to analyze
validator - the validator to analyze
descriptor - the descriptor to analyze

DataComponentMap

public DataComponentMap(Algorithm algorithm,
                        java.lang.Object validator,
                        java.lang.Object descriptor,
                        java.lang.Object labeller)
Given an algorithm, validator and labeller, creates a map from label to ComponentData.

Parameters:
algorithm - the algorithm to analyze
validator - the validator to analyze
labeller - the labeller to analyze