case class MantikHeader[T <: MantikDefinition](definition: T, metaJson: MetaJson, header: MantikHeaderMeta) extends Product with Serializable

A MantikHeader file. Contains one Mantik Definition together with it's JSON representation.

definition

the base definition of the Mantik Item

metaJson

the JSON source of the item and it's meta variables

header

common optional meta fields of a MantikHeader (e.g. Name, Version, ...) Note: MetaJson and MantikHeaderMeta both have meta in their name, but are completely different things.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MantikHeader
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MantikHeader(definition: T, metaJson: MetaJson, header: MantikHeaderMeta)

    definition

    the base definition of the Mantik Item

    metaJson

    the JSON source of the item and it's meta variables

    header

    common optional meta fields of a MantikHeader (e.g. Name, Version, ...) Note: MetaJson and MantikHeaderMeta both have meta in their name, but are completely different things.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def cast[T <: MantikDefinition](implicit ct: ClassTag[T]): Either[MantikException, MantikHeader[T]]
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. val definition: T
  8. def definitionAs[T <: MantikDefinition](implicit ct: ClassTag[T]): Either[MantikException, T]

    Returns the definition, if applicable.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. val header: MantikHeaderMeta
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. val metaJson: MetaJson
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toJson: String

    Returns Json code.

  19. def toJsonValue: Json

    Returns the json value (before converting to string)

  20. def toString(): String
    Definition Classes
    MantikHeader → AnyRef → Any
  21. def toYaml: String

    Returns Yaml code

  22. def violations: Seq[String]

    Return violations (note: cannot spot bridge-related violations)

  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def withMantikHeaderMeta(meta: MantikHeaderMeta): MantikHeader[T]

    Update Meta values of the Mantik Header.

    Update Meta values of the Mantik Header. (Updates the MetaJson accordingly)

  27. def withMetaValues(values: (String, SingleElementBundle)*): MantikHeader[T]

    Update Meta Variable Values

    Update Meta Variable Values

    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped