Class ObjectFeatureImpl

java.lang.Object
com.e1c.langtool.v8.dt.translator.ObjectFeatureImpl
All Implemented Interfaces:
ObjectFeature, Serializable
Direct Known Subclasses:
DelegatingObjectFeatureImpl

public class ObjectFeatureImpl extends Object implements ObjectFeature
See Also:
  • Constructor Details

    • ObjectFeatureImpl

      public ObjectFeatureImpl(org.eclipse.emf.ecore.EStructuralFeature eFeature)
    • ObjectFeatureImpl

      public ObjectFeatureImpl(org.eclipse.emf.ecore.EStructuralFeature eFeature, int index)
  • Method Details

    • getIndex

      public int getIndex()
      Description copied from interface: ObjectFeature
      Gets the index of child object if the feature is a list. Default value is -1, means that the featue is not a list.
      Specified by:
      getIndex in interface ObjectFeature
      Returns:
      the index
    • getFeature

      public org.eclipse.emf.ecore.EStructuralFeature getFeature()
      Description copied from interface: ObjectFeature
      Gets the feature of EObject to specify the child object.
      Specified by:
      getFeature in interface ObjectFeature
      Returns:
      the feature
    • toString

      public String toString()
      Overrides:
      toString in class Object