Packages

sealed abstract class ContractTypeId[+PkgId] extends Product3[PkgId, String, String] with Serializable with Ops[ContractTypeId, PkgId]

A contract type ID that may be either a template or an interface ID. A ContractTypeId.ResolvedPkg ID will always be either ContractTypeId.Template or ContractTypeId.Interface; an unresolved ID may be one of those, which indicates an expectation of what the resolved ID will be, or neither, which indicates that resolving what kind of ID this is will be part of the resolution.

Built-in equality is solely determined by the triple of package ID, module name, entity name. This is because there are likely insidious expectations that this be true dating to before contract type IDs were distinguished at all, and we are only interested in distinguishing them statically, which these types do, and by pattern-matching, which does work.

val selector: ContractTypeId[Unit] = Template((), "M", "E")
selector match {
  case ContractTypeId.Unknown(p, m, e) => // this will not match
  case ContractTypeId.Interface(p, m, e) => // this will not match
  case ContractTypeId.Template(p, m, e) => // this will match
}
Linear Supertypes
Ops[ContractTypeId, PkgId], Serializable, Product3[PkgId, String, String], Product, Equals, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ContractTypeId
  2. Ops
  3. Serializable
  4. Product3
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean
    Definition Classes
    Equals
  2. abstract def copy[PkgId0](packageId: PkgId0 = packageId, moduleName: String = moduleName, entityName: String = entityName): ContractTypeId[PkgId0] with Ops[ContractTypeId, PkgId0]
    Definition Classes
    Ops
  3. abstract val entityName: String
  4. abstract val moduleName: String
  5. abstract val packageId: PkgId

Concrete 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. def _1: PkgId
    Definition Classes
    ContractTypeId → Product3
  5. def _2: String
    Definition Classes
    ContractTypeId → Product3
  6. def _3: String
    Definition Classes
    ContractTypeId → Product3
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. final def equals(o: Any): Boolean
    Definition Classes
    ContractTypeId → Equals → AnyRef → Any
  11. def fqn: String
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  13. final def hashCode(): Int
    Definition Classes
    ContractTypeId → AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. def productArity: Int
    Definition Classes
    Product3 → Product
  19. def productElement(n: Int): Any
    Definition Classes
    Product3 → Product
    Annotations
    @throws(classOf[java.lang.IndexOutOfBoundsException])
  20. def productElementName(n: Int): String
    Definition Classes
    Product
  21. def productElementNames: Iterator[String]
    Definition Classes
    Product
  22. def productIterator: Iterator[Any]
    Definition Classes
    Product
  23. def productPrefix: String
    Definition Classes
    Product
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

    (Since version 9)

Inherited from Ops[ContractTypeId, PkgId]

Inherited from Serializable

Inherited from Product3[PkgId, String, String]

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped