Class EObjectFeature

java.lang.Object
com._1c.g5.v8.dt.common.EObjectFeature

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

    Constructors
    Constructor
    Description
    EObjectFeature(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature)
    Constructs a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    org.eclipse.emf.ecore.EStructuralFeature
    Returns the feature.
    org.eclipse.emf.ecore.EObject
    Returns the object.
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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 Details

    • 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
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object