Skip to main content
summaryrefslogtreecommitdiffstats
blob: c1a0b5284ed539804bd52dc65302189c96afb5b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package org.eclipse.papyrus.alf.syntax.units;

import org.eclipse.papyrus.alf.syntax.common.ElementReference;
import org.eclipse.papyrus.alf.syntax.common.SyntaxElement;
import org.eclipse.papyrus.alf.syntax.expressions.QualifiedName;

public class ImportReference extends SyntaxElement {

	public QualifiedName referentName ;
	public UnitDefinition unit ;
	public String visibility ;

	//Derived Properties
	public ElementReference referent ;
	
	// Constraints
	
	/*
	 * The referent name of an import reference must resolve to a single element with public or empty
	 * 	visibility.
	 */
	public void checkImportReferenceReferent() {
		
	}
	
	/*
	 * The referent of an import reference is the element denoted by the referent name.
	 */
	public void checkImportReferenceReferentDerivation() {
		
	}
	
}

Back to the top