mauda.plugin
Class Ratings

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by mauda.plugin.Ratings
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public class Ratings
extends java.util.HashMap

Stores suboperation-ratings needed for automatic generation of exercises.

Author:
Markus Krebs
See Also:
Serialized Form

Constructor Summary
Ratings()
          Creates a Ratings-Object
 
Method Summary
 void load(java.util.Vector vector)
          Loads this Ratings-Object with the values of the vector- representation.
 java.util.Vector save()
          Converts the values of this class in a vector-representation for saving-purposes
 
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

Ratings

public Ratings()
Creates a Ratings-Object

Method Detail

save

public java.util.Vector save()
Converts the values of this class in a vector-representation for saving-purposes

Returns:
vector-representation of Ratings

load

public void load(java.util.Vector vector)
Loads this Ratings-Object with the values of the vector- representation. This is needed for loading-purposes.

Parameters:
vector - vector-representation of Ratings