blob: 2561f4a988c62b65e8727d55b8a910d2780d860e (
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
*
*
* 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:
* Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
* Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
* David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
*
*****************************************************************************/
package org.eclipse.papyrus.eastadl.structure.hardwaremodeling;
import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
import org.eclipse.papyrus.eastadl.infrastructure.elements.EAPort;
import org.eclipse.papyrus.eastadl.structure.functionmodeling.EADirectionKind;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Hardware Pin</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* HardwarePin represents electrical connection points in the hardware architecture. Depending on modeling style, the actual wire or a logical connection can be considered.
*
* Semantics
* Hardware pin represents an electrical connection point.
*
* Extension:
* Port
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin#isIsGround <em>Is Ground</em>}</li>
* <li>{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin#getDirection <em>Direction</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getHardwarePin()
* @model abstract="true"
* @generated
*/
public interface HardwarePin extends EAElement, EAPort {
/**
* Returns the value of the '<em><b>Direction</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.EADirectionKind}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The direction of current through the pin.
* <!-- end-model-doc -->
*
* @return the value of the '<em>Direction</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.EADirectionKind
* @see #setDirection(EADirectionKind)
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getHardwarePin_Direction()
* @model unique="false" required="true" ordered="false"
* @generated
*/
EADirectionKind getDirection();
/**
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin#getDirection <em>Direction</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Direction</em>' attribute.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.EADirectionKind
* @see #getDirection()
* @generated
*/
void setDirection(EADirectionKind value);
/**
* Returns the value of the '<em><b>Is Ground</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Indicates that the pin is connected to ground.
* <!-- end-model-doc -->
*
* @return the value of the '<em>Is Ground</em>' attribute.
* @see #setIsGround(boolean)
* @see org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwaremodelingPackage#getHardwarePin_IsGround()
* @model unique="false" dataType="org.eclipse.uml2.types.Boolean" ordered="false"
* @generated
*/
boolean isIsGround();
/**
* Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.hardwaremodeling.HardwarePin#isIsGround <em>Is Ground</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Is Ground</em>' attribute.
* @see #isIsGround()
* @generated
*/
void setIsGround(boolean value);
} // HardwarePin
|