Class SettingDelegate

  • All Implemented Interfaces:
    org.eclipse.emf.ecore.EStructuralFeature.Setting

    public class SettingDelegate
    extends java.lang.Object
    implements org.eclipse.emf.ecore.EStructuralFeature.Setting
    Delegating implementation of an EStructuralFeature.Setting to be independent of other's hashCode() and equals(Object) implementation. The criteria is here: The settings's eObject and eStructuralFeature have to be equal.
    • Constructor Summary

      Constructors 
      Constructor Description
      SettingDelegate​(org.eclipse.emf.ecore.EStructuralFeature.Setting delegate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.Object get​(boolean resolve)  
      org.eclipse.emf.ecore.EObject getEObject()  
      org.eclipse.emf.ecore.EStructuralFeature getEStructuralFeature()  
      int hashCode()  
      boolean isSet()  
      void set​(java.lang.Object newValue)  
      void unset()  
      • Methods inherited from class java.lang.Object

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

      • SettingDelegate

        public SettingDelegate​(org.eclipse.emf.ecore.EStructuralFeature.Setting delegate)
    • Method Detail

      • get

        public java.lang.Object get​(boolean resolve)
        Specified by:
        get in interface org.eclipse.emf.ecore.EStructuralFeature.Setting
      • getEObject

        public org.eclipse.emf.ecore.EObject getEObject()
        Specified by:
        getEObject in interface org.eclipse.emf.ecore.EStructuralFeature.Setting
      • getEStructuralFeature

        public org.eclipse.emf.ecore.EStructuralFeature getEStructuralFeature()
        Specified by:
        getEStructuralFeature in interface org.eclipse.emf.ecore.EStructuralFeature.Setting
      • isSet

        public boolean isSet()
        Specified by:
        isSet in interface org.eclipse.emf.ecore.EStructuralFeature.Setting
      • set

        public void set​(java.lang.Object newValue)
        Specified by:
        set in interface org.eclipse.emf.ecore.EStructuralFeature.Setting
      • unset

        public void unset()
        Specified by:
        unset in interface org.eclipse.emf.ecore.EStructuralFeature.Setting
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object