|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Role | |
|---|---|
| org.tmapi.core | Core interfaces which provide the functionality of the Topic Maps - Data Model. |
| org.tmapi.index | Index interfaces which provide lookup of Topic Maps
Constructs. |
| Uses of Role in org.tmapi.core |
|---|
| Methods in org.tmapi.core that return Role | |
|---|---|
Role |
Association.createRole(Topic type,
Topic player)
Creates a new Role representing a role in this association. |
| Methods in org.tmapi.core that return types with arguments of type Role | |
|---|---|
java.util.Set<Role> |
Association.getRoles()
Returns the roles participating in this association. |
java.util.Set<Role> |
Association.getRoles(Topic type)
Returns all roles with the specified type. |
java.util.Set<Role> |
Topic.getRolesPlayed()
Returns the roles played by this topic. |
java.util.Set<Role> |
Topic.getRolesPlayed(Topic type)
Returns the roles played by this topic where the role type is type. |
java.util.Set<Role> |
Topic.getRolesPlayed(Topic type,
Topic assocType)
Returns the Roles played by this topic where the role type is
type and the Association type is assocType. |
| Uses of Role in org.tmapi.index |
|---|
| Methods in org.tmapi.index that return types with arguments of type Role | |
|---|---|
java.util.Collection<Role> |
TypeInstanceIndex.getRoles(Topic type)
Returns the roles in the topic map whose type property equals type. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||