Class SegmentConverterListResultImpl
- java.lang.Object
-
- org.eclipse.emfforms.internal.core.services.databinding.SegmentConverterListResultImpl
-
- All Implemented Interfaces:
SegmentConverterListResultEMF
public class SegmentConverterListResultImpl extends java.lang.Object implements SegmentConverterListResultEMF
Default implementation ofSegmentConverterListResultEMF
.- Author:
- Lucas Koehler
-
-
Constructor Summary
Constructors Constructor Description SegmentConverterListResultImpl(org.eclipse.emf.databinding.IEMFListProperty listProperty, org.eclipse.emf.ecore.EClass nextEClass)
Creates a newSegmentConverterListResultImpl
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.databinding.IEMFListProperty
getListProperty()
TheIEMFListProperty
resulting from the segment conversion.java.util.Optional<org.eclipse.emf.ecore.EClass>
getNextEClass()
Returns the target EClass of the resolved segment.
-
-
-
Constructor Detail
-
SegmentConverterListResultImpl
public SegmentConverterListResultImpl(org.eclipse.emf.databinding.IEMFListProperty listProperty, org.eclipse.emf.ecore.EClass nextEClass)
Creates a newSegmentConverterListResultImpl
.- Parameters:
listProperty
- TheIEMFListProperty
nextEClass
- The nextEClass
, may benull
-
-
Method Detail
-
getListProperty
public org.eclipse.emf.databinding.IEMFListProperty getListProperty()
TheIEMFListProperty
resulting from the segment conversion. Must not benull
.- Specified by:
getListProperty
in interfaceSegmentConverterListResultEMF
- Returns:
- The
IEMFListProperty
- See Also:
SegmentConverterListResultEMF.getListProperty()
-
getNextEClass
public java.util.Optional<org.eclipse.emf.ecore.EClass> getNextEClass()
Returns the target EClass of the resolved segment. This EClass is the root EClass for the next segment in the DMR.- Specified by:
getNextEClass
in interfaceSegmentConverterListResultEMF
- Returns:
- The next EClass or nothing if the segment's domain model feature is an attribute.
- See Also:
SegmentConverterListResultEMF.getNextEClass()
-
-