blob: 0f2be6f59d2691dcb5d52e925dbe44b9b215f50e (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
package org.eclipse.papyrus.alf.syntax.units;
import java.util.List;
import org.eclipse.papyrus.alf.syntax.common.DocumentedElement;
import org.eclipse.papyrus.alf.syntax.common.ElementReference;
import org.eclipse.papyrus.alf.syntax.expressions.QualifiedName;
import org.eclipse.uml2.uml.Profile;
public class UnitDefinition extends DocumentedElement {
// Synthesized properties
public List<ImportReference> _import ;
public NamespaceDefinition definition ;
public QualifiedName namespaceName ;
// Derived Properties
public List<Profile> appliedProfile ;
public boolean isModelLibrary ;
public ElementReference namespace ;
// Constraints
/*
* The profiles applied to a unit definition include any profiles applied to the containing namespace of the
* unit definition. If the unit definition is for a package, then the applied profiles for the unit definition also
* include the applied profiles for its associated package definition.
*/
public void checkUnitDefinitionAppliedProfileDerivation() {
}
/*
* Unless the unit definition is a model library, it has private package import references for all the subpackages
* of the Alf::Library package.
*/
public void checkUnitDefinitionImplicitImports() {
}
/*
* A unit definition is for a model library if its associated namespace definition has a stereotype annotation
* for the UML standard stereotype ModelLibrary.
*/
public void checkUnitDefinitionIsModelLibraryDerivation() {
}
/*
* The declared namespace name for a unit definition, if any, must resolve to a UML namespace of an Alf
* unit definition. If it is an Alf unit definition, then it must have a stub for this unit definition.
*/
public void checkUnitDefinitionNamespace() {
}
/*
* If a unit definition has a declared namespace name, then the containing namespace for the unit is the
* referent for that name.
*/
public void checkUnitDefinitionNamespaceDerivation() {
}
}
|