org.gnu.atk
public class RelationSet extends GObject
| Constructor Summary | |
|---|---|
| RelationSet()
Create a new empty RelationSet | |
| Method Summary | |
|---|---|
| void | add(Relation relation)
Add a new relation to the current relation set if it is not already
present. |
| void | add(RelationType type, AtkObject target) |
| boolean | contains(RelationType relationship)
Determines whether the relation set contains a relation that matches the
specified type. |
| int | getNumRelations() |
| Relation | getRelation(int index) |
| Relation | getRelationByType(RelationType type) |
| void | remove(Relation relation)
Remove a relation from the relation set. |