object NamedMantikId extends Serializable
- Alphabetic
- By Inheritance
- NamedMantikId
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- val AccountRegex: Regex
Regex for account.
- val DefaultAccount: String
The library account is the default and omitted on serializing.
- val DefaultVersion: String
If no version is given, this version is accessed.
- val NameRegex: Regex
Regex for a Name.
Regex for a Name. Note: in contrast to account names, also "_" and "." in the middle is allowed
- val VersionRegex: Regex
Regex for a Version.
Regex for a Version. Note: in contrast to account names, also "_" and "." in the middle is allowed
- def accountViolations(account: String): Seq[String]
Validates the account, returns violations.
- def apply(s: String): NamedMantikId
- Annotations
- @throws("On invalid Mantik Ids")
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def decodeString(s: String): Either[InvalidMantikIdException, NamedMantikId]
Like decodeStringResult but encodes errors in InvalidMantikIdException.
- def decodeStringResult(s: String): Result[NamedMantikId]
Decodes NamedMantikId with error handling.
- implicit val decoder: Decoder[NamedMantikId]
JSON Encoding from String.
- implicit val encoder: Encoder[NamedMantikId]
JSON Encoding to String.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def fromString(s: String): NamedMantikId
Automatic conversion from strings.
Automatic conversion from strings.
- Annotations
- @throws("On invalid Mantik Ids")
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit val mantikIdCodec: Encoder[NamedMantikId] with Decoder[NamedMantikId]
Encodes a mantik id within a string.
- def nameViolations(name: String): Seq[String]
Validates the name, returns violations.
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def versionViolations(version: String): Seq[String]
Validates the version, returns violations.
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])