com.gu.contentatom.thrift.Atom

Immutable

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
Learn more about member selection
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)

  2. new Immutable(id: String, atomType: AtomType, labels: Seq[String], defaultHtml: String, data: AtomData, contentChangeDetails: ContentChangeDetails, _passthroughFields: Map[Short, TFieldBlob])

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def _1: String

    Definition Classes
    Atom → Product6
  7. def _2: AtomType

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

    Definition Classes
    Atom → Product6
  9. def _4: String

    Definition Classes
    Atom → Product6
  10. def _5: AtomData

    Definition Classes
    Atom → Product6
  11. def _6: ContentChangeDetails

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

    Definition Classes
    ImmutableAtom
  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. val atomType: AtomType

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

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

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

    Definition Classes
    ImmutableAtom
  18. 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

    Definition Classes
    Atom
  19. val data: AtomData

    Definition Classes
    ImmutableAtom
  20. val defaultHtml: String

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

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

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

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

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

    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
  26. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

    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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  34. def productArity: Int

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

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

    Definition Classes
    Product
  37. def productPrefix: String

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

    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

    Definition Classes
    AnyRef
  40. def toString(): String

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

    Definition Classes
    Atom
  42. def unsetContentChangeDetails: Atom

    Definition Classes
    Atom
  43. def unsetData: Atom

    Definition Classes
    Atom
  44. def unsetDefaultHtml: Atom

    Definition Classes
    Atom
  45. def unsetField(_fieldId: Short): Atom

    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
  46. def unsetId: Atom

    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
  47. def unsetLabels: Atom

    Definition Classes
    Atom
  48. final def wait(): Unit

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

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

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

    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