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.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 org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASEFields inherited from interface tools.refinery.language.model.problem.ProblemFactory
eINSTANCE -
Constructor Summary
Constructors -
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) convertParameterKindToString(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.EObjectcreate(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) createParameterKindFromString(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 ProblemPackageDeprecated.static ProblemFactoryinit()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
-
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:
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
-
createProblem
- Specified by:
createProblemin interfaceProblemFactory- Returns:
- a new object of class 'Problem'.
-
createClassDeclaration
- Specified by:
createClassDeclarationin interfaceProblemFactory- Returns:
- a new object of class 'Class Declaration'.
-
createReferenceDeclaration
- Specified by:
createReferenceDeclarationin interfaceProblemFactory- Returns:
- a new object of class 'Reference Declaration'.
-
createPredicateDefinition
- Specified by:
createPredicateDefinitionin interfaceProblemFactory- Returns:
- a new object of class 'Predicate Definition'.
-
createParameter
- Specified by:
createParameterin interfaceProblemFactory- Returns:
- a new object of class 'Parameter'.
-
createAtom
- Specified by:
createAtomin interfaceProblemFactory- Returns:
- a new object of class 'Atom'.
-
createImplicitVariable
- Specified by:
createImplicitVariablein interfaceProblemFactory- Returns:
- a new object of class 'Implicit Variable'.
-
createNode
- Specified by:
createNodein interfaceProblemFactory- Returns:
- a new object of class 'Node'.
-
createScopeDeclaration
- Specified by:
createScopeDeclarationin interfaceProblemFactory- Returns:
- a new object of class 'Scope Declaration'.
-
createTypeScope
- Specified by:
createTypeScopein interfaceProblemFactory- Returns:
- a new object of class 'Type Scope'.
-
createRangeMultiplicity
- Specified by:
createRangeMultiplicityin interfaceProblemFactory- Returns:
- a new object of class 'Range Multiplicity'.
-
createExactMultiplicity
- Specified by:
createExactMultiplicityin interfaceProblemFactory- Returns:
- a new object of class 'Exact Multiplicity'.
-
createUnboundedMultiplicity
- Specified by:
createUnboundedMultiplicityin interfaceProblemFactory- Returns:
- a new object of class 'Unbounded Multiplicity'.
-
createEnumDeclaration
- Specified by:
createEnumDeclarationin interfaceProblemFactory- Returns:
- a new object of class 'Enum Declaration'.
-
createIntConstant
- Specified by:
createIntConstantin interfaceProblemFactory- Returns:
- a new object of class 'Int Constant'.
-
createRealConstant
- Specified by:
createRealConstantin interfaceProblemFactory- Returns:
- a new object of class 'Real Constant'.
-
createStringConstant
- Specified by:
createStringConstantin interfaceProblemFactory- Returns:
- a new object of class 'String Constant'.
-
createNodeAssertionArgument
- Specified by:
createNodeAssertionArgumentin interfaceProblemFactory- Returns:
- a new object of class 'Node Assertion Argument'.
-
createNodeDeclaration
- Specified by:
createNodeDeclarationin interfaceProblemFactory- Returns:
- a new object of class 'Node Declaration'.
-
createWildcardAssertionArgument
- Specified by:
createWildcardAssertionArgumentin interfaceProblemFactory- Returns:
- a new object of class 'Wildcard Assertion Argument'.
-
createRuleDefinition
- Specified by:
createRuleDefinitionin interfaceProblemFactory- Returns:
- a new object of class 'Rule Definition'.
-
createConsequent
- Specified by:
createConsequentin interfaceProblemFactory- Returns:
- a new object of class 'Consequent'.
-
createAssertionAction
- Specified by:
createAssertionActionin interfaceProblemFactory- Returns:
- a new object of class 'Assertion Action'.
-
createVariableOrNodeExpr
- Specified by:
createVariableOrNodeExprin interfaceProblemFactory- Returns:
- a new object of class 'Variable Or Node Expr'.
-
createArithmeticUnaryExpr
- Specified by:
createArithmeticUnaryExprin interfaceProblemFactory- Returns:
- a new object of class 'Arithmetic Unary Expr'.
-
createAggregationExpr
- Specified by:
createAggregationExprin interfaceProblemFactory- Returns:
- a new object of class 'Aggregation Expr'.
-
createComparisonExpr
- Specified by:
createComparisonExprin interfaceProblemFactory- Returns:
- a new object of class 'Comparison Expr'.
-
createNegationExpr
- Specified by:
createNegationExprin interfaceProblemFactory- Returns:
- a new object of class 'Negation Expr'.
-
createFunctionDefinition
- Specified by:
createFunctionDefinitionin interfaceProblemFactory- Returns:
- a new object of class 'Function Definition'.
-
createConjunction
- Specified by:
createConjunctionin interfaceProblemFactory- Returns:
- a new object of class 'Conjunction'.
-
createCase
- Specified by:
createCasein interfaceProblemFactory- Returns:
- a new object of class 'Case'.
-
createArithmeticBinaryExpr
- Specified by:
createArithmeticBinaryExprin interfaceProblemFactory- Returns:
- a new object of class 'Arithmetic Binary Expr'.
-
createRangeExpr
- Specified by:
createRangeExprin interfaceProblemFactory- Returns:
- a new object of class 'Range Expr'.
-
createLogicConstant
- Specified by:
createLogicConstantin interfaceProblemFactory- Returns:
- a new object of class 'Logic Constant'.
-
createImportStatement
- Specified by:
createImportStatementin interfaceProblemFactory- Returns:
- a new object of class 'Import Statement'.
-
createDatatypeDeclaration
- Specified by:
createDatatypeDeclarationin interfaceProblemFactory- Returns:
- a new object of class 'Datatype Declaration'.
-
createLatticeBinaryExpr
- Specified by:
createLatticeBinaryExprin interfaceProblemFactory- Returns:
- a new object of class 'Lattice Binary Expr'.
-
createAssignmentExpr
- Specified by:
createAssignmentExprin interfaceProblemFactory- Returns:
- a new object of class 'Assignment Expr'.
-
createInfiniteConstant
- Specified by:
createInfiniteConstantin interfaceProblemFactory- Returns:
- a new object of class 'Infinite Constant'.
-
createAggregatorDeclaration
- Specified by:
createAggregatorDeclarationin interfaceProblemFactory- Returns:
- a new object of class 'Aggregator Declaration'.
-
createModalExpr
- Specified by:
createModalExprin interfaceProblemFactory- Returns:
- a new object of class 'Modal Expr'.
-
createAssertion
- Specified by:
createAssertionin interfaceProblemFactory- Returns:
- a new object of class 'Assertion'.
-
createAnnotationContainer
- Specified by:
createAnnotationContainerin interfaceProblemFactory- Returns:
- a new object of class 'Annotation Container'.
-
createAnnotationDeclaration
- Specified by:
createAnnotationDeclarationin interfaceProblemFactory- Returns:
- a new object of class 'Annotation Declaration'.
-
createAnnotation
- Specified by:
createAnnotationin interfaceProblemFactory- Returns:
- a new object of class 'Annotation'.
-
createAnnotationArgument
- Specified by:
createAnnotationArgumentin interfaceProblemFactory- Returns:
- a new object of class 'Annotation Argument'.
-
createTopLevelAnnotation
- Specified by:
createTopLevelAnnotationin interfaceProblemFactory- Returns:
- a new object of class 'Top Level Annotation'.
-
createOverloadedDeclaration
- Specified by:
createOverloadedDeclarationin interfaceProblemFactory- Returns:
- a new object of class 'Overloaded Declaration'.
-
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) -
createPredicateKindFromString
public PredicateKind createPredicateKindFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertPredicateKindToString
public String convertPredicateKindToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
createParameterKindFromString
public ParameterKind createParameterKindFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertParameterKindToString
public String convertParameterKindToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
getProblemPackage
- Specified by:
getProblemPackagein interfaceProblemFactory- Returns:
- the package supported by this factory.
-
getPackage
Deprecated.
-