Class SpreadsheetImportResultImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
- org.eclipse.emfforms.spi.spreadsheet.core.error.model.impl.SpreadsheetImportResultImpl
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
,SpreadsheetImportResult
public class SpreadsheetImportResultImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements SpreadsheetImportResult
An implementation of the model object 'Reports'.The following features are implemented:
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.emf.common.util.EList<ErrorReport>
errorReports
The cached value of the 'Error Reports
' containment reference list.protected org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject>
importedEObjects
The cached value of the 'Imported EObjects
' reference list.protected org.eclipse.emf.common.util.EList<SettingToSheetMapping>
settingToSheetMap
The cached value of the 'Setting To Sheet Map
' reference list.-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SpreadsheetImportResultImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
eGet(int featureID, boolean resolve, boolean coreType)
org.eclipse.emf.common.notify.NotificationChain
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
.boolean
eIsSet(int featureID)
void
eSet(int featureID, java.lang.Object newValue)
protected org.eclipse.emf.ecore.EClass
eStaticClass()
void
eUnset(int featureID)
org.eclipse.emf.common.util.EList<ErrorReport>
getErrorReports()
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject>
getImportedEObjects()
org.eclipse.emf.common.util.EList<SettingToSheetMapping>
getSettingToSheetMap()
SheetLocation
getSheetLocation(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature structuralFeature)
Retrieves the SheetLocation which corresponds to the provided Setting.void
reportError(Severity severity, java.lang.String message)
Reports a newerror
.void
reportError(Severity severity, java.lang.String message, EMFLocation emfLocation)
Reports a newerror
.void
reportError(Severity severity, java.lang.String message, EMFLocation emfLocation, SheetLocation sheetLocation)
Reports a newerror
.void
reportError(Severity severity, java.lang.String message, SheetLocation sheetLocation)
Reports a newerror
.-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
errorReports
protected org.eclipse.emf.common.util.EList<ErrorReport> errorReports
The cached value of the 'Error Reports
' containment reference list.- See Also:
getErrorReports()
-
importedEObjects
protected org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> importedEObjects
The cached value of the 'Imported EObjects
' reference list.- See Also:
getImportedEObjects()
-
settingToSheetMap
protected org.eclipse.emf.common.util.EList<SettingToSheetMapping> settingToSheetMap
The cached value of the 'Setting To Sheet Map
' reference list.- See Also:
getSettingToSheetMap()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getErrorReports
public org.eclipse.emf.common.util.EList<ErrorReport> getErrorReports()
- Specified by:
getErrorReports
in interfaceSpreadsheetImportResult
- Returns:
- the value of the 'Error Reports' containment reference list.
- See Also:
ErrorPackage.getSpreadsheetImportResult_ErrorReports()
-
getImportedEObjects
public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> getImportedEObjects()
- Specified by:
getImportedEObjects
in interfaceSpreadsheetImportResult
- Returns:
- the value of the 'Imported EObjects' reference list.
- See Also:
ErrorPackage.getSpreadsheetImportResult_ImportedEObjects()
-
getSettingToSheetMap
public org.eclipse.emf.common.util.EList<SettingToSheetMapping> getSettingToSheetMap()
- Specified by:
getSettingToSheetMap
in interfaceSpreadsheetImportResult
- Returns:
- The List of SettingToSheetMapping.
- See Also:
ErrorPackage.getSpreadsheetImportResult_SettingToSheetMap()
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
.- Overrides:
eInverseRemove
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
reportError
public void reportError(Severity severity, java.lang.String message)
Description copied from interface:SpreadsheetImportResult
Reports a newerror
.- Specified by:
reportError
in interfaceSpreadsheetImportResult
- Parameters:
severity
- theseverity
message
- the description message
-
reportError
public void reportError(Severity severity, java.lang.String message, EMFLocation emfLocation)
Description copied from interface:SpreadsheetImportResult
Reports a newerror
.- Specified by:
reportError
in interfaceSpreadsheetImportResult
- Parameters:
severity
- theseverity
message
- the description messageemfLocation
- the affected objects in the EMF model
-
reportError
public void reportError(Severity severity, java.lang.String message, SheetLocation sheetLocation)
Description copied from interface:SpreadsheetImportResult
Reports a newerror
.- Specified by:
reportError
in interfaceSpreadsheetImportResult
- Parameters:
severity
- theseverity
message
- the description messagesheetLocation
- the information to identify the affected cell in the spreadsheet
-
reportError
public void reportError(Severity severity, java.lang.String message, EMFLocation emfLocation, SheetLocation sheetLocation)
Description copied from interface:SpreadsheetImportResult
Reports a newerror
.- Specified by:
reportError
in interfaceSpreadsheetImportResult
- Parameters:
severity
- theseverity
message
- the description messageemfLocation
- the affected objects in the EMF modelsheetLocation
- the information to identify the affected cell in the spreadsheet
-
getSheetLocation
public SheetLocation getSheetLocation(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature structuralFeature)
Retrieves the SheetLocation which corresponds to the provided Setting. If such a feature cannot be found at all, then the information in the sheetlocation shows this erroneous location.- Specified by:
getSheetLocation
in interfaceSpreadsheetImportResult
structuralFeature
- TheEStructuralFeature
to return theSheetLocation
for- Returns:
- The
SheetLocation
- See Also:
SpreadsheetImportResult.getSheetLocation(org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature)
-
-