com.malliina.values

Members list

Type members

Classlikes

case class AccessToken(token: String) extends TokenValue

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class TokenValue
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class JsonCompanion[String, AccessToken]
class Object
trait Matchable
class Any
Show all
Self type
trait DoubleValidator[T] extends RangeValidator[Double, T]

Attributes

Supertypes
trait RangeValidator[Double, T]
trait ValueValidator[Double, T]
class Object
trait Matchable
class Any
final case class Email(email: String) extends AnyVal, WrappedString

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
object Email extends StringCompanion[Email]

Attributes

Companion
class
Supertypes
class JsonCompanion[String, Email]
class ValidatingCompanion[String, Email]
class Object
trait Matchable
class Any
Show all
Self type
Email.type
abstract class EnumCompanion[Raw, T](implicit f: Decoder[Raw], e: Encoder[Raw], o: Ordering[Raw]) extends ValidatingCompanion[Raw, T]

Attributes

Supertypes
class ValidatingCompanion[Raw, T]
class Object
trait Matchable
class Any
Known subtypes
class JsonEnumSet[T]
class WrappedEnum[T]
case class ErrorMessage(message: String) extends WrappedString

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class JsonCompanion[String, ErrorMessage]
class Object
trait Matchable
class Any
Show all
Self type
abstract class IdCompanion[T <: WrappedId] extends JsonCompanion[Long, T]

Attributes

Supertypes
class JsonCompanion[Long, T]
class ValidatingCompanion[Long, T]
class Object
trait Matchable
class Any
Known subtypes
object UserId.type
case class IdToken(token: String) extends TokenValue

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class TokenValue
class Object
trait Matchable
class Any
Show all
object IdToken extends StringCompanion[IdToken]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class JsonCompanion[String, IdToken]
class ValidatingCompanion[String, IdToken]
class Object
trait Matchable
class Any
Show all
Self type
IdToken.type
abstract class IdentCompanion[T <: Identifier] extends JsonCompanion[String, T]

Attributes

Supertypes
class JsonCompanion[String, T]
class ValidatingCompanion[String, T]
class Object
trait Matchable
class Any
trait Identifier

Attributes

Supertypes
class Any
trait IntValidator[T] extends RangeValidator[Int, T]

Attributes

Supertypes
trait RangeValidator[Int, T]
trait ValueValidator[Int, T]
class Object
trait Matchable
class Any
Known subtypes
class RangedInt[U]
abstract class JsonCompanion[Raw, T](implicit d: Decoder[Raw], e: Encoder[Raw], o: Ordering[Raw]) extends ValidatingCompanion[Raw, T]

Attributes

Supertypes
class ValidatingCompanion[Raw, T]
class Object
trait Matchable
class Any
Known subtypes
class IdCompanion[T]
object UserId.type
class IdentCompanion[T]
class StringCompanion[T]
object AccessToken.type
object Email.type
object ErrorMessage.type
object IdToken.type
object Password.type
object RefreshToken.type
object UnixPath.type
object Username.type
Show all
final case class Password(pass: String) extends AnyVal, WrappedString

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
class JsonCompanion[String, Password]
class ValidatingCompanion[String, Password]
class Object
trait Matchable
class Any
Show all
Self type
Password.type
trait RangeValidator[T, U] extends ValueValidator[T, U]

Attributes

Supertypes
trait ValueValidator[T, U]
class Object
trait Matchable
class Any
Known subtypes
trait DoubleValidator[T]
trait IntValidator[T]
class RangedInt[U]
class RangedValue[T, U]
abstract class RangedInt[U <: WrappedValue[Int]](min: Int, max: Int) extends RangedValue[Int, U], IntValidator[U]

Attributes

Supertypes
trait IntValidator[U]
class RangedValue[Int, U]
trait RangeValidator[Int, U]
trait ValueValidator[Int, U]
class Object
trait Matchable
class Any
Show all
abstract class RangedValue[T, U <: WrappedValue[T]](min: T, max: T) extends RangeValidator[T, U]

Attributes

Supertypes
trait RangeValidator[T, U]
trait ValueValidator[T, U]
class Object
trait Matchable
class Any
Known subtypes
class RangedInt[U]
trait Readable[R]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object Readable

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Readable.type
case class RefreshToken(token: String) extends TokenValue

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class TokenValue
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class JsonCompanion[String, RefreshToken]
class Object
trait Matchable
class Any
Show all
Self type
abstract class StringCompanion[T <: WrappedString] extends JsonCompanion[String, T]

Attributes

Supertypes
class JsonCompanion[String, T]
class ValidatingCompanion[String, T]
class Object
trait Matchable
class Any
Known subtypes
object AccessToken.type
object Email.type
object ErrorMessage.type
object IdToken.type
object Password.type
object RefreshToken.type
object UnixPath.type
object Username.type
Show all
abstract class StringEnumCompanion[T] extends EnumCompanion[String, T]

Attributes

Supertypes
class EnumCompanion[String, T]
class ValidatingCompanion[String, T]
class Object
trait Matchable
class Any
Known subtypes
class JsonEnumSet[T]
class WrappedEnum[T]
sealed abstract class TokenValue(token: String) extends WrappedString

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class AccessToken
class IdToken
class RefreshToken
case class UnixPath(path: String) extends WrappedString

Value parameters

path

a path - all separators must be slashes ('/') regardless of platform

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class JsonCompanion[String, UnixPath]
class ValidatingCompanion[String, UnixPath]
class Object
trait Matchable
class Any
Show all
Self type
UnixPath.type
case class UserId(id: Long) extends WrappedId

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait WrappedId
class Object
trait Matchable
class Any
Show all
object UserId extends IdCompanion[UserId]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class JsonCompanion[Long, UserId]
class Object
trait Matchable
class Any
Show all
Self type
UserId.type
final case class Username(name: String) extends AnyVal, WrappedString

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
class JsonCompanion[String, Username]
class ValidatingCompanion[String, Username]
class Object
trait Matchable
class Any
Show all
Self type
Username.type
abstract class ValidatingCompanion[Raw, T](implicit d: Decoder[Raw], e: Encoder[Raw], o: Ordering[Raw])

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object FullUrl.type
class EnumCompanion[Raw, T]
class JsonEnumSet[T]
class WrappedEnum[T]
class JsonCompanion[Raw, T]
class IdCompanion[T]
object UserId.type
class IdentCompanion[T]
class StringCompanion[T]
object AccessToken.type
object Email.type
object ErrorMessage.type
object IdToken.type
object Password.type
object RefreshToken.type
object UnixPath.type
object Username.type
Show all
trait ValueValidator[T, U]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait RangeValidator[T, U]
trait DoubleValidator[T]
trait IntValidator[T]
class RangedInt[U]
class RangedValue[T, U]
abstract class WrappedEnum[T <: WrappedString] extends StringEnumCompanion[T]

Attributes

Supertypes
class EnumCompanion[String, T]
class ValidatingCompanion[String, T]
class Object
trait Matchable
class Any
Show all
trait WrappedId

Attributes

Supertypes
class Any
Known subtypes
class UserId
trait WrappedLong

Attributes

Supertypes
class Any

Attributes

Supertypes
class Any
Known subtypes
class Email
class ErrorMessage
class Password
class TokenValue
class AccessToken
class IdToken
class RefreshToken
class UnixPath
class Username
Show all
trait WrappedValue[T]

Attributes

Supertypes
class Object
trait Matchable
class Any

Deprecated classlikes

abstract class Wrapped(val value: String)

Attributes

Deprecated
true
Supertypes
class Object
trait Matchable
class Any