org.eclipse.gmt.modisco.infra.role.core
Class RoleSetCatalog
java.lang.Object
EcoreCatalog
org.eclipse.gmt.modisco.infra.role.core.RoleSetCatalog
public final class RoleSetCatalog
- extends EcoreCatalog
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getSingleton
public static RoleSetCatalog getSingleton()
getEPackageToDefaultRoleSetMap
public java.util.HashMap<EPackage,RoleSet> getEPackageToDefaultRoleSetMap()
getRoleSet
public RoleSet getRoleSet(java.lang.String name)
- This method returns the role set of the resource having for name the
"name" parameter value.
- Parameters:
name - the name of a resource contained in the catalog
- Returns:
- return a role set
getDefaultRoleSet
public RoleSet getDefaultRoleSet(EPackage ePackage)
getAllRoleSets
public java.util.Collection<RoleSet> getAllRoleSets()
- This methods returns the role sets of all the resources contained in the
catalog.
- Returns:
- returns all the role sets