Class V8FeatureSettings.V8ModelFeatureSettings

All Implemented Interfaces:
EFeatureSettings, FeatureSettings, ModelValueProviderExtension, DtFeatureSettings, Serializable
Enclosing class:
V8FeatureSettings

public static final class V8FeatureSettings.V8ModelFeatureSettings extends V8FeatureSettings implements ModelValueProviderExtension
See Also:
  • Constructor Details

    • V8ModelFeatureSettings

      protected V8ModelFeatureSettings(org.eclipse.emf.ecore.EStructuralFeature feature, boolean isId, boolean isInterface, boolean isUnique, boolean isCamelCase, boolean isMultiLine, boolean isPreferContext, boolean isFormat, EFeatureSettings camelCaseByContent, BiFunction<org.eclipse.emf.ecore.EObject,EFeatureSettings,String> valueProvider)
  • Method Details

    • getValue

      public String getValue(Object source)
      Description copied from interface: ModelValueProviderExtension
      Gets the model value of the feature in the source object.
      Specified by:
      getValue in interface ModelValueProviderExtension
      Parameters:
      source - the source object, cannot be null.
      Returns:
      the model value of the feature, may return null if value is empty.