Skip to main content
summaryrefslogtreecommitdiffstats
blob: 0acab8500c0b7f524eb2d286446468b3c0093a28 (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
package org.eclipse.papyrus.alf.syntax.units;

public class AssociationDefinition extends ClassifierDefinition {

	// Constraints
	
	/*
	 * The specialization referents of an association definition must all be associations.
	 */
	public void checkAssociationDefinitionSpecializationReferent() {
		
	}
	
	
	// Helper Operations
	
	/*
	 * In addition to the annotations allowed for classifiers in general, an association definition allows an
	 * 	annotation for any stereotype whose metaclass is consistent with Association.
	 */
	public boolean annotationAllowed(StereotypeAnnotation annotation) {
		return super.annotationAllowed(annotation) && false ;
	}
	
	/*
	 * Return true if the given member is either an AssociationDefinition or an imported member whose
	 * 	referent is an AssociationDefinition or an Association.
	 */
	public boolean isSameKindAs(Member member) {
		return false ;
	}
	
	/*
	 * Returns true if the given unit definition matches this association definition considered as a classifier
	 * 	definition and the subunit is for an association definition.
	 */
	public boolean matchForStub(UnitDefinition unit) {
		return false ;
	}
	
}

Back to the top