Class/Object

com.gu.contententity.thrift.Entity

Immutable

Related Docs: object Immutable | package Entity

Permalink

class Immutable extends Entity

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

Linear Supertypes
Entity, Serializable, ValidatingThriftStruct[Entity], HasThriftStructCodec3[Entity], Product9[String, EntityType, Option[String], Option[Person], Option[Film], Option[Game], Option[Restaurant], Option[Place], Option[Organisation]], Product, Equals, ThriftStruct, ThriftStructIface, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. Entity
  3. Serializable
  4. ValidatingThriftStruct
  5. HasThriftStructCodec3
  6. Product9
  7. Product
  8. Equals
  9. ThriftStruct
  10. ThriftStructIface
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Immutable(id: String, entityType: EntityType, googleId: Option[String] = _root_.scala.None, person: Option[Person] = _root_.scala.None, film: Option[Film] = _root_.scala.None, game: Option[Game] = _root_.scala.None, restaurant: Option[Restaurant] = _root_.scala.None, place: Option[Place] = _root_.scala.None, organisation: Option[Organisation] = _root_.scala.None)

    Permalink
  2. new Immutable(id: String, entityType: EntityType, googleId: Option[String], person: Option[Person], film: Option[Film], game: Option[Game], restaurant: Option[Restaurant], place: Option[Place], organisation: Option[Organisation], _passthroughFields: Map[Short, TFieldBlob])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def _1: String

    Permalink
    Definition Classes
    Entity → Product9
  5. def _2: EntityType

    Permalink
    Definition Classes
    Entity → Product9
  6. def _3: Option[String]

    Permalink
    Definition Classes
    Entity → Product9
  7. def _4: Option[Person]

    Permalink
    Definition Classes
    Entity → Product9
  8. def _5: Option[Film]

    Permalink
    Definition Classes
    Entity → Product9
  9. def _6: Option[Game]

    Permalink
    Definition Classes
    Entity → Product9
  10. def _7: Option[Restaurant]

    Permalink
    Definition Classes
    Entity → Product9
  11. def _8: Option[Place]

    Permalink
    Definition Classes
    Entity → Product9
  12. def _9: Option[Organisation]

    Permalink
    Definition Classes
    Entity → Product9
  13. def _codec: ValidatingThriftStructCodec3[Entity]

    Permalink
    Definition Classes
    Entity → ValidatingThriftStruct → HasThriftStructCodec3
  14. val _passthroughFields: Map[Short, TFieldBlob]

    Permalink
    Definition Classes
    ImmutableEntity
  15. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  16. def canEqual(other: Any): Boolean

    Permalink
    Definition Classes
    Entity → Equals
  17. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. def copy(id: String = this.id, entityType: EntityType = this.entityType, googleId: Option[String] = this.googleId, person: Option[Person] = this.person, film: Option[Film] = this.film, game: Option[Game] = this.game, restaurant: Option[Restaurant] = this.restaurant, place: Option[Place] = this.place, organisation: Option[Organisation] = this.organisation, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Entity

    Permalink
    Definition Classes
    Entity
  19. val entityType: EntityType

    Permalink
    Definition Classes
    ImmutableEntity
  20. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    Entity → Equals → AnyRef → Any
  22. val film: Option[Film]

    Permalink
    Definition Classes
    ImmutableEntity
  23. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. val game: Option[Game]

    Permalink
    Definition Classes
    ImmutableEntity
  25. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  26. def getFieldBlob(_fieldId: Short): Option[TFieldBlob]

    Permalink

    Gets a field value encoded as a binary blob using TCompactProtocol.

    Gets a field value encoded as a binary blob using TCompactProtocol. If the specified field is present in the passthrough map, that value is returned. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.

    Definition Classes
    Entity
  27. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

    Permalink

    Collects TCompactProtocol-encoded field values according to getFieldBlob into a map.

    Collects TCompactProtocol-encoded field values according to getFieldBlob into a map.

    Definition Classes
    Entity
  28. val googleId: Option[String]

    Permalink
    Definition Classes
    ImmutableEntity
  29. def hashCode(): Int

    Permalink
    Definition Classes
    Entity → AnyRef → Any
  30. val id: String

    Permalink
    Definition Classes
    ImmutableEntity
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. def newBuilder(): StructBuilder[Entity]

    Permalink
    Definition Classes
    Entity
  34. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  36. val organisation: Option[Organisation]

    Permalink
    Definition Classes
    ImmutableEntity
  37. val person: Option[Person]

    Permalink
    Definition Classes
    ImmutableEntity
  38. val place: Option[Place]

    Permalink
    Definition Classes
    ImmutableEntity
  39. def productArity: Int

    Permalink
    Definition Classes
    Product9 → Product
  40. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Product9 → Product
    Annotations
    @throws( ... )
  41. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  42. def productPrefix: String

    Permalink
    Definition Classes
    Entity → Product
  43. val restaurant: Option[Restaurant]

    Permalink
    Definition Classes
    ImmutableEntity
  44. def setField(_blob: TFieldBlob): Entity

    Permalink

    Sets a field using a TCompactProtocol-encoded binary blob.

    Sets a field using a TCompactProtocol-encoded binary blob. If the field is a known field, the blob is decoded and the field is set to the decoded value. If the field is unknown and passthrough fields are enabled, then the blob will be stored in _passthroughFields.

    Definition Classes
    Entity
  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  46. def toString(): String

    Permalink
    Definition Classes
    Entity → AnyRef → Any
  47. def toTuple: (String, EntityType, Option[String], Option[Person], Option[Film], Option[Game], Option[Restaurant], Option[Place], Option[Organisation])

    Permalink
    Definition Classes
    Entity
  48. def unsetEntityType: Entity

    Permalink
    Definition Classes
    Entity
  49. def unsetField(_fieldId: Short): Entity

    Permalink

    If the specified field is optional, it is set to None.

    If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.

    Definition Classes
    Entity
  50. def unsetFilm: Entity

    Permalink
    Definition Classes
    Entity
  51. def unsetGame: Entity

    Permalink
    Definition Classes
    Entity
  52. def unsetGoogleId: Entity

    Permalink
    Definition Classes
    Entity
  53. def unsetId: Entity

    Permalink

    If the specified field is optional, it is set to None.

    If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.

    Definition Classes
    Entity
  54. def unsetOrganisation: Entity

    Permalink
    Definition Classes
    Entity
  55. def unsetPerson: Entity

    Permalink
    Definition Classes
    Entity
  56. def unsetPlace: Entity

    Permalink
    Definition Classes
    Entity
  57. def unsetRestaurant: Entity

    Permalink
    Definition Classes
    Entity
  58. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. def write(_oprot: TProtocol): Unit

    Permalink
    Definition Classes
    Entity → ThriftStruct

Inherited from Entity

Inherited from Serializable

Inherited from ValidatingThriftStruct[Entity]

Inherited from HasThriftStructCodec3[Entity]

Inherited from Product9[String, EntityType, Option[String], Option[Person], Option[Film], Option[Game], Option[Restaurant], Option[Place], Option[Organisation]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from ThriftStructIface

Inherited from AnyRef

Inherited from Any

Ungrouped