get on the handle for that method. Symmetrically
the method call shadows that an advice affects can be retrieved.
The elements can be stored and looked up as IProgramElement(s), in which cases the element corresponding to the handle is looked up in the containment hierarchy.
put/get methods taking IProgramElement as a parameter are for convenience only. They work identically to calling their counterparts with IProgramElement.getIdentifierHandle()
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public List | Returns: list of relationships or null if the source element has no relationships
|
| public List | |
| public IRelationship | Returns: null if the relationship is not found.Return a relationship matching the kind and name for the given element. |
| public IRelationship | Returns: null if the relationship is not found.Return a relationship matching the kind and name for the given element. |
| public IRelationship | Returns: null if the relationship is not found.Return a relationship matching the kind and name for the given element. |
| public Set | |
| public void | |
| public void | |
| public boolean | |
| public void |
| clear | back to summary |
|---|---|
| public void clear() Clear all of the relationships in the map. | |
| get | back to summary |
|---|---|
public List
| |
| get | back to summary |
|---|---|
public List
| |
| get | back to summary |
|---|---|
| public IRelationship get(IProgramElement source, IRelationship. Return a relationship matching the kind and name for the given element.
| |
| get | back to summary |
|---|---|
| public IRelationship get(IProgramElement source, IRelationship. Return a relationship matching the kind and name for the given element.
| |
| get | back to summary |
|---|---|
| public IRelationship get(String source, IRelationship. Return a relationship matching the kind and name for the given element. Creates the relationship if not found.
| |
| getEntries | back to summary |
|---|---|
| public Set | |
| put | back to summary |
|---|---|
| public void put(IProgramElement source, IRelationship relationship) | |
| put | back to summary |
|---|---|
| public void put(String handle, IRelationship relationship) | |
| remove | back to summary |
|---|---|
| public boolean remove(String handle, IRelationship relationship) | |
| removeAll | back to summary |
|---|---|
| public void removeAll(String source) | |