Package tools.refinery.language.utils
Class ProblemUtil
java.lang.Object
tools.refinery.language.utils.ProblemUtil
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ModuleKind
getDefaultModuleKind
(org.eclipse.emf.common.util.URI uri) static ModuleKind
getDefaultModuleKind
(Problem problem) static boolean
hasComputedValue
(PredicateDefinition predicateDefinition) static boolean
hasMultiplicityConstraint
(ReferenceDeclaration referenceDeclaration) static boolean
isAtomNode
(Node node) static boolean
isBasePredicate
(PredicateDefinition predicateDefinition) static boolean
isBuiltIn
(org.eclipse.emf.ecore.EObject eObject) static boolean
isComputedValuePredicate
(Relation relation) static boolean
isContainerReference
(ReferenceDeclaration referenceDeclaration) static boolean
isContainmentReference
(ReferenceDeclaration referenceDeclaration) static boolean
isDeclaredNode
(Node node) static boolean
isDerivedStatePredicate
(PredicateDefinition predicateDefinition) static boolean
isError
(org.eclipse.emf.ecore.EObject eObject) static boolean
isImplicit
(org.eclipse.emf.ecore.EObject eObject) static boolean
isImplicitNode
(Node node) static boolean
isImplicitVariable
(Variable variable) static boolean
isInModule
(org.eclipse.emf.ecore.EObject eObject) static boolean
isInvalidMultiplicityConstraint
(Relation relation) static boolean
static boolean
isMultiNode
(Node node) static boolean
isShadow
(org.eclipse.emf.ecore.EObject eObject) static boolean
isSingletonVariable
(Variable variable) static boolean
isTypeLike
(Relation relation) static boolean
mayReferToShadow
(org.eclipse.emf.ecore.EObject context) static boolean
parameterBindingAnnotationsAreForbidden
(RuleDefinition ruleDefinition)
-
Field Details
-
MODULE_EXTENSION
- See Also:
-
-
Method Details
-
isBuiltIn
public static boolean isBuiltIn(org.eclipse.emf.ecore.EObject eObject) -
isSingletonVariable
-
isImplicitVariable
-
isImplicitNode
-
isImplicit
public static boolean isImplicit(org.eclipse.emf.ecore.EObject eObject) -
isError
public static boolean isError(org.eclipse.emf.ecore.EObject eObject) -
isShadow
public static boolean isShadow(org.eclipse.emf.ecore.EObject eObject) -
mayReferToShadow
public static boolean mayReferToShadow(org.eclipse.emf.ecore.EObject context) -
isAtomNode
-
isMultiNode
-
isDeclaredNode
-
isInvalidMultiplicityConstraint
-
isComputedValuePredicate
-
hasMultiplicityConstraint
-
isDerivedStatePredicate
-
isBasePredicate
-
hasComputedValue
-
isTypeLike
-
isContainmentReference
-
isContainerReference
-
getDefaultModuleKind
-
getDefaultModuleKind
-
isModule
-
isInModule
public static boolean isInModule(org.eclipse.emf.ecore.EObject eObject) -
parameterBindingAnnotationsAreForbidden
-