org.eclipse.gmt.modisco.infra.role.core
Class RoleSetCatalog

java.lang.Object
  extended by EcoreCatalog
      extended by org.eclipse.gmt.modisco.infra.role.core.RoleSetCatalog

public final class RoleSetCatalog
extends EcoreCatalog


Method Summary
 java.util.Collection<RoleSet> getAllRoleSets()
          This methods returns the role sets of all the resources contained in the catalog.
 RoleSet getDefaultRoleSet(EPackage ePackage)
           
 java.util.HashMap<EPackage,RoleSet> getEPackageToDefaultRoleSetMap()
           
 RoleSet getRoleSet(java.lang.String name)
          This method returns the role set of the resource having for name the "name" parameter value.
static RoleSetCatalog getSingleton()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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