Class/Object

com.gu.contentatom.thrift.Taxonomy

Immutable

Related Docs: object Immutable | package Taxonomy

Permalink

class Immutable extends Taxonomy

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

Linear Supertypes
Taxonomy, Serializable, ValidatingThriftStruct[Taxonomy], HasThriftStructCodec3[Taxonomy], Product5[Option[Seq[TagUsage]], Option[Seq[Tag]], Option[Tag], Option[Newspaper], Option[Seq[Reference]]], Product, Equals, ThriftStruct, ThriftStructIface, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. Taxonomy
  3. Serializable
  4. ValidatingThriftStruct
  5. HasThriftStructCodec3
  6. Product5
  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(tags: Option[Seq[TagUsage]] = _root_.scala.None, contributors: Option[Seq[Tag]] = _root_.scala.None, publication: Option[Tag] = _root_.scala.None, newspaper: Option[Newspaper] = _root_.scala.None, references: Option[Seq[Reference]] = _root_.scala.None)

    Permalink
  2. new Immutable(tags: Option[Seq[TagUsage]], contributors: Option[Seq[Tag]], publication: Option[Tag], newspaper: Option[Newspaper], references: Option[Seq[Reference]], _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: Option[Seq[TagUsage]]

    Permalink
    Definition Classes
    Taxonomy → Product5
  5. def _2: Option[Seq[Tag]]

    Permalink
    Definition Classes
    Taxonomy → Product5
  6. def _3: Option[Tag]

    Permalink
    Definition Classes
    Taxonomy → Product5
  7. def _4: Option[Newspaper]

    Permalink
    Definition Classes
    Taxonomy → Product5
  8. def _5: Option[Seq[Reference]]

    Permalink
    Definition Classes
    Taxonomy → Product5
  9. def _codec: ValidatingThriftStructCodec3[Taxonomy]

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

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

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

    Permalink
    Definition Classes
    Taxonomy → Equals
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. val contributors: Option[Seq[Tag]]

    Permalink

    The list of contributor tags for this content.

    The list of contributor tags for this content.

    Contributors are managed via the content's byline and links to the contributor tag pages are included in the byline

    Definition Classes
    ImmutableTaxonomy
  15. def copy(tags: Option[Seq[TagUsage]] = this.tags, contributors: Option[Seq[Tag]] = this.contributors, publication: Option[Tag] = this.publication, newspaper: Option[Newspaper] = this.newspaper, references: Option[Seq[Reference]] = this.references, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Taxonomy

    Permalink
    Definition Classes
    Taxonomy
  16. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    Taxonomy → Equals → AnyRef → Any
  18. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. 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
    Taxonomy
  21. 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
    Taxonomy
  22. def hashCode(): Int

    Permalink
    Definition Classes
    Taxonomy → AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  25. def newBuilder(): StructBuilder[Taxonomy]

    Permalink
    Definition Classes
    Taxonomy
  26. val newspaper: Option[Newspaper]

    Permalink

    The newspaper book and book section that the content appeared in

    The newspaper book and book section that the content appeared in

    Definition Classes
    ImmutableTaxonomy
  27. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  29. def productArity: Int

    Permalink
    Definition Classes
    Product5 → Product
  30. def productElement(n: Int): Any

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

    Permalink
    Definition Classes
    Product
  32. def productPrefix: String

    Permalink
    Definition Classes
    Taxonomy → Product
  33. val publication: Option[Tag]

    Permalink

    The publication that commissioned this content

    The publication that commissioned this content

    Definition Classes
    ImmutableTaxonomy
  34. val references: Option[Seq[Reference]]

    Permalink

    The external references applied to this content

    The external references applied to this content

    Definition Classes
    ImmutableTaxonomy
  35. def setField(_blob: TFieldBlob): Taxonomy

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

    Permalink
    Definition Classes
    AnyRef
  37. val tags: Option[Seq[TagUsage]]

    Permalink

    The list of tags applied to the content.

    The list of tags applied to the content.

    The tags in this list are all the non contributor, newspaper and publication tags. They are ordered by importance (most important first). Any tag in this list can be marked as 'lead' marking this content as the most important story for the tag at the time of publication.

    Definition Classes
    ImmutableTaxonomy
  38. def toString(): String

    Permalink
    Definition Classes
    Taxonomy → AnyRef → Any
  39. def toTuple: (Option[Seq[TagUsage]], Option[Seq[Tag]], Option[Tag], Option[Newspaper], Option[Seq[Reference]])

    Permalink
    Definition Classes
    Taxonomy
  40. def unsetContributors: Taxonomy

    Permalink
    Definition Classes
    Taxonomy
  41. def unsetField(_fieldId: Short): Taxonomy

    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
    Taxonomy
  42. def unsetNewspaper: Taxonomy

    Permalink
    Definition Classes
    Taxonomy
  43. def unsetPublication: Taxonomy

    Permalink
    Definition Classes
    Taxonomy
  44. def unsetReferences: Taxonomy

    Permalink
    Definition Classes
    Taxonomy
  45. def unsetTags: Taxonomy

    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
    Taxonomy
  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
    Taxonomy → ThriftStruct

Inherited from Taxonomy

Inherited from Serializable

Inherited from ValidatingThriftStruct[Taxonomy]

Inherited from HasThriftStructCodec3[Taxonomy]

Inherited from Product5[Option[Seq[TagUsage]], Option[Seq[Tag]], Option[Tag], Option[Newspaper], Option[Seq[Reference]]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from ThriftStructIface

Inherited from AnyRef

Inherited from Any

Ungrouped