Class EObjectFeature


  • public class EObjectFeature
    extends Object
    Class representing a EStructuralFeature bound to a particular EObject.
    • Constructor Detail

      • EObjectFeature

        public EObjectFeature​(org.eclipse.emf.ecore.EObject object,
                              org.eclipse.emf.ecore.EStructuralFeature feature)
        Constructs a new instance.
        Parameters:
        object - the object, cannot be null
        feature - the feature, cannot be null
    • Method Detail

      • getObject

        public org.eclipse.emf.ecore.EObject getObject()
        Returns the object.
        Returns:
        the object, never null
      • getFeature

        public org.eclipse.emf.ecore.EStructuralFeature getFeature()
        Returns the feature.
        Returns:
        the feature, never null
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object