Interface ObjectFeature

All Superinterfaces:
Serializable
All Known Subinterfaces:
DelegatingObjectFeature
All Known Implementing Classes:
DelegatingObjectFeatureImpl, ObjectFeatureImpl

public interface ObjectFeature extends Serializable
Interface for object identificating c value of child EObject. If the EStructuralFeature is a list of child objects identificator must provide the index in the list.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.emf.ecore.EStructuralFeature
    Gets the feature of EObject to specify the child object.
    int
    Gets the index of child object if the feature is a list.
  • Method Details

    • getIndex

      int getIndex()
      Gets the index of child object if the feature is a list. Default value is -1, means that the featue is not a list.
      Returns:
      the index
    • getFeature

      org.eclipse.emf.ecore.EStructuralFeature getFeature()
      Gets the feature of EObject to specify the child object.
      Returns:
      the feature