Difference between revisions of "XCSG:ClassVariable"
From AtlasWiki
m |
|||
Line 4: | Line 4: | ||
| description = A variable associated with a [[Classifier]] (and not a specific instance). | | description = A variable associated with a [[Classifier]] (and not a specific instance). | ||
}} | }} | ||
+ | |||
+ | ==Language Mappings== | ||
+ | A ClassVariable corresponds to a static field of a class or interface in languages such as Java or C++. |
Revision as of 16:34, 16 April 2014
Specification
Metaclass | ClassVariable |
---|---|
Extends | Field |
Description | A variable associated with a Classifier (and not a specific instance). |
Direct Subkinds | Java:EnumConstant |
---|
All Superkinds | Field, ProgramVariable, Variable, Node, ModelElement |
---|
Specified In Edges
| ||||
---|---|---|---|---|
Inherited From | In Edge | Predecessor | Multiplicity | Description |
ProgramVariable | HasVariable | Package | 1 | Links a Classifier or Package to one of its Variables. |
Classifier | 1
| |||
InterproceduralDataFlow | Assignment | ✱ | Represents data flows between Functions, or involving Variables visible to multiple Functions. | |
Variable | DataFlow (Edge) | DataFlow (Node) | ✱ | Connects DataFlow nodes to one another and to Variables, linking the origin of data to locations that it is modified or consumed. |
Specified Out Edges
| ||||
---|---|---|---|---|
Inherited From | Out Edge | Successor | Multiplicity | Description |
Variable | DataFlow (Edge) | DataFlow (Node) | ✱ | Connects DataFlow nodes to one another and to Variables, linking the origin of data to locations that it is modified or consumed.
|
DefinedAs | TypeAlias | 0..1 | Connects a Variable or DataFlow node which received its Type via a TypeAlias (such as a C/C++ typedef) to that TypeAlias. | |
InstanceVariableWritten | InstanceVariableAssignment | ✱ | Connects a value (DataFlow (Node) or Variable) representing an object instance to an InstanceVariableAssignment representing a write to a field of that object. | |
TypeOf | Type | 1 | Links a Variable or DataFlow node to its Type |
Known Possible In Edges
| ||||
---|---|---|---|---|
Inherited From | In Edge | Predecessor | Multiplicity | Description |
Variable | HasVariable | Namespace | 1 | Links a Classifier or Package to one of its Variables.
|
InterproceduralDataFlow | Assignment | ✱ | Represents data flows between Functions, or involving Variables visible to multiple Functions. | |
Node | Contains | Node | 1 | Indicates that the predecessor contains the successor in a sense specified by the specific type of Contains edge. |
Known Possible Out Edges
| ||||
---|---|---|---|---|
Inherited From | Out Edge | Successor | Multiplicity | Description |
ProgramVariable | LocalDataFlow | DataFlow (Node) | ✱ | Within the scope of a particular Function, connects Parameters to DataFlow nodes, and DataFlow nodes to one another, indicating flow of information within that Function. |
Variable | InterproceduralDataFlow | DataFlow (Node) | ✱ | Represents data flows between Functions, or involving Variables visible to multiple Functions. |
Node | Contains | Node | ✱ | Indicates that the predecessor contains the successor in a sense specified by the specific type of Contains edge. |
Language Mappings
A ClassVariable corresponds to a static field of a class or interface in languages such as Java or C++.