Class ErrorFactoryImpl
- 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.emf.ecore.impl.EModelElementImpl
-
- org.eclipse.emf.ecore.impl.EFactoryImpl
-
- org.eclipse.emfforms.spi.spreadsheet.core.error.model.impl.ErrorFactoryImpl
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EFactory
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
,org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl.DataConverter.Factory
,ErrorFactory
public class ErrorFactoryImpl extends org.eclipse.emf.ecore.impl.EFactoryImpl implements ErrorFactory
An implementation of the model Factory.
-
-
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 inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
Fields inherited from interface org.eclipse.emfforms.spi.spreadsheet.core.error.model.ErrorFactory
eINSTANCE
-
-
Constructor Summary
Constructors Constructor Description ErrorFactoryImpl()
Creates an instance of the factory.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
convertSeverityToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
java.lang.String
convertToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
org.eclipse.emf.ecore.EObject
create(org.eclipse.emf.ecore.EClass eClass)
DMRLocation
createDMRLocation()
DMRLocation
createDMRLocation(VDomainModelReference dmr)
Creates a newDMRLocation
.EMFLocation
createEMFLocation()
EMFLocation
createEMFLocation(org.eclipse.emf.ecore.EObject root)
Creates a newEMFLocation
.EMFLocation
createEMFLocation(org.eclipse.emf.ecore.EObject root, DMRLocation dmrLocation)
Creates a newEMFLocation
.EMFLocation
createEMFLocation(org.eclipse.emf.ecore.EObject root, SettingLocation settingLocation)
Creates a newEMFLocation
.EMFLocation
createEMFLocation(org.eclipse.emf.ecore.EObject root, SettingLocation settingLocation, DMRLocation dmrLocation)
Creates a newEMFLocation
.ErrorReport
createErrorReport()
java.lang.Object
createFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
SheetLocation
createInvalidSheetLocation(java.lang.String columnName)
Creates a new object which creates an invalid SheetLocation.SettingLocation
createSettingLocation()
SettingLocation
createSettingLocation(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature feature)
Creates a newSettingLocation
.SettingToSheetMapping
createSettingToSheetMapping()
SettingToSheetMapping
createSettingToSheetMapping(SettingLocation settingLocation, SheetLocation sheetLocation)
Creates a SettingToSheetMapping based on the combination of theSettingLocation
and theSheetLocation
.Severity
createSeverityFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
SheetLocation
createSheetLocation()
SheetLocation
createSheetLocation(java.lang.String sheet, int column, int row, java.lang.String columnName)
Creates a new object which identifies the affected cell in the spreadsheet.SpreadsheetImportResult
createSpreadsheetImportResult()
ErrorPackage
getErrorPackage()
static ErrorPackage
getPackage()
Deprecated.static ErrorFactory
init()
Creates the default factory implementation.-
Methods inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
basicCreate, basicSetEPackage, collapseWhiteSpace, convertToString, create, createFromString, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eSet, eStaticClass, eUnset, getEPackage, replaceWhiteSpace, setEPackage, split
-
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
-
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, 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, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, 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
-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
-
-
-
Method Detail
-
init
public static ErrorFactory init()
Creates the default factory implementation.
-
create
public org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)
- Specified by:
create
in interfaceorg.eclipse.emf.ecore.EFactory
- Overrides:
create
in classorg.eclipse.emf.ecore.impl.EFactoryImpl
-
createFromString
public java.lang.Object createFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
- Specified by:
createFromString
in interfaceorg.eclipse.emf.ecore.EFactory
- Overrides:
createFromString
in classorg.eclipse.emf.ecore.impl.EFactoryImpl
-
convertToString
public java.lang.String convertToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
- Specified by:
convertToString
in interfaceorg.eclipse.emf.ecore.EFactory
- Overrides:
convertToString
in classorg.eclipse.emf.ecore.impl.EFactoryImpl
-
createSpreadsheetImportResult
public SpreadsheetImportResult createSpreadsheetImportResult()
- Specified by:
createSpreadsheetImportResult
in interfaceErrorFactory
- Returns:
- a new object of class 'Spreadsheet Import Result'.
-
createErrorReport
public ErrorReport createErrorReport()
- Specified by:
createErrorReport
in interfaceErrorFactory
- Returns:
- a new object of class 'Report'.
-
createEMFLocation
public EMFLocation createEMFLocation()
- Specified by:
createEMFLocation
in interfaceErrorFactory
- Returns:
- a new object of class 'EMF Location'.
-
createSettingLocation
public SettingLocation createSettingLocation()
- Specified by:
createSettingLocation
in interfaceErrorFactory
- Returns:
- a new object of class 'Setting Location'.
-
createDMRLocation
public DMRLocation createDMRLocation()
- Specified by:
createDMRLocation
in interfaceErrorFactory
- Returns:
- a new object of class 'DMR Location'.
-
createSettingToSheetMapping
public SettingToSheetMapping createSettingToSheetMapping()
- Specified by:
createSettingToSheetMapping
in interfaceErrorFactory
- Returns:
- a new object of class 'Setting To Sheet Mapping'.
-
createSheetLocation
public SheetLocation createSheetLocation()
- Specified by:
createSheetLocation
in interfaceErrorFactory
- Returns:
- a new object of class 'Sheet Location'.
-
createSeverityFromString
public Severity createSeverityFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
-
convertSeverityToString
public java.lang.String convertSeverityToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
-
getErrorPackage
public ErrorPackage getErrorPackage()
- Specified by:
getErrorPackage
in interfaceErrorFactory
- Returns:
- the package supported by this factory.
-
getPackage
@Deprecated public static ErrorPackage getPackage()
Deprecated.
-
createEMFLocation
public EMFLocation createEMFLocation(org.eclipse.emf.ecore.EObject root, SettingLocation settingLocation, DMRLocation dmrLocation)
Description copied from interface:ErrorFactory
Creates a newEMFLocation
.- Specified by:
createEMFLocation
in interfaceErrorFactory
- Parameters:
root
- the root EObjectsettingLocation
- theSettingLocation
dmrLocation
- theDMRLocation
- Returns:
- the location
-
createEMFLocation
public EMFLocation createEMFLocation(org.eclipse.emf.ecore.EObject root, DMRLocation dmrLocation)
Description copied from interface:ErrorFactory
Creates a newEMFLocation
.- Specified by:
createEMFLocation
in interfaceErrorFactory
- Parameters:
root
- the root EObjectdmrLocation
- theDMRLocation
- Returns:
- the location
-
createEMFLocation
public EMFLocation createEMFLocation(org.eclipse.emf.ecore.EObject root)
Description copied from interface:ErrorFactory
Creates a newEMFLocation
.- Specified by:
createEMFLocation
in interfaceErrorFactory
- Parameters:
root
- the root EObject- Returns:
- the location
-
createEMFLocation
public EMFLocation createEMFLocation(org.eclipse.emf.ecore.EObject root, SettingLocation settingLocation)
Description copied from interface:ErrorFactory
Creates a newEMFLocation
.- Specified by:
createEMFLocation
in interfaceErrorFactory
- Parameters:
root
- the root EObjectsettingLocation
- theSettingLocation
- Returns:
- the location
-
createSettingLocation
public SettingLocation createSettingLocation(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature feature)
Description copied from interface:ErrorFactory
Creates a newSettingLocation
.- Specified by:
createSettingLocation
in interfaceErrorFactory
- Parameters:
eObject
- the EObject of the Settingfeature
- the Feature of the Setting- Returns:
- the location
-
createDMRLocation
public DMRLocation createDMRLocation(VDomainModelReference dmr)
Description copied from interface:ErrorFactory
Creates a newDMRLocation
.- Specified by:
createDMRLocation
in interfaceErrorFactory
- Parameters:
dmr
- the domain model reference- Returns:
- the location
-
createSheetLocation
public SheetLocation createSheetLocation(java.lang.String sheet, int column, int row, java.lang.String columnName)
Description copied from interface:ErrorFactory
Creates a new object which identifies the affected cell in the spreadsheet.- Specified by:
createSheetLocation
in interfaceErrorFactory
- Parameters:
sheet
- the sheet idcolumn
- the column idrow
- the row idcolumnName
- the column name- Returns:
- the
location
-
createSettingToSheetMapping
public SettingToSheetMapping createSettingToSheetMapping(SettingLocation settingLocation, SheetLocation sheetLocation)
Creates a SettingToSheetMapping based on the combination of theSettingLocation
and theSheetLocation
.- Specified by:
createSettingToSheetMapping
in interfaceErrorFactory
- Parameters:
settingLocation
- TheSettingLocation
sheetLocation
- TheSheetLocation
- Returns:
- the created
SettingToSheetMapping
- See Also:
ErrorFactory.createSettingToSheetMapping(org.eclipse.emfforms.spi.spreadsheet.core.error.model.SettingLocation, org.eclipse.emfforms.spi.spreadsheet.core.error.model.SheetLocation)
-
createInvalidSheetLocation
public SheetLocation createInvalidSheetLocation(java.lang.String columnName)
Creates a new object which creates an invalid SheetLocation.- Specified by:
createInvalidSheetLocation
in interfaceErrorFactory
- Parameters:
columnName
- the column name- Returns:
- the
location
- See Also:
ErrorFactory.createInvalidSheetLocation(java.lang.String)
-
-