object TranslationUtils
- Alphabetic
- By Inheritance
- TranslationUtils
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
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
-
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