org.eclipse.gmt.modisco.infra.facet.core
Class FacetSetCatalog

java.lang.Object
  extended by EcoreCatalog
      extended by org.eclipse.gmt.modisco.infra.facet.core.FacetSetCatalog

public final class FacetSetCatalog
extends EcoreCatalog


Method Summary
 java.util.Collection<FacetSet> getAllFacetSets()
          This methods returns the facet sets of all the resources contained in the catalog.
 FacetSet getDefaultFacetSet(EPackage ePackage)
           
 java.util.HashMap<EPackage,FacetSet> getEPackageToDefaultFacetSetMap()
           
 FacetSet getFacetSet(java.lang.String name)
          This method returns the facet set of the resource having for name the "name" parameter value.
static FacetSetCatalog getSingleton()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSingleton

public static FacetSetCatalog getSingleton()

getEPackageToDefaultFacetSetMap

public java.util.HashMap<EPackage,FacetSet> getEPackageToDefaultFacetSetMap()

getFacetSet

public FacetSet getFacetSet(java.lang.String name)
This method returns the facet 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 facet set

getDefaultFacetSet

public FacetSet getDefaultFacetSet(EPackage ePackage)

getAllFacetSets

public java.util.Collection<FacetSet> getAllFacetSets()
This methods returns the facet sets of all the resources contained in the catalog.

Returns:
returns all the facet sets