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, ValidatingThriftStruct[Atom], HasThriftStructCodec3[Atom], Product9[String, AtomType, Seq[String], String, AtomData, ContentChangeDetails, Option[Flags], Option[String], Seq[String]], Product, Equals, ThriftStruct, ThriftStructIface, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. Atom
  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, atomType: AtomType, labels: Seq[String] = ..., defaultHtml: String, data: AtomData, contentChangeDetails: ContentChangeDetails, flags: Option[Flags] = _root_.scala.None, title: Option[String] = _root_.scala.None, commissioningDesks: Seq[String] = Seq())

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

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

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

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

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

    Permalink
    Definition Classes
    Atom → Product9
  10. def _7: Option[Flags]

    Permalink
    Definition Classes
    Atom → Product9
  11. def _8: Option[String]

    Permalink
    Definition Classes
    Atom → Product9
  12. def _9: Seq[String]

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

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

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

    Permalink
    Definition Classes
    Any
  16. val atomType: AtomType

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. val commissioningDesks: Seq[String]

    Permalink
    Definition Classes
    ImmutableAtom
  20. val contentChangeDetails: ContentChangeDetails

    Permalink
    Definition Classes
    ImmutableAtom
  21. 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, flags: Option[Flags] = this.flags, title: Option[String] = this.title, commissioningDesks: Seq[String] = this.commissioningDesks, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Atom

    Permalink
    Definition Classes
    Atom
  22. val data: AtomData

    Permalink
    Definition Classes
    ImmutableAtom
  23. val defaultHtml: String

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. val flags: Option[Flags]

    Permalink
    Definition Classes
    ImmutableAtom
  28. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  29. 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
    Atom
  30. 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
  31. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  36. def newBuilder(): StructBuilder[Atom]

    Permalink
    Definition Classes
    Atom
  37. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  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
    Atom → Product
  43. 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
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  45. val title: Option[String]

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

    Permalink
    Definition Classes
    Atom → AnyRef → Any
  47. def toTuple: (String, AtomType, Seq[String], String, AtomData, ContentChangeDetails, Option[Flags], Option[String], Seq[String])

    Permalink
    Definition Classes
    Atom
  48. def unsetAtomType: Atom

    Permalink
    Definition Classes
    Atom
  49. def unsetCommissioningDesks: Atom

    Permalink
    Definition Classes
    Atom
  50. def unsetContentChangeDetails: Atom

    Permalink
    Definition Classes
    Atom
  51. def unsetData: Atom

    Permalink
    Definition Classes
    Atom
  52. def unsetDefaultHtml: Atom

    Permalink
    Definition Classes
    Atom
  53. 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 removed from the passthroughFields map, if present.

    Definition Classes
    Atom
  54. def unsetFlags: Atom

    Permalink
    Definition Classes
    Atom
  55. 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 removed from the passthroughFields map, if present.

    Definition Classes
    Atom
  56. def unsetLabels: Atom

    Permalink
    Definition Classes
    Atom
  57. def unsetTitle: Atom

    Permalink
    Definition Classes
    Atom
  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
    Atom → ThriftStruct

Inherited from Atom

Inherited from Serializable

Inherited from ValidatingThriftStruct[Atom]

Inherited from HasThriftStructCodec3[Atom]

Inherited from Product9[String, AtomType, Seq[String], String, AtomData, ContentChangeDetails, Option[Flags], Option[String], Seq[String]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from ThriftStructIface

Inherited from AnyRef

Inherited from Any

Ungrouped