Class BslContextDefKeyComputer
java.lang.Object
com.e1c.langtool.v8.dt.naming.AbstractFeatureKeyComputer
com.e1c.langtool.v8.dt.bsl.naming.BslContextDefKeyComputer
- All Implemented Interfaces:
FeatureKeyMigrationnExtension,IFeatureKeyComputer
public class BslContextDefKeyComputer
extends AbstractFeatureKeyComputer
implements FeatureKeyMigrationnExtension
-
Field Summary
Fields inherited from class com.e1c.langtool.v8.dt.naming.AbstractFeatureKeyComputer
SUFFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected FeatureKey_computeFqn(Method method) protected FeatureKey_computeFqn(Parameter param) computeFqn(org.eclipse.emf.ecore.EObject obj) Gets the old feature keys for the feature key ofFeatureValueif migration may be applied.booleanisSupport(ContextTranslationKey contexTranslationKey) Checks if it is support the feature value.booleanisSupported(org.eclipse.emf.ecore.EObject object) Checks if this compueter is supported the object.Methods inherited from class com.e1c.langtool.v8.dt.naming.AbstractFeatureKeyComputer
_computeListFqn, _computeParentFeatureFqn, computeListOrParent, getFeatureKey, 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
getFeatureKey
-
Constructor Details
-
BslContextDefKeyComputer
public BslContextDefKeyComputer()
-
-
Method Details
-
isSupported
public boolean isSupported(org.eclipse.emf.ecore.EObject object) Description copied from interface:IFeatureKeyComputerChecks if this compueter is supported the object.- Specified by:
isSupportedin interfaceIFeatureKeyComputer- Parameters:
object- the object- Returns:
- true, if is supported
-
computeFqn
- Specified by:
computeFqnin classAbstractFeatureKeyComputer
-
_computeFqn
-
_computeFqn
-
isSupport
Description copied from interface:FeatureKeyMigrationnExtensionChecks if it is support the feature value.- Specified by:
isSupportin interfaceFeatureKeyMigrationnExtension- Parameters:
contexTranslationKey- the context translation key, cannot benull.- Returns:
- true, if it is support this translation key to migrate it
-
getOldFeatureKeys
Description copied from interface:FeatureKeyMigrationnExtensionGets the old feature keys for the feature key ofFeatureValueif migration may be applied.- Specified by:
getOldFeatureKeysin interfaceFeatureKeyMigrationnExtension- Parameters:
key- the key, cannot benull.- Returns:
- the old feature keys
-