Packages

object Element extends ValidatingThriftStructCodec3[Element] with StructBuilderFactory[Element] with Serializable

Linear Supertypes
Serializable, StructBuilderFactory[Element], ValidatingThriftStructCodec3[Element], ThriftStructCodec3[Element], ThriftStructCodec[Element], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Element
  2. Serializable
  3. StructBuilderFactory
  4. ValidatingThriftStructCodec3
  5. ThriftStructCodec3
  6. ThriftStructCodec
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. class Immutable extends Element

    The default read-only implementation of Element.

    The default read-only implementation of Element. You typically should not need to directly reference this class; instead, use the Element.apply method to construct new instances.

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. val AssetsField: TField
  5. val AssetsFieldManifest: Manifest[Seq[Asset]]
  6. val GalleryIndexField: TField
  7. val GalleryIndexFieldManifest: Manifest[Int]
  8. val IdField: TField
  9. val IdFieldManifest: Manifest[String]
  10. val RelationField: TField
  11. val RelationFieldManifest: Manifest[String]
  12. val Struct: TStruct
  13. val TypeField: TField
  14. val TypeFieldI32: TField
  15. val TypeFieldManifest: Manifest[ElementType]
  16. def apply(id: String, relation: String, type: ElementType, galleryIndex: Option[Int] = _root_.scala.None, assets: Seq[Asset] = _root_.scala.collection.immutable.Nil): Element
  17. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  18. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  19. def decode(_iprot: TProtocol): Element
    Definition Classes
    Element → ThriftStructCodec
  20. def encode(_item: Element, _oproto: TProtocol): Unit
    Definition Classes
    Element → ThriftStructCodec
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  23. lazy val fieldInfos: List[ThriftStructFieldInfo]

    Field information in declaration order.

  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. lazy val metaData: ThriftStructMetaData[Element]
    Definition Classes
    Element → ThriftStructCodec
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. def newBuilder(): StructBuilder[Element]
    Definition Classes
    Element → StructBuilderFactory
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  32. val structAnnotations: Map[String, String]
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. def ttypeToString(byte: Byte): String
    Attributes
    protected
    Definition Classes
    ThriftStructCodec3
  36. def unapply(_item: Element): Option[(String, String, ElementType, Option[Int], Seq[Asset])]
  37. lazy val unsafeEmpty: Element
  38. def validate(_item: Element): Unit

    Checks that all required fields are non-null.

  39. final def validateField[U <: ValidatingThriftStruct[U]](any: Any): Seq[Issue]
    Attributes
    protected
    Definition Classes
    ValidatingThriftStructCodec3
  40. final def validateFieldValue[U <: ValidatingThriftStruct[U]](fieldName: String, fieldValue: Any, fieldAnnotations: Map[String, String], thriftValidatorOpt: Option[ThriftValidator]): Set[ThriftValidationViolation]
    Attributes
    protected
    Definition Classes
    ValidatingThriftStructCodec3
  41. def validateInstanceValue(item: Element): Set[ThriftValidationViolation]

    Validate that all validation annotations on the struct meet the criteria defined in the corresponding com.twitter.scrooge.validation.ThriftConstraintValidator.

    Validate that all validation annotations on the struct meet the criteria defined in the corresponding com.twitter.scrooge.validation.ThriftConstraintValidator.

    Definition Classes
    Element → ValidatingThriftStructCodec3
  42. def validateNewInstance(item: Element): Seq[Issue]

    Checks that the struct is a valid as a new instance.

    Checks that the struct is a valid as a new instance. If there are any missing required or construction required fields, return a non-empty list.

    Definition Classes
    Element → ValidatingThriftStructCodec3
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. def withoutPassthroughFields(original: Element): Element
  47. object Immutable extends ThriftStructCodec3[Element] with Serializable

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 Serializable

Inherited from StructBuilderFactory[Element]

Inherited from ValidatingThriftStructCodec3[Element]

Inherited from ThriftStructCodec3[Element]

Inherited from ThriftStructCodec[Element]

Inherited from AnyRef

Inherited from Any

Ungrouped