Class ProblemFactoryImpl
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
tools.refinery.language.model.problem.impl.ProblemFactoryImpl
- 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
,ProblemFactory
public class ProblemFactoryImpl
extends org.eclipse.emf.ecore.impl.EFactoryImpl
implements ProblemFactory
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 Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
Nested 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, ePackage
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.MinimalEObjectImpl.Container
eContainer
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.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
Fields inherited from interface tools.refinery.language.model.problem.ProblemFactory
eINSTANCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvertBinaryOpToString
(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) convertComparisonOpToString
(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) convertConcretenessToString
(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) convertLatticeBinaryOpToString
(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) convertLogicValueToString
(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) convertModalityToString
(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) convertModuleKindToString
(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) convertNodeKindToString
(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) convertParameterBindingToString
(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) convertPredicateKindToString
(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) convertReferenceKindToString
(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) convertRuleKindToString
(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) convertToString
(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) convertUnaryOpToString
(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) org.eclipse.emf.ecore.EObject
create
(org.eclipse.emf.ecore.EClass eClass) createBinaryOpFromString
(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) createComparisonOpFromString
(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) createConcretenessFromString
(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) createFromString
(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) createLatticeBinaryOpFromString
(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) createLogicValueFromString
(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) createModalityFromString
(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) createModuleKindFromString
(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) createNodeKindFromString
(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) createParameterBindingFromString
(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) createPredicateKindFromString
(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) createReferenceKindFromString
(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) createRuleKindFromString
(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) createUnaryOpFromString
(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) static ProblemPackage
Deprecated.static ProblemFactory
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.EFactory
getEPackage, setEPackage
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Constructor Details
-
ProblemFactoryImpl
public ProblemFactoryImpl()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:
create
in interfaceorg.eclipse.emf.ecore.EFactory
- Overrides:
create
in classorg.eclipse.emf.ecore.impl.EFactoryImpl
-
createFromString
- Specified by:
createFromString
in interfaceorg.eclipse.emf.ecore.EFactory
- Overrides:
createFromString
in classorg.eclipse.emf.ecore.impl.EFactoryImpl
-
convertToString
- Specified by:
convertToString
in interfaceorg.eclipse.emf.ecore.EFactory
- Overrides:
convertToString
in classorg.eclipse.emf.ecore.impl.EFactoryImpl
-
createProblem
- Specified by:
createProblem
in interfaceProblemFactory
- Returns:
- a new object of class 'Problem'.
-
createClassDeclaration
- Specified by:
createClassDeclaration
in interfaceProblemFactory
- Returns:
- a new object of class 'Class Declaration'.
-
createReferenceDeclaration
- Specified by:
createReferenceDeclaration
in interfaceProblemFactory
- Returns:
- a new object of class 'Reference Declaration'.
-
createPredicateDefinition
- Specified by:
createPredicateDefinition
in interfaceProblemFactory
- Returns:
- a new object of class 'Predicate Definition'.
-
createParameter
- Specified by:
createParameter
in interfaceProblemFactory
- Returns:
- a new object of class 'Parameter'.
-
createAtom
- Specified by:
createAtom
in interfaceProblemFactory
- Returns:
- a new object of class 'Atom'.
-
createImplicitVariable
- Specified by:
createImplicitVariable
in interfaceProblemFactory
- Returns:
- a new object of class 'Implicit Variable'.
-
createNode
- Specified by:
createNode
in interfaceProblemFactory
- Returns:
- a new object of class 'Node'.
-
createScopeDeclaration
- Specified by:
createScopeDeclaration
in interfaceProblemFactory
- Returns:
- a new object of class 'Scope Declaration'.
-
createTypeScope
- Specified by:
createTypeScope
in interfaceProblemFactory
- Returns:
- a new object of class 'Type Scope'.
-
createRangeMultiplicity
- Specified by:
createRangeMultiplicity
in interfaceProblemFactory
- Returns:
- a new object of class 'Range Multiplicity'.
-
createExactMultiplicity
- Specified by:
createExactMultiplicity
in interfaceProblemFactory
- Returns:
- a new object of class 'Exact Multiplicity'.
-
createUnboundedMultiplicity
- Specified by:
createUnboundedMultiplicity
in interfaceProblemFactory
- Returns:
- a new object of class 'Unbounded Multiplicity'.
-
createEnumDeclaration
- Specified by:
createEnumDeclaration
in interfaceProblemFactory
- Returns:
- a new object of class 'Enum Declaration'.
-
createIntConstant
- Specified by:
createIntConstant
in interfaceProblemFactory
- Returns:
- a new object of class 'Int Constant'.
-
createRealConstant
- Specified by:
createRealConstant
in interfaceProblemFactory
- Returns:
- a new object of class 'Real Constant'.
-
createStringConstant
- Specified by:
createStringConstant
in interfaceProblemFactory
- Returns:
- a new object of class 'String Constant'.
-
createNodeAssertionArgument
- Specified by:
createNodeAssertionArgument
in interfaceProblemFactory
- Returns:
- a new object of class 'Node Assertion Argument'.
-
createNodeDeclaration
- Specified by:
createNodeDeclaration
in interfaceProblemFactory
- Returns:
- a new object of class 'Node Declaration'.
-
createWildcardAssertionArgument
- Specified by:
createWildcardAssertionArgument
in interfaceProblemFactory
- Returns:
- a new object of class 'Wildcard Assertion Argument'.
-
createRuleDefinition
- Specified by:
createRuleDefinition
in interfaceProblemFactory
- Returns:
- a new object of class 'Rule Definition'.
-
createConsequent
- Specified by:
createConsequent
in interfaceProblemFactory
- Returns:
- a new object of class 'Consequent'.
-
createAssertionAction
- Specified by:
createAssertionAction
in interfaceProblemFactory
- Returns:
- a new object of class 'Assertion Action'.
-
createVariableOrNodeExpr
- Specified by:
createVariableOrNodeExpr
in interfaceProblemFactory
- Returns:
- a new object of class 'Variable Or Node Expr'.
-
createArithmeticUnaryExpr
- Specified by:
createArithmeticUnaryExpr
in interfaceProblemFactory
- Returns:
- a new object of class 'Arithmetic Unary Expr'.
-
createAggregationExpr
- Specified by:
createAggregationExpr
in interfaceProblemFactory
- Returns:
- a new object of class 'Aggregation Expr'.
-
createComparisonExpr
- Specified by:
createComparisonExpr
in interfaceProblemFactory
- Returns:
- a new object of class 'Comparison Expr'.
-
createFunctionDefinition
- Specified by:
createFunctionDefinition
in interfaceProblemFactory
- Returns:
- a new object of class 'Function Definition'.
-
createConjunction
- Specified by:
createConjunction
in interfaceProblemFactory
- Returns:
- a new object of class 'Conjunction'.
-
createMatch
- Specified by:
createMatch
in interfaceProblemFactory
- Returns:
- a new object of class 'Match'.
-
createArithmeticBinaryExpr
- Specified by:
createArithmeticBinaryExpr
in interfaceProblemFactory
- Returns:
- a new object of class 'Arithmetic Binary Expr'.
-
createNegationExpr
- Specified by:
createNegationExpr
in interfaceProblemFactory
- Returns:
- a new object of class 'Negation Expr'.
-
createCountExpr
- Specified by:
createCountExpr
in interfaceProblemFactory
- Returns:
- a new object of class 'Count Expr'.
-
createRangeExpr
- Specified by:
createRangeExpr
in interfaceProblemFactory
- Returns:
- a new object of class 'Range Expr'.
-
createLogicConstant
- Specified by:
createLogicConstant
in interfaceProblemFactory
- Returns:
- a new object of class 'Logic Constant'.
-
createImportStatement
- Specified by:
createImportStatement
in interfaceProblemFactory
- Returns:
- a new object of class 'Import Statement'.
-
createDatatypeDeclaration
- Specified by:
createDatatypeDeclaration
in interfaceProblemFactory
- Returns:
- a new object of class 'Datatype Declaration'.
-
createLatticeBinaryExpr
- Specified by:
createLatticeBinaryExpr
in interfaceProblemFactory
- Returns:
- a new object of class 'Lattice Binary Expr'.
-
createCastExpr
- Specified by:
createCastExpr
in interfaceProblemFactory
- Returns:
- a new object of class 'Cast Expr'.
-
createAssignmentExpr
- Specified by:
createAssignmentExpr
in interfaceProblemFactory
- Returns:
- a new object of class 'Assignment Expr'.
-
createInfiniteConstant
- Specified by:
createInfiniteConstant
in interfaceProblemFactory
- Returns:
- a new object of class 'Infinite Constant'.
-
createAggregatorDeclaration
- Specified by:
createAggregatorDeclaration
in interfaceProblemFactory
- Returns:
- a new object of class 'Aggregator Declaration'.
-
createModalExpr
- Specified by:
createModalExpr
in interfaceProblemFactory
- Returns:
- a new object of class 'Modal Expr'.
-
createAssertion
- Specified by:
createAssertion
in interfaceProblemFactory
- Returns:
- a new object of class 'Assertion'.
-
createLogicValueFromString
public LogicValue createLogicValueFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertLogicValueToString
public String convertLogicValueToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
createComparisonOpFromString
public ComparisonOp createComparisonOpFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertComparisonOpToString
public String convertComparisonOpToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
createReferenceKindFromString
public ReferenceKind createReferenceKindFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertReferenceKindToString
public String convertReferenceKindToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
createUnaryOpFromString
public UnaryOp createUnaryOpFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertUnaryOpToString
public String convertUnaryOpToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
createBinaryOpFromString
public BinaryOp createBinaryOpFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertBinaryOpToString
public String convertBinaryOpToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
createModuleKindFromString
public ModuleKind createModuleKindFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertModuleKindToString
public String convertModuleKindToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
createNodeKindFromString
public NodeKind createNodeKindFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertNodeKindToString
public String convertNodeKindToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
createLatticeBinaryOpFromString
public LatticeBinaryOp createLatticeBinaryOpFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertLatticeBinaryOpToString
public String convertLatticeBinaryOpToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
createModalityFromString
public Modality createModalityFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertModalityToString
public String convertModalityToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
createConcretenessFromString
public Concreteness createConcretenessFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertConcretenessToString
public String convertConcretenessToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
createRuleKindFromString
public RuleKind createRuleKindFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertRuleKindToString
public String convertRuleKindToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
createParameterBindingFromString
public ParameterBinding createParameterBindingFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertParameterBindingToString
public String convertParameterBindingToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
createPredicateKindFromString
public PredicateKind createPredicateKindFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertPredicateKindToString
public String convertPredicateKindToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
getProblemPackage
- Specified by:
getProblemPackage
in interfaceProblemFactory
- Returns:
- the package supported by this factory.
-
getPackage
Deprecated.
-