Packages

case class UnionType[Ctx](name: String, description: Option[String] = None, typesFn: () ⇒ List[ObjectType[Ctx, _]], astDirectives: Vector[ast.Directive] = Vector.empty, astNodes: Vector[AstNode] = Vector.empty) extends OutputType[Any] with CompositeType[Any] with AbstractType with NullableType with UnmodifiedType with HasAstInfo with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, HasAstInfo, UnmodifiedType, NullableType, AbstractType, CompositeType[Any], Named, HasDescription, OutputType[Any], Type, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UnionType
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. HasAstInfo
  7. UnmodifiedType
  8. NullableType
  9. AbstractType
  10. CompositeType
  11. Named
  12. HasDescription
  13. OutputType
  14. Type
  15. AnyRef
  16. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UnionType(name: String, description: Option[String] = None, typesFn: () ⇒ List[ObjectType[Ctx, _]], astDirectives: Vector[ast.Directive] = Vector.empty, astNodes: Vector[AstNode] = Vector.empty)

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 astDirectives: Vector[ast.Directive]
    Definition Classes
    UnionTypeHasAstInfo
  6. val astNodes: Vector[AstNode]
    Definition Classes
    UnionTypeHasAstInfo
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. val description: Option[String]
    Definition Classes
    UnionTypeHasDescription
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def mapValue[T](func: (T) ⇒ Any): OutputType[T]

    Creates a type-safe version of union type which might be useful in cases where the value is wrapped in a type like Either.

  14. val name: String
    Definition Classes
    UnionTypeAbstractTypeNamed
  15. def namedType: Type with Named
    Definition Classes
    Type
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def rename(newName: String): UnionType.this.type
    Definition Classes
    UnionTypeNamed
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toAst: TypeDefinition
  22. def typeOf[Ctx](value: Any, schema: Schema[Ctx, _]): Option[ObjectType[Ctx, _]]
    Definition Classes
    AbstractType
  23. lazy val types: List[ObjectType[Ctx, _]]
  24. val typesFn: () ⇒ List[ObjectType[Ctx, _]]
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from HasAstInfo

Inherited from UnmodifiedType

Inherited from NullableType

Inherited from AbstractType

Inherited from CompositeType[Any]

Inherited from Named

Inherited from HasDescription

Inherited from OutputType[Any]

Inherited from Type

Inherited from AnyRef

Inherited from Any

Ungrouped