Class ImmutableMeasure

    • Method Detail

      • of

        public static ImmutableMeasure of​(java.lang.String name)
        Returns a measure with the specified name whose values will be automatically converted to the reporting currency.

        Measure names must only contains the characters A-Z, a-z, 0-9 and -.

        Parameters:
        name - the measure name
        Returns:
        a measure with the specified name
      • of

        public static ImmutableMeasure of​(java.lang.String name,
                                          boolean isCurrencyConvertible)
        Returns a measure with the specified name.

        Measure names must only contains the characters A-Z, a-z, 0-9 and -.

        Parameters:
        name - the measure name
        isCurrencyConvertible - flag indicating whether measure values should be automatically converted to the reporting currency.
        Returns:
        a measure with the specified name
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • meta

        public static ImmutableMeasure.Meta meta()
        The meta-bean for ImmutableMeasure.
        Returns:
        the meta-bean, not null
      • getName

        public java.lang.String getName()
        Gets the measure name.

        Measure names must only contains the characters A-Z, a-z, 0-9 and -.

        Specified by:
        getName in interface Measure
        Specified by:
        getName in interface Named
        Returns:
        the value of the property, not null
      • isCurrencyConvertible

        public boolean isCurrencyConvertible()
        Gets flag indicating whether measure values should be automatically converted to the reporting currency.
        Specified by:
        isCurrencyConvertible in interface Measure
        Returns:
        the value of the property
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object