final case class NamedResourcesAttribute(name: String, quantity: Option[Quantity] = None, stringSlice: Option[NamedResourcesStringSlice] = None, string: Option[String] = None, version: Option[String] = None, bool: Option[Boolean] = None, intSlice: Option[NamedResourcesIntSlice] = None, int: Option[Long] = None) extends Product with Serializable

NamedResourcesAttribute is a combination of an attribute name and its value.

Source
NamedResourcesAttribute.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NamedResourcesAttribute
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NamedResourcesAttribute(name: String, quantity: Option[Quantity] = None, stringSlice: Option[NamedResourcesStringSlice] = None, string: Option[String] = None, version: Option[String] = None, bool: Option[Boolean] = None, intSlice: Option[NamedResourcesIntSlice] = None, int: Option[Long] = None)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val bool: Option[Boolean]
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. val int: Option[Long]
  10. val intSlice: Option[NamedResourcesIntSlice]
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def mapBool(f: (Boolean) ⇒ Boolean): NamedResourcesAttribute

    if bool has a value, transforms to the result of function

  13. def mapInt(f: (Long) ⇒ Long): NamedResourcesAttribute

    if int has a value, transforms to the result of function

  14. def mapIntSlice(f: (NamedResourcesIntSlice) ⇒ NamedResourcesIntSlice): NamedResourcesAttribute

    if intSlice has a value, transforms to the result of function

  15. def mapName(f: (String) ⇒ String): NamedResourcesAttribute

    transforms name to result of function

  16. def mapQuantity(f: (Quantity) ⇒ Quantity): NamedResourcesAttribute

    if quantity has a value, transforms to the result of function

  17. def mapString(f: (String) ⇒ String): NamedResourcesAttribute

    if string has a value, transforms to the result of function

  18. def mapStringSlice(f: (NamedResourcesStringSlice) ⇒ NamedResourcesStringSlice): NamedResourcesAttribute

    if stringSlice has a value, transforms to the result of function

  19. def mapVersion(f: (String) ⇒ String): NamedResourcesAttribute

    if version has a value, transforms to the result of function

  20. val name: String
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. val quantity: Option[Quantity]
  25. val string: Option[String]
  26. val stringSlice: Option[NamedResourcesStringSlice]
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. val version: Option[String]
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def withBool(value: Boolean): NamedResourcesAttribute

    Returns a new data with bool set to new value

  33. def withInt(value: Long): NamedResourcesAttribute

    Returns a new data with int set to new value

  34. def withIntSlice(value: NamedResourcesIntSlice): NamedResourcesAttribute

    Returns a new data with intSlice set to new value

  35. def withName(value: String): NamedResourcesAttribute

    Returns a new data with name set to new value

  36. def withQuantity(value: Quantity): NamedResourcesAttribute

    Returns a new data with quantity set to new value

  37. def withString(value: String): NamedResourcesAttribute

    Returns a new data with string set to new value

  38. def withStringSlice(value: NamedResourcesStringSlice): NamedResourcesAttribute

    Returns a new data with stringSlice set to new value

  39. def withVersion(value: String): NamedResourcesAttribute

    Returns a new data with version set to new value

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped