Package de.gebit.integrity.runner
Class AmbiguousDefinition
- java.lang.Object
-
- de.gebit.integrity.runner.AmbiguousDefinition
-
public class AmbiguousDefinition extends Object
Represents an ambiguous definition in a test model. This may refer to ambiguous suites, variables, etc. - these are differentiated by the type string.- Author:
- Rene Schneider - initial API and implementation
-
-
Constructor Summary
Constructors Constructor Description AmbiguousDefinition(String aQualifiedName, String aType, org.eclipse.emf.ecore.EObject aFirstDefinition)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDefinition(org.eclipse.emf.ecore.EObject aDefinition)Adds another definition.booleanequals(Object anObject)List<org.eclipse.emf.ecore.EObject>getDefinitions()StringgetKey()Calculates a key string by which this definition is identified.StringgetQualifiedName()StringgetType()inthashCode()
-
-
-
Method Detail
-
addDefinition
public void addDefinition(org.eclipse.emf.ecore.EObject aDefinition)
Adds another definition.- Parameters:
aDefinition- the definition to add
-
getDefinitions
public List<org.eclipse.emf.ecore.EObject> getDefinitions()
-
getType
public String getType()
-
getQualifiedName
public String getQualifiedName()
-
getKey
public String getKey()
Calculates a key string by which this definition is identified.- Returns:
- the key
-
-