Class DcsExprFeatureConverterKeyComputer
java.lang.Object
com.e1c.langtool.v8.dt.naming.AbstractFeatureKeyComputer
com.e1c.langtool.v8.dt.dcs.expressions.naming.DcsExprFeatureKeyComputer
com.e1c.langtool.v8.dt.internal.dcs.expressions.DcsExprFeatureConverterKeyComputer
- All Implemented Interfaces:
IFeatureKeyComputer,IFeatureKeyConverterExtension
public class DcsExprFeatureConverterKeyComputer
extends DcsExprFeatureKeyComputer
implements IFeatureKeyConverterExtension
The class provides functionality to compute feature keys
specific to expression features in DCS, enhancing the capabilities of feature key conversion.
-
Field Summary
Fields inherited from class com.e1c.langtool.v8.dt.naming.AbstractFeatureKeyComputer
SUFFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected FeatureKey_computeFqn(StringLiteral obj) protected FeatureKeycomputeExpressionFeatureFQN(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature) getConvertedFeatureKey(org.eclipse.emf.ecore.EObject object, String translation, ITranslateProject project) Computes the converted feature key for the givenEObject, translation, and translation project.getFeatureKey(org.eclipse.emf.ecore.EObject obj) Gets the feature key by given object.protected StringgetLanguageCode(StringLiteral literal) Methods inherited from class com.e1c.langtool.v8.dt.dcs.expressions.naming.DcsExprFeatureKeyComputer
_computeFqn, _computeFqn, _computeFqn, _computeFqn, _computeFqn, _computeFqn, _computeFqn, computeFqn, create, isSupportedMethods inherited from class com.e1c.langtool.v8.dt.naming.AbstractFeatureKeyComputer
_computeListFqn, _computeParentFeatureFqn, computeListOrParent, toFeatureKeyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.e1c.langtool.emf.naming.IFeatureKeyComputer
isSupported
-
Constructor Details
-
DcsExprFeatureConverterKeyComputer
public DcsExprFeatureConverterKeyComputer()
-
-
Method Details
-
getConvertedFeatureKey
public FeatureKey getConvertedFeatureKey(org.eclipse.emf.ecore.EObject object, String translation, ITranslateProject project) Description copied from interface:IFeatureKeyConverterExtensionComputes the converted feature key for the givenEObject, translation, and translation project.- Specified by:
getConvertedFeatureKeyin interfaceIFeatureKeyConverterExtension- Parameters:
object- the EObject for which to compute the feature key, cannot benull.translation- the translation string, cannot benull.project- the translation projectnull.- Returns:
- the computed converted feature key
null.
-
getFeatureKey
Description copied from interface:IFeatureKeyComputerGets the feature key by given object.- Specified by:
getFeatureKeyin interfaceIFeatureKeyComputer- Overrides:
getFeatureKeyin classAbstractFeatureKeyComputer- Parameters:
obj- the object- Returns:
- the feature key
-
computeExpressionFeatureFQN
protected FeatureKey computeExpressionFeatureFQN(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature) - Overrides:
computeExpressionFeatureFQNin classDcsExprFeatureKeyComputer
-
getLanguageCode
- Overrides:
getLanguageCodein classDcsExprFeatureKeyComputer
-
_computeFqn
- Overrides:
_computeFqnin classDcsExprFeatureKeyComputer
-