Interface TranslationMetadata
public interface TranslationMetadata
The TranslationMetadata maintains a list of metadata.
-
Method Summary
Modifier and TypeMethodDescriptionGets the final scope.Gets the rough scope.intGets the percentage complete.Gets the translation state.booleanChecks if metadata translation is required.booleanChecks if Object translation is required.booleanDeprecated.
-
Method Details
-
isObjectTranslationRequired
boolean isObjectTranslationRequired()Checks if Object translation is required. Used to determine if Object metadata should be translated as well.- Returns:
- true, if Object translation is required
-
isMetadataTranslationRequired
boolean isMetadataTranslationRequired()Checks if metadata translation is required.- Returns:
- true, if metadata translation is required
-
isSupportingObjectTranslationRequired
Deprecated.Checks if supporting Object translation is required. Used to determine if supporting Objects should be translated.- Returns:
- true, if Supporting Object translation is required
-
getPercentageComplete
int getPercentageComplete()Gets the percentage complete.- Returns:
- the percentage complete
-
getTranslationState
TranslationState getTranslationState()Gets the translation state.- Returns:
- the translation state
-
getInitialScope
TranslationScope getInitialScope()Gets the rough scope. Rough scope is calculated without calling connector API.- Returns:
- the rough scope
-
getFinalScope
TranslationScope getFinalScope()Gets the final scope. Final scope is calculated by calling connector API.- Returns:
- the final scope
-