Class ObjectFeatureImpl
java.lang.Object
com.e1c.langtool.v8.dt.translator.ObjectFeatureImpl
- All Implemented Interfaces:
ObjectFeature,Serializable
- Direct Known Subclasses:
DelegatingObjectFeatureImpl
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionObjectFeatureImpl(org.eclipse.emf.ecore.EStructuralFeature eFeature) ObjectFeatureImpl(org.eclipse.emf.ecore.EStructuralFeature eFeature, int index) -
Method Summary
-
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:ObjectFeatureGets 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:
getIndexin interfaceObjectFeature- Returns:
- the index
-
getFeature
public org.eclipse.emf.ecore.EStructuralFeature getFeature()Description copied from interface:ObjectFeatureGets the feature ofEObjectto specify the child object.- Specified by:
getFeaturein interfaceObjectFeature- Returns:
- the feature
-
toString
-