Class BaseMeasureCollection

  • All Implemented Interfaces:
    adams.core.CloneHandler<adams.core.base.BaseObject>, Serializable, Comparable

    public class BaseMeasureCollection
    extends adams.core.base.AbstractBaseString
    Wrapper for MOA's MeasureCollection classes.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String DEFAULT_PACKAGE
      the default package for collections.
      • Fields inherited from class adams.core.base.BaseObject

        m_Internal, m_Properties, SUFFIX_DISPLAY, SUFFIX_VALUE
    • Constructor Summary

      Constructors 
      Constructor Description
      BaseMeasureCollection()
      Initializes the collection with the default collection.
      BaseMeasureCollection​(String coll)
      Initializes the collection the specified collection name.
      BaseMeasureCollection​(moa.evaluation.MeasureCollection coll)
      Initializes the collection the specified collection.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      moa.evaluation.MeasureCollection collectionValue()
      Returns the collection as collection object.
      String getTipText()
      Returns a tool tip for the GUI editor (ignored if null is returned).
      protected void initialize()
      Initializes the internal object.
      boolean isValid​(String value)
      Checks whether the string value is a valid presentation for this class.
      • Methods inherited from class adams.core.base.AbstractBaseString

        convert, getValue, isEmpty, length, setValue, stringValue
      • Methods inherited from class adams.core.base.BaseObject

        compareTo, equals, getClone, getInternal, getTemplates, getUnicode, hasFavoritesSupport, hashCode, isValidUnicode, newInstance, setUnicode, toObjectArray, toObjectArray, toString, toStringArray, toStringList
    • Constructor Detail

      • BaseMeasureCollection

        public BaseMeasureCollection()
        Initializes the collection with the default collection.
      • BaseMeasureCollection

        public BaseMeasureCollection​(moa.evaluation.MeasureCollection coll)
        Initializes the collection the specified collection.
        Parameters:
        coll - the collection to use
      • BaseMeasureCollection

        public BaseMeasureCollection​(String coll)
        Initializes the collection the specified collection name.
        Parameters:
        coll - the collection to use
    • Method Detail

      • initialize

        protected void initialize()
        Initializes the internal object.

        Default implementation does nothing.
        Overrides:
        initialize in class adams.core.base.AbstractBaseString
      • isValid

        public boolean isValid​(String value)
        Checks whether the string value is a valid presentation for this class.
        Overrides:
        isValid in class adams.core.base.AbstractBaseString
        Parameters:
        value - the string value to check
        Returns:
        true if non-null
      • collectionValue

        public moa.evaluation.MeasureCollection collectionValue()
        Returns the collection as collection object.
        Returns:
        the collection
      • getTipText

        public String getTipText()
        Returns a tool tip for the GUI editor (ignored if null is returned).
        Specified by:
        getTipText in class adams.core.base.AbstractBaseString
        Returns:
        the tool tip