Interface ObjectFeature
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
DelegatingObjectFeature
- All Known Implementing Classes:
DelegatingObjectFeatureImpl,ObjectFeatureImpl
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 TypeMethodDescriptionorg.eclipse.emf.ecore.EStructuralFeatureGets the feature ofEObjectto specify the child object.intgetIndex()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 ofEObjectto specify the child object.- Returns:
- the feature
-