Class ExpressionFactoryImpl
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
com.regnosys.rosetta.rosetta.expression.impl.ExpressionFactoryImpl
- All Implemented Interfaces:
ExpressionFactory,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
public class ExpressionFactoryImpl
extends org.eclipse.emf.ecore.impl.EFactoryImpl
implements ExpressionFactory
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.DynamicNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.ContainerNested 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.EPropertiesHolderImplNested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
Fields inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
EDATE_FORMATS, ePackageFields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAGFields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainerFields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETFields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NILFields inherited from interface com.regnosys.rosetta.rosetta.expression.ExpressionFactory
eINSTANCEFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertCardinalityModifierToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) convertExistsModifierToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) convertNecessityToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) convertPatternToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) convertToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) org.eclipse.emf.ecore.EObjectcreate(org.eclipse.emf.ecore.EClass eClass) createCardinalityModifierFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) createExistsModifierFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) createFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) createNecessityFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) createPatternFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) static ExpressionPackageDeprecated.static ExpressionFactoryinit()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, splitMethods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozenMethods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainerMethods 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, eSettingsMethods 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, toStringMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.ecore.EFactory
getEPackage, setEPackageMethods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotationsMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Constructor Details
-
ExpressionFactoryImpl
public ExpressionFactoryImpl()Creates an instance of the factory.
-
-
Method Details
-
init
Creates the default factory implementation. -
create
public org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass) - Specified by:
createin interfaceorg.eclipse.emf.ecore.EFactory- Overrides:
createin classorg.eclipse.emf.ecore.impl.EFactoryImpl
-
createFromString
- Specified by:
createFromStringin interfaceorg.eclipse.emf.ecore.EFactory- Overrides:
createFromStringin classorg.eclipse.emf.ecore.impl.EFactoryImpl
-
convertToString
- Specified by:
convertToStringin interfaceorg.eclipse.emf.ecore.EFactory- Overrides:
convertToStringin classorg.eclipse.emf.ecore.impl.EFactoryImpl
-
createRosettaBooleanLiteral
- Specified by:
createRosettaBooleanLiteralin interfaceExpressionFactory- Returns:
- a new object of class 'Rosetta Boolean Literal'.
-
createRosettaStringLiteral
- Specified by:
createRosettaStringLiteralin interfaceExpressionFactory- Returns:
- a new object of class 'Rosetta String Literal'.
-
createRosettaNumberLiteral
- Specified by:
createRosettaNumberLiteralin interfaceExpressionFactory- Returns:
- a new object of class 'Rosetta Number Literal'.
-
createRosettaIntLiteral
- Specified by:
createRosettaIntLiteralin interfaceExpressionFactory- Returns:
- a new object of class 'Rosetta Int Literal'.
-
createRosettaPatternLiteral
- Specified by:
createRosettaPatternLiteralin interfaceExpressionFactory- Returns:
- a new object of class 'Rosetta Pattern Literal'.
-
createListLiteral
- Specified by:
createListLiteralin interfaceExpressionFactory- Returns:
- a new object of class 'List Literal'.
-
createRosettaSymbolReference
- Specified by:
createRosettaSymbolReferencein interfaceExpressionFactory- Returns:
- a new object of class 'Rosetta Symbol Reference'.
-
createRosettaImplicitVariable
- Specified by:
createRosettaImplicitVariablein interfaceExpressionFactory- Returns:
- a new object of class 'Rosetta Implicit Variable'.
-
createRosettaFeatureCall
- Specified by:
createRosettaFeatureCallin interfaceExpressionFactory- Returns:
- a new object of class 'Rosetta Feature Call'.
-
createRosettaDeepFeatureCall
- Specified by:
createRosettaDeepFeatureCallin interfaceExpressionFactory- Returns:
- a new object of class 'Rosetta Deep Feature Call'.
-
createRosettaConditionalExpression
- Specified by:
createRosettaConditionalExpressionin interfaceExpressionFactory- Returns:
- a new object of class 'Rosetta Conditional Expression'.
-
createRosettaConstructorExpression
- Specified by:
createRosettaConstructorExpressionin interfaceExpressionFactory- Returns:
- a new object of class 'Rosetta Constructor Expression'.
-
createConstructorKeyValuePair
- Specified by:
createConstructorKeyValuePairin interfaceExpressionFactory- Returns:
- a new object of class 'Constructor Key Value Pair'.
-
createArithmeticOperation
- Specified by:
createArithmeticOperationin interfaceExpressionFactory- Returns:
- a new object of class 'Arithmetic Operation'.
-
createDefaultOperation
- Specified by:
createDefaultOperationin interfaceExpressionFactory- Returns:
- a new object of class 'Default Operation'.
-
createLogicalOperation
- Specified by:
createLogicalOperationin interfaceExpressionFactory- Returns:
- a new object of class 'Logical Operation'.
-
createEqualityOperation
- Specified by:
createEqualityOperationin interfaceExpressionFactory- Returns:
- a new object of class 'Equality Operation'.
-
createComparisonOperation
- Specified by:
createComparisonOperationin interfaceExpressionFactory- Returns:
- a new object of class 'Comparison Operation'.
-
createRosettaContainsExpression
- Specified by:
createRosettaContainsExpressionin interfaceExpressionFactory- Returns:
- a new object of class 'Rosetta Contains Expression'.
-
createRosettaDisjointExpression
- Specified by:
createRosettaDisjointExpressionin interfaceExpressionFactory- Returns:
- a new object of class 'Rosetta Disjoint Expression'.
-
createJoinOperation
- Specified by:
createJoinOperationin interfaceExpressionFactory- Returns:
- a new object of class 'Join Operation'.
-
createRosettaOnlyExistsExpression
- Specified by:
createRosettaOnlyExistsExpressionin interfaceExpressionFactory- Returns:
- a new object of class 'Rosetta Only Exists Expression'.
-
createRosettaExistsExpression
- Specified by:
createRosettaExistsExpressionin interfaceExpressionFactory- Returns:
- a new object of class 'Rosetta Exists Expression'.
-
createRosettaAbsentExpression
- Specified by:
createRosettaAbsentExpressionin interfaceExpressionFactory- Returns:
- a new object of class 'Rosetta Absent Expression'.
-
createRosettaOnlyElement
- Specified by:
createRosettaOnlyElementin interfaceExpressionFactory- Returns:
- a new object of class 'Rosetta Only Element'.
-
createRosettaCountOperation
- Specified by:
createRosettaCountOperationin interfaceExpressionFactory- Returns:
- a new object of class 'Rosetta Count Operation'.
-
createFlattenOperation
- Specified by:
createFlattenOperationin interfaceExpressionFactory- Returns:
- a new object of class 'Flatten Operation'.
-
createDistinctOperation
- Specified by:
createDistinctOperationin interfaceExpressionFactory- Returns:
- a new object of class 'Distinct Operation'.
-
createReverseOperation
- Specified by:
createReverseOperationin interfaceExpressionFactory- Returns:
- a new object of class 'Reverse Operation'.
-
createFirstOperation
- Specified by:
createFirstOperationin interfaceExpressionFactory- Returns:
- a new object of class 'First Operation'.
-
createLastOperation
- Specified by:
createLastOperationin interfaceExpressionFactory- Returns:
- a new object of class 'Last Operation'.
-
createSumOperation
- Specified by:
createSumOperationin interfaceExpressionFactory- Returns:
- a new object of class 'Sum Operation'.
-
createAsKeyOperation
- Specified by:
createAsKeyOperationin interfaceExpressionFactory- Returns:
- a new object of class 'As Key Operation'.
-
createOneOfOperation
- Specified by:
createOneOfOperationin interfaceExpressionFactory- Returns:
- a new object of class 'One Of Operation'.
-
createChoiceOperation
- Specified by:
createChoiceOperationin interfaceExpressionFactory- Returns:
- a new object of class 'Choice Operation'.
-
createToStringOperation
- Specified by:
createToStringOperationin interfaceExpressionFactory- Returns:
- a new object of class 'To String Operation'.
-
createToNumberOperation
- Specified by:
createToNumberOperationin interfaceExpressionFactory- Returns:
- a new object of class 'To Number Operation'.
-
createToIntOperation
- Specified by:
createToIntOperationin interfaceExpressionFactory- Returns:
- a new object of class 'To Int Operation'.
-
createToTimeOperation
- Specified by:
createToTimeOperationin interfaceExpressionFactory- Returns:
- a new object of class 'To Time Operation'.
-
createToEnumOperation
- Specified by:
createToEnumOperationin interfaceExpressionFactory- Returns:
- a new object of class 'To Enum Operation'.
-
createToDateOperation
- Specified by:
createToDateOperationin interfaceExpressionFactory- Returns:
- a new object of class 'To Date Operation'.
-
createToDateTimeOperation
- Specified by:
createToDateTimeOperationin interfaceExpressionFactory- Returns:
- a new object of class 'To Date Time Operation'.
-
createToZonedDateTimeOperation
- Specified by:
createToZonedDateTimeOperationin interfaceExpressionFactory- Returns:
- a new object of class 'To Zoned Date Time Operation'.
-
createClosureParameter
- Specified by:
createClosureParameterin interfaceExpressionFactory- Returns:
- a new object of class 'Closure Parameter'.
-
createInlineFunction
- Specified by:
createInlineFunctionin interfaceExpressionFactory- Returns:
- a new object of class 'Inline Function'.
-
createReduceOperation
- Specified by:
createReduceOperationin interfaceExpressionFactory- Returns:
- a new object of class 'Reduce Operation'.
-
createFilterOperation
- Specified by:
createFilterOperationin interfaceExpressionFactory- Returns:
- a new object of class 'Filter Operation'.
-
createMapOperation
- Specified by:
createMapOperationin interfaceExpressionFactory- Returns:
- a new object of class 'Map Operation'.
-
createThenOperation
- Specified by:
createThenOperationin interfaceExpressionFactory- Returns:
- a new object of class 'Then Operation'.
-
createSortOperation
- Specified by:
createSortOperationin interfaceExpressionFactory- Returns:
- a new object of class 'Sort Operation'.
-
createMinOperation
- Specified by:
createMinOperationin interfaceExpressionFactory- Returns:
- a new object of class 'Min Operation'.
-
createMaxOperation
- Specified by:
createMaxOperationin interfaceExpressionFactory- Returns:
- a new object of class 'Max Operation'.
-
createCardinalityModifierFromString
public CardinalityModifier createCardinalityModifierFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertCardinalityModifierToString
public String convertCardinalityModifierToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
createExistsModifierFromString
public ExistsModifier createExistsModifierFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertExistsModifierToString
public String convertExistsModifierToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
createNecessityFromString
public Necessity createNecessityFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertNecessityToString
public String convertNecessityToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
createPatternFromString
public Pattern createPatternFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertPatternToString
public String convertPatternToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
getExpressionPackage
- Specified by:
getExpressionPackagein interfaceExpressionFactory- Returns:
- the package supported by this factory.
-
getPackage
Deprecated.
-