RWAccess
is the abstract super class for VariableRWAccess and PortRWAccess
More...
List of all members.
Public Member Functions |
int | compareTo (IAXLangElement axlOther) |
| Define sorting order.
|
boolean | isRead () |
| Returns if the access is a read or write access?
|
boolean | isWrite () |
| RWAccess () |
| Constructor.
|
void | setAccess (Access newAccess) |
| Sets the access to read or write access.
|
Detailed Description
RWAccess
is the abstract super class for VariableRWAccess and PortRWAccess
The kind of access is stored in an according attribute
- Attributes
- mandatory kind of access (read or write)
- Author:
- ekleinod
-
mgrosse
- Version:
- 0.9.0
- Since:
- 0.1
Constructor & Destructor Documentation
de.fraunhofer.isst.axbench.axlang.elements.architecturemodel.RWAccess.RWAccess |
( |
|
) |
|
Member Function Documentation
int de.fraunhofer.isst.axbench.axlang.elements.architecturemodel.RWAccess.compareTo |
( |
IAXLangElement |
axlOther |
) |
|
Define sorting order.
Sorting order (smaller elements first):
- kind (read smaller than write)
- variables
- ports
- data elements
- Parameters:
-
- Returns:
- result of comparison
- Return values:
-
| <0 | this element is less than the other |
| 0 | this element equals the other |
| >0 | this element is greater than the other |
Reimplemented from de.fraunhofer.isst.axbench.axlang.api.AbstractAXLangElement.
boolean de.fraunhofer.isst.axbench.axlang.elements.architecturemodel.RWAccess.isRead |
( |
|
) |
|
Returns if the access is a read or write access?
- Returns:
- read or write access?
- Return values:
-
| true | == read access |
| false | == write access |
boolean de.fraunhofer.isst.axbench.axlang.elements.architecturemodel.RWAccess.isWrite |
( |
|
) |
|
void de.fraunhofer.isst.axbench.axlang.elements.architecturemodel.RWAccess.setAccess |
( |
Access |
newAccess |
) |
|
Sets the access to read or write access.
- Parameters:
-