Packages

  • package root
    Definition Classes
    root
  • package csw
    Definition Classes
    root
  • package params

    This project is intended to hold reusable models and params used throughout the csw source code.

    Params

    This project is intended to hold reusable models and params used throughout the csw source code.

    This also provides out of the box support to cater to the diverse communication requirements. Consumer of this library will be able to create Commands, Events, States to store ParameterSets.

    Imp Packages

    Commands and Events

    This packages contains classes, traits and models used to create *commands* and *events*. These are all based on type-safe keys and items (a set of values with optional units). Each key has a specific type and the key's values must be of that type.

    Two types of csw.params.commands.Command are supported:

    Following are the concrete commands supported by csw:

    Two types of csw.params.events.Event are supported:

    core

    This package supports serialization and deserialization of commands, events and state variables in JSON format csw.params.core.formats.JsonSupport.

    Scala and Java APIs

    All the param and event classes are immutable. The set methods return a new instance of the object with a new item added and the get methods return an Option, in case the Key is not found. There are also value methods that return a value directly, throwing an exception if the key or value is not found.

    Key Types

    A set of standard key types and matching items are defined. Each key accepts one or more values of the given type.

    Following csw.params.core.generics.KeyType are supported by csw:

    +--------------+-------------------------+---------------------------+
    |  Primitive   |      Scala KeyType      |       Java KeyType        |
    +--------------+-------------------------+---------------------------+
    | Boolean      | KeyType.BooleanKey      | JKeyType.BooleanKey      |
    | Character    | KeyType.CharKey         | JKeyType.JCharKey        |
    | Byte         | KeyType.ByteKey         | JKeyType.ByteKey         |
    | Short        | KeyType.ShortKey        | JKeyType.ShortKey        |
    | Long         | KeyType.LongKey         | JKeyType.LongKey         |
    | Int          | KeyType.IntKey          | JKeyType.IntKey          |
    | Float        | KeyType.FloatKey        | JKeyType.FloatKey        |
    | Double       | KeyType.DoubleKey       | JKeyType.DoubleKey       |
    | String       | KeyType.StringKey       | JKeyType.StringKey       |
    | UtcTime      | KeyType.UTCTimeKey      | JKeyType.UTCTimeKey      |
    | TaiTime      | KeyType.TAITimeKey      | JKeyType.TAITimeKey      |
    | ----------   | ----------              | ----------               |
    | ByteArray    | KeyType.ByteArrayKey    | JKeyType.ByteArrayKey    |
    | ShortArray   | KeyType.ShortArrayKey   | JKeyType.ShortArrayKey   |
    | LongArray    | KeyType.LongArrayKey    | JKeyType.LongArrayKey    |
    | IntArray     | KeyType.IntArrayKey     | JKeyType.IntArrayKey     |
    | FloatArray   | KeyType.FloatArrayKey   | JKeyType.FloatArrayKey   |
    | DoubleArray  | KeyType.DoubleArrayKey  | JKeyType.DoubleArrayKey  |
    | ----------   | ----------              | ----------               |
    | ByteMatrix   | KeyType.ByteMatrixKey   | JKeyType.ByteMatrixKey   |
    | ShortMatrix  | KeyType.ShortMatrixKey  | JKeyType.ShortMatrixKey  |
    | LongMatrix   | KeyType.LongMatrixKey   | JKeyType.LongMatrixKey   |
    | IntMatrix    | KeyType.IntMatrixKey    | JKeyType.IntMatrixKey    |
    | FloatMatrix  | KeyType.FloatMatrixKey  | JKeyType.FloatMatrixKey  |
    | DoubleMatrix | KeyType.DoubleMatrixKey | JKeyType.DoubleMatrixKey |
    | ----------   | ----------              | ----------               |
    | Choice       | KeyType.ChoiceKey       | JKeyType.ChoiceKey       |
    +--------------+-------------------------+---------------------------+

    Detailed information about creating Keys and Parameters can be found here: https://tmtsoftware.github.io/csw/services/messages/keys-parameters.html

    Detailed information about creating commands can be found here: https://tmtsoftware.github.io/csw/services/messages/commands.html

    Detailed information about creating events can be found here: https://tmtsoftware.github.io/csw/services/messages/events.html

    Definition Classes
    csw
  • package core
    Definition Classes
    params
  • package formats
    Definition Classes
    core
  • AdtCbor
  • CommandCbor
  • CommandIssueCbor
  • EventCbor
  • JParamCodecs
  • JavaJsonSupport
  • JsonSupport
  • ParamCodecs
  • ParamCodecsBase
  • ParamCore
  • Timestamp

