code: public static final StatValue createStatValue(Object aPattern, String aName, Interval[] aIntervals) {
  		return createStatValue(StatValueTypeUtility.object2type(aPattern),aName, aIntervals);
  	}
docs: This method creates a new StatValue instance.
  The new object will be from the same type as the given template object.
  
  @param aPattern the template object
  @param aName the name of the value
  @param aIntervals the list of Intervals to be used
  @return the StatValue instance