Enum Class IGroupGetterStrategy

java.lang.Object
java.lang.Enum<IGroupGetterStrategy>
com._1c.g5.v8.dt.common.ui.databinding.IGroupGetterStrategy
All Implemented Interfaces:
Serializable, Comparable<IGroupGetterStrategy>, Constable

public enum IGroupGetterStrategy extends Enum<IGroupGetterStrategy>
  • Enum Constant Details

  • Method Details

    • values

      public static IGroupGetterStrategy[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static IGroupGetterStrategy valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getOneFeatureValue

      public Object getOneFeatureValue(Iterable<org.eclipse.emf.ecore.EObject> eObjects, org.eclipse.emf.ecore.EStructuralFeature feature)
      Check that all EObjects in model have same feature value and return it. The subclass implements the logic of the conflict resolving.
      Parameters:
      eObjects - list of EObject
      Returns:
      feature value or null
    • createEmptyResult

      protected abstract Object createEmptyResult()
    • createDifferentResult

      protected abstract Object createDifferentResult(Object currentValue)