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.
- Alphabetic
- By Inheritance
- NamedResourcesAttribute
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- 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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bool: Option[Boolean]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val int: Option[Long]
- val intSlice: Option[NamedResourcesIntSlice]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapBool(f: (Boolean) ⇒ Boolean): NamedResourcesAttribute
if bool has a value, transforms to the result of function
-
def
mapInt(f: (Long) ⇒ Long): NamedResourcesAttribute
if int has a value, transforms to the result of function
-
def
mapIntSlice(f: (NamedResourcesIntSlice) ⇒ NamedResourcesIntSlice): NamedResourcesAttribute
if intSlice has a value, transforms to the result of function
-
def
mapName(f: (String) ⇒ String): NamedResourcesAttribute
transforms name to result of function
-
def
mapQuantity(f: (Quantity) ⇒ Quantity): NamedResourcesAttribute
if quantity has a value, transforms to the result of function
-
def
mapString(f: (String) ⇒ String): NamedResourcesAttribute
if string has a value, transforms to the result of function
-
def
mapStringSlice(f: (NamedResourcesStringSlice) ⇒ NamedResourcesStringSlice): NamedResourcesAttribute
if stringSlice has a value, transforms to the result of function
-
def
mapVersion(f: (String) ⇒ String): NamedResourcesAttribute
if version has a value, transforms to the result of function
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val quantity: Option[Quantity]
- val string: Option[String]
- val stringSlice: Option[NamedResourcesStringSlice]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val version: Option[String]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withBool(value: Boolean): NamedResourcesAttribute
Returns a new data with bool set to new value
-
def
withInt(value: Long): NamedResourcesAttribute
Returns a new data with int set to new value
-
def
withIntSlice(value: NamedResourcesIntSlice): NamedResourcesAttribute
Returns a new data with intSlice set to new value
-
def
withName(value: String): NamedResourcesAttribute
Returns a new data with name set to new value
-
def
withQuantity(value: Quantity): NamedResourcesAttribute
Returns a new data with quantity set to new value
-
def
withString(value: String): NamedResourcesAttribute
Returns a new data with string set to new value
-
def
withStringSlice(value: NamedResourcesStringSlice): NamedResourcesAttribute
Returns a new data with stringSlice set to new value
-
def
withVersion(value: String): NamedResourcesAttribute
Returns a new data with version set to new value