object Value
- Source
- schema.scala
- Alphabetic
- By Inheritance
- Value
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class BooleanValue(value: Boolean) extends Value with Product with Serializable
- case class EnumValue(name: String) extends Value with Product with Serializable
- case class FloatValue(value: Double) extends Value with Product with Serializable
- case class IDValue(value: String) extends Value with Product with Serializable
- case class IntValue(value: Int) extends Value with Product with Serializable
- case class ListValue(elems: List[Value]) extends Value with Product with Serializable
- case class ObjectValue(fields: List[(String, Value)]) extends Value with Product with Serializable
- case class StringValue(value: String) extends Value with Product with Serializable
- case class VariableRef(name: String) extends Value with Product with Serializable
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
- def checkValue(iv: InputValue, value: Option[Value], location: String): Result[Value]
Resolve a value against its definition.
Resolve a value against its definition.
+ Absent and null values are defaulted if the InputValue provides a default. + Absent and null values are checked against the nullability of the InputValue. + Enum values are checked against the possible values of the EnumType. + Primitive values are converted to custom Scalars or IDs where appropriate. + The elements of list values are checked against their element type. + The fields of input object values are checked against their field definitions.
- def checkVarValue(iv: InputValue, value: Option[Json], location: String): Result[Value]
Resolve a Json variable value against its definition.
Resolve a Json variable value against its definition.
+ Absent and null values are defaulted if the InputValue provides a default. + Absent and null values are checked against the nullability of the InputValue. + Enum values are checked against the possible values of the EnumType. + Primitive values are converted to custom Scalars or IDs where appropriate. + The elements of list values are checked against their element type. + The fields of input object values are checked against their field definitions.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def elaborateValue(value: Value, vars: Vars): Result[Value]
Elaborate a value by replacing variable references with their values.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- case object AbsentValue extends Value with Product with Serializable
- case object NullValue extends Value with Product with Serializable
- object StringListValue