Provides a set of interfaces representing the model consisting not only of the source code (like SCI model)
but also of various diagrams (class diagram, use diagrams etc), links, notes, etc., allowing to
access and change these elements.
RWI model is a combination of five different entities: packages, nodes, members, diagrams and links.
- Packages.
-
The RWI model is a tree-like data structure in which data is stored in special
data containers - packages. The model
can have one or more packages called root packages which are at the top of this tree structure.
Every package contains other parts of the model- nodes and diagrams, and other packages
called subpackages.
- Nodes and members.
-
Nodes can contain members and other nodes called subnodes.
Examples of nodes are classes, use cases, states.
Members keep node's data and usually represent member-like elements. Examples of members are
operations and attributes for a class.
- Diagrams.
- Diagram is a set of references to the model's elements.
Examples of diagrams are class diagrams, use case diagrams, sequence diagrams,
collaboration diagrams.
- Links.
- Links are used to represent dependencies between elements described above.
Packages, nodes, members, diagrams and links are derivatives of RwiElement - the most
generalized element of the model. Every element has a set of characteristics called properties.
These properties are used to keep element's behavioral and structural data, like name, type, content etc.
RwiPropertyMap interface provides a set of methods for accessing and changing
the element's properties.
@see com.togethersoft.togetherx.rwi.RwiPropertyMap
@see com.togethersoft.togetherx.rwi.RwiElement
@see com.togethersoft.togetherx.rwi.RwiPackage
@see com.togethersoft.togetherx.rwi.RwiNode
@see com.togethersoft.togetherx.rwi.RwiMember
@see com.togethersoft.togetherx.rwi.RwiDiagram
@see com.togethersoft.togetherx.rwi.RwiLink
@see com.togethersoft.togetherx.rwi.RwiReference