o

io.xskipper.metadatastore

TranslationUtils

object TranslationUtils

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TranslationUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def getClauseTranslation[T](metaDataStoreType: MetadataStoreManagerType, clause: Clause, translators: Seq[ClauseTranslator]): Option[T]

    Attempts to translate a given clause using the given a sequence of translators by going over the sequence and searching for the first available translation.

    Attempts to translate a given clause using the given a sequence of translators by going over the sequence and searching for the first available translation. if no translation is found return None

    T

    the return type of the translation (property of the metaDataStoreType)

    metaDataStoreType

    the type of the metadatastore to which the clause will be translated

    clause

    the clause to be translated

    translators

    a sequence of ClauseTranslator to be used when searching for translation

    returns

    the clause translation or None if the given factories cannot translate the clause

  2. def getMetaDataTypeTranslation[T](metaDataStoreType: MetadataStoreManagerType, metadataType: MetadataType, index: Index, translators: Seq[MetaDataTranslator]): Option[T]

    Attempts to translate a given metadataType using the given a translators sequence by going over the sequence and searching for the first available translation.

    Attempts to translate a given metadataType using the given a translators sequence by going over the sequence and searching for the first available translation. if no translation is found return None

    T

    the return type of the translation (property of the metaDataStoreType)

    metaDataStoreType

    the type of the metadatastore to which the metadataType will be translated

    metadataType

    the metadataType to be translated

    index

    the index that created the metadataType

    translators

    a sequence of MetaDataTranslator to be used when searching for translation

    returns

    the metadataType translation or None if the given factories cannot translate the metadataType