|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||

java.lang.Objectgr.spinellis.umlgraph.doclet.RelationPattern
public class RelationPattern
A map from relation types to directions
| Field Summary | |
|---|---|
(package private) RelationDirection[] |
directions
A map from RelationType (indexes) to Direction objects |
| Constructor Summary | |
|---|---|
RelationPattern(RelationDirection defaultDirection)
Creates a new pattern using the same direction for every relation kind |
|
| Method Summary | |
|---|---|
void |
addRelation(RelationType relationType,
RelationDirection direction)
Adds, eventually merging, a direction for the specified relation type |
boolean |
matchesOne(RelationPattern relationPattern)
Returns true if this patterns matches at least the direction of one of the relations in the other relation patterns. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
RelationDirection[] directions
| Constructor Detail |
|---|
public RelationPattern(RelationDirection defaultDirection)
defaultDirection - The direction used to initialize this pattern| Method Detail |
|---|
public void addRelation(RelationType relationType,
RelationDirection direction)
relationType - direction - public boolean matchesOne(RelationPattern relationPattern)
relationPattern -
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||