Class/Object

com.gu.contentatom.thrift.Atom

Immutable

Related Docs: object Immutable | package Atom

Permalink

class Immutable extends Atom

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

Linear Supertypes
Atom, Serializable, Product6[String, AtomType, Seq[String], String, AtomData, ContentChangeDetails], Product, Equals, ThriftStruct, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Immutable
  2. Atom
  3. Serializable
  4. Product6
  5. Product
  6. Equals
  7. ThriftStruct
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Immutable(id: String, atomType: AtomType, labels: Seq[String] = Seq[String](), defaultHtml: String, data: AtomData, contentChangeDetails: ContentChangeDetails)

    Permalink
  2. new Immutable(id: String, atomType: AtomType, labels: Seq[String], defaultHtml: String, data: AtomData, contentChangeDetails: ContentChangeDetails, _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
    Atom → Product6
  5. def _2: AtomType

    Permalink
    Definition Classes
    Atom → Product6
  6. def _3: Seq[String]

    Permalink
    Definition Classes
    Atom → Product6
  7. def _4: String

    Permalink
    Definition Classes
    Atom → Product6
  8. def _5: AtomData

    Permalink
    Definition Classes
    Atom → Product6
  9. def _6: ContentChangeDetails

    Permalink
    Definition Classes
    Atom → Product6
  10. val _passthroughFields: Map[Short, TFieldBlob]

    Permalink
    Definition Classes
    ImmutableAtom
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. val atomType: AtomType

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

    Permalink
    Definition Classes
    Atom → Equals
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. val contentChangeDetails: ContentChangeDetails

    Permalink
    Definition Classes
    ImmutableAtom
  16. def copy(id: String = this.id, atomType: AtomType = this.atomType, labels: Seq[String] = this.labels, defaultHtml: String = this.defaultHtml, data: AtomData = this.data, contentChangeDetails: ContentChangeDetails = this.contentChangeDetails, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Atom

    Permalink
    Definition Classes
    Atom
  17. val data: AtomData

    Permalink
    Definition Classes
    ImmutableAtom
  18. val defaultHtml: String

    Permalink
    Definition Classes
    ImmutableAtom
  19. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    Atom → Equals → AnyRef → Any
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. 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 returend. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.

    Definition Classes
    Atom
  24. 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
    Atom
  25. def hashCode(): Int

    Permalink
    Definition Classes
    Atom → AnyRef → Any
  26. val id: String

    Permalink
    Definition Classes
    ImmutableAtom
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. val labels: Seq[String]

    Permalink
    Definition Classes
    ImmutableAtom
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  32. def productArity: Int

    Permalink
    Definition Classes
    Atom → Product6 → Product
  33. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Atom → Product6 → Product
  34. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  35. def productPrefix: String

    Permalink
    Definition Classes
    Atom → Product
  36. def setField(_blob: TFieldBlob): Atom

    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
    Atom
  37. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Atom → AnyRef → Any
  39. def unsetAtomType: Atom

    Permalink
    Definition Classes
    Atom
  40. def unsetContentChangeDetails: Atom

    Permalink
    Definition Classes
    Atom
  41. def unsetData: Atom

    Permalink
    Definition Classes
    Atom
  42. def unsetDefaultHtml: Atom

    Permalink
    Definition Classes
    Atom
  43. def unsetField(_fieldId: Short): Atom

    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 subtracked from the passthroughFields map, if present.

    Definition Classes
    Atom
  44. def unsetId: Atom

    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 subtracked from the passthroughFields map, if present.

    Definition Classes
    Atom
  45. def unsetLabels: Atom

    Permalink
    Definition Classes
    Atom
  46. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    Atom → ThriftStruct

Inherited from Atom

Inherited from Serializable

Inherited from Product6[String, AtomType, Seq[String], String, AtomData, ContentChangeDetails]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped