Object/Trait

com.gu.contentatom.thrift.atom.recipe

Ingredient

Related Docs: trait Ingredient | package recipe

Permalink

object Ingredient extends ValidatingThriftStructCodec3[Ingredient] with StructBuilderFactory[Ingredient] with Serializable

Linear Supertypes
Serializable, Serializable, StructBuilderFactory[Ingredient], ValidatingThriftStructCodec3[Ingredient], ThriftStructCodec3[Ingredient], ThriftStructCodec[Ingredient], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Ingredient
  2. Serializable
  3. Serializable
  4. StructBuilderFactory
  5. ValidatingThriftStructCodec3
  6. ThriftStructCodec3
  7. ThriftStructCodec
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Immutable extends Ingredient

    Permalink

    The default read-only implementation of Ingredient.

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

  2. trait Proxy extends Ingredient

    Permalink

    This Proxy trait allows you to extend the Ingredient trait with additional state or behavior and implement the read-only methods from Ingredient using an underlying instance.

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. val CommentField: TField

    Permalink
  5. val CommentFieldManifest: Manifest[String]

    Permalink
  6. object Immutable extends ThriftStructCodec3[Ingredient] with Serializable

    Permalink
  7. val ItemField: TField

    Permalink
  8. val ItemFieldManifest: Manifest[String]

    Permalink
  9. val NoPassthroughFields: Map[Short, TFieldBlob]

    Permalink
  10. val QuantityField: TField

    Permalink
  11. val QuantityFieldManifest: Manifest[Double]

    Permalink
  12. val QuantityRangeField: TField

    Permalink
  13. val QuantityRangeFieldManifest: Manifest[Range]

    Permalink
  14. val Struct: TStruct

    Permalink
  15. val UnitField: TField

    Permalink
  16. val UnitFieldManifest: Manifest[String]

    Permalink
  17. def apply(item: String, comment: Option[String] = _root_.scala.None, quantity: Option[Double] = _root_.scala.None, quantityRange: Option[Range] = _root_.scala.None, unit: Option[String] = _root_.scala.None): Ingredient

    Permalink
  18. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  19. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. def decode(_iprot: TProtocol): Ingredient

    Permalink
    Definition Classes
    Ingredient → ThriftStructCodec
  21. def encode(_item: Ingredient, _oproto: TProtocol): Unit

    Permalink
    Definition Classes
    Ingredient → ThriftStructCodec
  22. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  24. lazy val fieldInfos: List[ThriftStructFieldInfo]

    Permalink

    Field information in declaration order.

  25. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  29. lazy val metaData: ThriftStructMetaData[Ingredient]

    Permalink
    Definition Classes
    Ingredient → ThriftStructCodec
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. def newBuilder(): StructBuilder[Ingredient]

    Permalink
    Definition Classes
    Ingredient → StructBuilderFactory
  32. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  34. val structAnnotations: Map[String, String]

    Permalink
  35. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  37. def ttypeToString(byte: Byte): String

    Permalink
    Attributes
    protected
    Definition Classes
    ThriftStructCodec3
  38. def unapply(_item: Ingredient): Option[(String, Option[String], Option[Double], Option[Range], Option[String])]

    Permalink
  39. def validate(_item: Ingredient): Unit

    Permalink

    Checks that all required fields are non-null.

  40. final def validateField[U <: ValidatingThriftStruct[U]](any: Any): Seq[Issue]

    Permalink
    Attributes
    protected
    Definition Classes
    ValidatingThriftStructCodec3
  41. def validateNewInstance(item: Ingredient): Seq[Issue]

    Permalink

    Checks that the struct is a valid as a new instance.

    Checks that the struct is a valid as a new instance. If there are any missing required or construction required fields, return a non-empty list.

    Definition Classes
    Ingredient → ValidatingThriftStructCodec3
  42. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. def withoutPassthroughFields(original: Ingredient): Ingredient

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from StructBuilderFactory[Ingredient]

Inherited from ValidatingThriftStructCodec3[Ingredient]

Inherited from ThriftStructCodec3[Ingredient]

Inherited from ThriftStructCodec[Ingredient]

Inherited from AnyRef

Inherited from Any

Ungrouped