Package com.e1c.langtool.query
Class ContextTranslationQuery
java.lang.Object
com.e1c.langtool.query.ContextTranslationQuery
- All Implemented Interfaces:
IContextTranslationQuery,ISingleTranslationQuery
An immutable implementation of
ContextTranslationQuery.-
Method Details
-
getText
Description copied from interface:ISingleTranslationQueryReturns the text to translate.- Specified by:
getTextin interfaceISingleTranslationQuery- Returns:
- the text to translate. Can't be
null.
-
getSourceLanguage
-
getTargetLanguage
-
isProcessingNeeded
public boolean isProcessingNeeded() -
getFeatureValue
Description copied from interface:IContextTranslationQueryReturns theFeatureValue.Note that following methods of
FeatureValueandISingleTranslationQueryshould return the same values:FeatureValue.getValue()andISingleTranslationQuery.getText()FeatureValue.getFeatureSettings().isLocalizable()andisProcessingNeeded()
- Specified by:
getFeatureValuein interfaceIContextTranslationQuery- Returns:
- the
FeatureValue
-
getStorageId
Description copied from interface:IContextTranslationQueryReturns the translation storage id.- Specified by:
getStorageIdin interfaceIContextTranslationQuery- Returns:
- the storage id
-
getProjectName
Description copied from interface:IContextTranslationQueryReturns the name of project for which the translations will be searched.- Specified by:
getProjectNamein interfaceIContextTranslationQuery- Returns:
- the name of project
- See Also:
-
IResource.getName()
-
hashCode
public int hashCode() -
equals
-