object ParamCodecs extends ParamCodecs

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParamCodecs
  2. ParamCodecs
  3. ParamCodecsBase
  4. CommonCodecs
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type ArrayDec[T] = Decoder[Array[T]]
    Definition Classes
    ParamCodecsBase
  2. type ArrayEnc[T] = Encoder[Array[T]]
    Definition Classes
    ParamCodecsBase
  3. case class Timestamp(seconds: Long, nanos: Long) extends Product with Serializable
    Definition Classes
    CommonCodecs

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. implicit lazy val angleCodec: Codec[Angle]
    Definition Classes
    ParamCodecsBase
  5. implicit def arrayDataCodec[T](implicit arg0: ArrayEnc[T], arg1: ArrayDec[T]): Codec[ArrayData[T]]
    Definition Classes
    ParamCodecsBase
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. implicit lazy val bytesDec: Decoder[Array[Byte]]
    Definition Classes
    ParamCodecsBase
  8. implicit lazy val bytesEnc: Encoder[Array[Byte]]
    Definition Classes
    ParamCodecsBase
  9. implicit lazy val charDec: Decoder[Char]
    Definition Classes
    ParamCodecsBase
  10. implicit lazy val charEnc: Encoder[Char]
    Definition Classes
    ParamCodecsBase
  11. implicit lazy val characterDec: Decoder[Character]
    Definition Classes
    ParamCodecsBase
  12. implicit lazy val characterEnc: Encoder[Character]
    Definition Classes
    ParamCodecsBase
  13. implicit lazy val choiceCodec: Codec[Choice]
    Definition Classes
    ParamCodecsBase
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  15. implicit lazy val commandIssueCodecValue: Codec[CommandIssue]
    Definition Classes
    ParamCodecsBase
  16. implicit lazy val commandNameCodec: Codec[CommandName]
    Definition Classes
    ParamCodecsBase
  17. implicit def commandResponseCodec[T <: CommandResponse]: Codec[T]
    Definition Classes
    ParamCodecs
  18. lazy val commandResponseCodecValue: Codec[CommandResponse]
    Attributes
    protected
    Definition Classes
    ParamCodecsBase
  19. implicit lazy val controlCommandCodec: Codec[ControlCommand]
    Definition Classes
    ParamCodecsBase
  20. implicit def coordCodec[T <: Coord]: Codec[T]
    Definition Classes
    ParamCodecs
  21. lazy val coordCodecValue: Codec[Coord]
    Definition Classes
    ParamCodecsBase
  22. implicit lazy val currentStateCodecValue: Codec[CurrentState]
    Definition Classes
    ParamCodecsBase
  23. implicit def enumCodec[T <: EnumEntry](implicit arg0: Enum[T]): Codec[T]
    Definition Classes
    CommonCodecs
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  26. implicit lazy val eventCodec: Codec[Event]
    Definition Classes
    ParamCodecsBase
  27. implicit lazy val eventNameCodec: Codec[EventName]
    Definition Classes
    ParamCodecsBase
  28. implicit lazy val finiteDurationCodec: Codec[FiniteDuration]
    Definition Classes
    CommonCodecs
  29. implicit val flatAdtEncoding: AdtEncodingStrategy
    Definition Classes
    CommonCodecs
  30. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  31. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  32. implicit lazy val idCodec: Codec[Id]
    Definition Classes
    ParamCodecsBase
  33. implicit lazy val instantDec: Decoder[Instant]
    Definition Classes
    CommonCodecs
  34. implicit lazy val instantEnc: Encoder[Instant]
    Definition Classes
    CommonCodecs
  35. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  36. implicit lazy val javaByteArrayDec: Decoder[Array[Byte]]
    Definition Classes
    ParamCodecsBase
  37. implicit lazy val javaByteArrayEnc: Encoder[Array[Byte]]
    Definition Classes
    ParamCodecsBase
  38. implicit def matrixDataCodec[T](implicit arg0: ClassTag[T], arg1: ArrayEnc[T], arg2: ArrayDec[T]): Codec[MatrixData[T]]
    Definition Classes
    ParamCodecsBase
  39. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  40. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  41. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  42. implicit lazy val obsIdCodec: Codec[ObsId]
    Definition Classes
    ParamCodecsBase
  43. implicit def paramCodec[T](implicit arg0: ArrayEnc[T], arg1: ArrayDec[T]): Codec[Parameter[T]]
    Definition Classes
    ParamCodecsBase
  44. implicit def paramCoreCodec[T](implicit arg0: ArrayEnc[T], arg1: ArrayDec[T]): Codec[ParamCore[T]]
    Definition Classes
    ParamCodecsBase
  45. implicit lazy val paramDecExistential: Decoder[Parameter[_]]
    Definition Classes
    ParamCodecsBase
  46. implicit lazy val paramEncExistential: Encoder[Parameter[_]]
    Definition Classes
    ParamCodecsBase
  47. implicit lazy val prefixCodec: Codec[Prefix]
    Definition Classes
    CommonCodecs
  48. implicit lazy val properMotionCodec: Codec[ProperMotion]
    Definition Classes
    ParamCodecsBase
  49. implicit lazy val resultCodec: Codec[Result]
    Definition Classes
    ParamCodecsBase
  50. implicit lazy val sequenceCodec: Codec[Sequence]
    Definition Classes
    ParamCodecsBase
  51. implicit lazy val sequenceCommandCodec: Codec[SequenceCommand]
    Definition Classes
    ParamCodecsBase
  52. implicit lazy val stateNameCodec: Codec[StateName]
    Definition Classes
    ParamCodecsBase
  53. implicit lazy val stateVariableCodecValue: Codec[StateVariable]
    Definition Classes
    ParamCodecsBase
  54. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  55. implicit lazy val tagCodec: Codec[Tag]
    Definition Classes
    ParamCodecsBase
  56. implicit lazy val taiTimeCodec: Codec[TAITime]
    Definition Classes
    ParamCodecsBase
  57. def toString(): String
    Definition Classes
    AnyRef → Any
  58. implicit lazy val utcTimeCodec: Codec[UTCTime]
    Definition Classes
    ParamCodecsBase
  59. implicit def waCodec[T](implicit arg0: ArrayEnc[T], arg1: ArrayDec[T]): Codec[ArraySeq[T]]
    Definition Classes
    ParamCodecsBase
  60. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  61. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  62. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from ParamCodecs

Inherited from ParamCodecsBase

Inherited from CommonCodecs

Inherited from AnyRef

Inherited from Any

Ungrouped