Class/Object

com.gu.flexiblecontent.model.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], Product6[Option[Seq[TagUsage]], Option[Seq[Tag]], Option[Tag], Option[Newspaper], Option[Seq[Reference]], Option[Seq[Tag]]], Product, Equals, ThriftStruct, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. Taxonomy
  3. Serializable
  4. ValidatingThriftStruct
  5. HasThriftStructCodec3
  6. Product6
  7. Product
  8. Equals
  9. ThriftStruct
  10. AnyRef
  11. 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, tracking: Option[Seq[Tag]] = _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]], tracking: Option[Seq[Tag]], _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 → Product6
  5. def _2: Option[Seq[Tag]]

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

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

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

    Permalink
    Definition Classes
    Taxonomy → Product6
  9. def _6: Option[Seq[Tag]]

    Permalink
    Definition Classes
    Taxonomy → Product6
  10. def _codec: ValidatingThriftStructCodec3[Taxonomy]

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @throws( ... )
  15. 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
  16. 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, tracking: Option[Seq[Tag]] = this.tracking, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Taxonomy

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

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

    Permalink
    Definition Classes
    Taxonomy → Equals → AnyRef → Any
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  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. 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
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  28. def productArity: Int

    Permalink
    Definition Classes
    Taxonomy → Product6 → Product
  29. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Taxonomy → Product6 → Product
  30. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  31. def productPrefix: String

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

    Permalink

    The publication that commissioned this content

    The publication that commissioned this content

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

    Permalink

    The external references applied to this content

    The external references applied to this content

    Definition Classes
    ImmutableTaxonomy
  34. 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
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. 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
  37. def toString(): String

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

    Permalink
    Definition Classes
    Taxonomy
  39. val tracking: Option[Seq[Tag]]

    Permalink

    The tracking tags

    The tracking tags

    Definition Classes
    ImmutableTaxonomy
  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. def unsetTracking: Taxonomy

    Permalink
    Definition Classes
    Taxonomy
  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. final def wait(): Unit

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

    Permalink
    Definition Classes
    Taxonomy → ThriftStruct

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Taxonomy

Inherited from Serializable

Inherited from ValidatingThriftStruct[Taxonomy]

Inherited from HasThriftStructCodec3[Taxonomy]

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

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped