blob: 1cb5866f9eab42ca7c35cf0ae6130d366611d69c (
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
67
68
69
70
71
72
73
74
75
|
/*
* Copyright (c) 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM - initial API and implementation
*
* $Id: ParameterableElementOperations.java,v 1.1 2005/11/14 22:25:55 khussey Exp $
*/
package org.eclipse.uml2.uml.internal.operations;
import org.eclipse.uml2.uml.ParameterableElement;
/**
* <!-- begin-user-doc -->
* A static utility class that provides operations related to '<em><b>Parameterable Element</b></em>' model objects.
* <!-- end-user-doc -->
*
* <p>
* The following operations are supported:
* <ul>
* <li>{@link org.eclipse.uml2.uml.ParameterableElement#isCompatibleWith(org.eclipse.uml2.uml.ParameterableElement) <em>Is Compatible With</em>}</li>
* <li>{@link org.eclipse.uml2.uml.ParameterableElement#isTemplateParameter() <em>Is Template Parameter</em>}</li>
* </ul>
* </p>
*
* @generated
*/
public final class ParameterableElementOperations {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private ParameterableElementOperations() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The query isCompatibleWith() determines if this parameterable element is compatible with the specified parameterable element. By default parameterable element P is compatible with parameterable element Q if the kind of P is the same or a subtype as the kind of Q. Subclasses should override this operation to specify different compatibility constraints.
* result = p->oclIsKindOf(self.oclType)
* <!-- end-model-doc -->
* @generated
*/
public static boolean isCompatibleWith(
ParameterableElement parameterableElement, ParameterableElement p) {
// TODO: implement this method
// Ensure that you remove @generated or mark it @generated NOT
throw new UnsupportedOperationException();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The query isTemplateParameter() determines if this parameterable element is exposed as a formal template parameter.
* result = templateParameter->notEmpty()
* <!-- end-model-doc -->
* @generated
*/
public static boolean isTemplateParameter(
ParameterableElement parameterableElement) {
// TODO: implement this method
// Ensure that you remove @generated or mark it @generated NOT
throw new UnsupportedOperationException();
}
} // ParameterableElementOperations
|