Class Units

    • Constructor Detail

      • Units

        public Units​(java.lang.String name,
                     java.lang.String description)
    • Method Detail

      • namesToValuesMap

        public static scala.collection.immutable.Map<java.lang.String,​Units> namesToValuesMap()
      • lowerCaseNamesToValuesMap

        public static final scala.collection.immutable.Map<java.lang.String,​Units> lowerCaseNamesToValuesMap()
      • upperCaseNameValuesToMap

        public static final scala.collection.immutable.Map<java.lang.String,​Units> upperCaseNameValuesToMap()
      • valuesToIndex

        public static final scala.collection.immutable.Map<Units,​java.lang.Object> valuesToIndex()
      • values

        public static scala.collection.immutable.IndexedSeq<Units> values()
        A Seq of all values that are Units
        Returns:
        (undocumented)
      • withName

        public static A withName​(java.lang.String name)
      • withNameOption

        public static scala.Option<A> withNameOption​(java.lang.String name)
      • withNameEither

        public static scala.util.Either<enumeratum.NoSuchMember<A>,​A> withNameEither​(java.lang.String name)
      • withNameInsensitive

        public static A withNameInsensitive​(java.lang.String name)
      • withNameUppercaseOnly

        public static A withNameUppercaseOnly​(java.lang.String name)
      • withNameLowercaseOnly

        public static A withNameLowercaseOnly​(java.lang.String name)
      • withNameInsensitiveOption

        public static scala.Option<A> withNameInsensitiveOption​(java.lang.String name)
      • withNameUppercaseOnlyOption

        public static scala.Option<A> withNameUppercaseOnlyOption​(java.lang.String name)
      • withNameLowercaseOnlyOption

        public static scala.Option<A> withNameLowercaseOnlyOption​(java.lang.String name)
      • withNameInsensitiveEither

        public static scala.util.Either<enumeratum.NoSuchMember<A>,​A> withNameInsensitiveEither​(java.lang.String name)
      • withNameUppercaseOnlyEither

        public static scala.util.Either<enumeratum.NoSuchMember<A>,​A> withNameUppercaseOnlyEither​(java.lang.String name)
      • withNameLowercaseOnlyEither

        public static scala.util.Either<enumeratum.NoSuchMember<A>,​A> withNameLowercaseOnlyEither​(java.lang.String name)
      • indexOf

        public static int indexOf​(A member)
      • findValues

        protected static scala.collection.immutable.IndexedSeq<A> findValues()
      • enumeratum$Enum$$existingEntriesString

        public static java.lang.String enumeratum$Enum$$existingEntriesString()
      • getName

        public java.lang.String getName()
        The name of the unit
        Returns:
        (undocumented)
      • getDescription

        public java.lang.String getDescription()
        The description of unit
        Returns:
        (undocumented)