code: public static TypeAwareStatValue createStatValue(StatValueTypes aType, String aName, Interval[] aIntervals) {
  		IValueHolderFactory valueHolderFactory = StatValueTypeUtility.createValueHolderFactory(aType);
  		TypeAwareStatValue value = new TypeAwareStatValueImpl(aName, aType, valueHolderFactory);
  		// now we have to add the Intervals to the new value....
  		for (int i = 0; i < aIntervals.length; i++) {
  			value.addInterval(aIntervals[i]);
  		}
  		return value;
  	}
docs: This method creates a StatValue instance.
  
  @param aType the type of the value
  @param aName the name of the value
  @param aIntervals the list of Intervals to be used
  @return the StatValue instance