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, Product7[String, AtomType, Seq[String], String, AtomData, ContentChangeDetails, Option[Flags]], Product, Equals, ThriftStruct, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. Atom
  3. Serializable
  4. Product7
  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, flags: Option[Flags] = _root_.scala.None)

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

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

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

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

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

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

    Permalink
    Definition Classes
    Atom → Product7
  11. val _passthroughFields: Map[Short, TFieldBlob]

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

    Permalink
    Definition Classes
    Any
  13. val atomType: AtomType

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

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

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

    Permalink
    Definition Classes
    ImmutableAtom
  17. 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, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Atom

    Permalink
    Definition Classes
    Atom
  18. val data: AtomData

    Permalink
    Definition Classes
    ImmutableAtom
  19. val defaultHtml: String

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. 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
  26. 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
  27. def hashCode(): Int

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  34. def productArity: Int

    Permalink
    Definition Classes
    Atom → Product7 → Product
  35. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Atom → Product7 → Product
  36. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  37. def productPrefix: String

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

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

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

    Permalink
    Definition Classes
    Atom
  42. def unsetContentChangeDetails: Atom

    Permalink
    Definition Classes
    Atom
  43. def unsetData: Atom

    Permalink
    Definition Classes
    Atom
  44. def unsetDefaultHtml: Atom

    Permalink
    Definition Classes
    Atom
  45. 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
  46. def unsetFlags: Atom

    Permalink
    Definition Classes
    Atom
  47. 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
  48. def unsetLabels: Atom

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

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

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

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

    Permalink
    Definition Classes
    Atom → ThriftStruct

Inherited from Atom

Inherited from Serializable

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

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped