|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.catalog.transformation.classes.TransformationStore
public class TransformationStore
A container data class that is used to store transformations. The transformation are stored internally indexed by transformation name.
| Field Summary | |
|---|---|
private Map<String,Map<String,List<TransformationCatalogEntry>>> |
mTCStore
The internal store map. |
| Constructor Summary | |
|---|---|
TransformationStore()
The default constructor. |
|
| Method Summary | |
|---|---|
void |
addEntry(TransformationCatalogEntry entry)
Adds an entry into the store. |
void |
clear()
Clears all the entries in the store. |
boolean |
containsTransformation(String completeName)
Returns a boolean indicating whether the store contains an entry corresponding to a particular transformation or not. |
boolean |
containsTransformation(String namespace,
String name,
String version)
Returns a boolean indicating whether the store contains an entry corresponding to a particular transformation or not. |
List<TransformationCatalogEntry> |
getAllEntries()
Returns all the entries in the Transformation Store |
List<TransformationCatalogEntry> |
getEntries(String completeName,
String site)
Returns List of TransformationCatalogEntry objects for a transformation on a particular site. |
List<TransformationCatalogEntry> |
getEntries(String completeName,
String site,
TCType type)
Returns List of TransformationCatalogEntry objects for a transformation on a particular site and a type. |
List<TransformationCatalogEntry> |
getEntries(String site,
TCType type)
Returns a list of TransformationCatalogEntry objects matching on a site and transformation type. |
List<String> |
getTransformations(String site,
TCType type)
Returns a list of transformation names matching on a site and transformation type. |
private void |
initialize()
Intializes the store. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Map<String,Map<String,List<TransformationCatalogEntry>>> mTCStore
| Constructor Detail |
|---|
public TransformationStore()
| Method Detail |
|---|
private void initialize()
public void clear()
public void addEntry(TransformationCatalogEntry entry)
entry - the transformation catalog object.
public List<TransformationCatalogEntry> getEntries(String completeName,
String site,
TCType type)
completeName - the complete name of the transformationsite - the site on which to search for entries. null means alltype - the type to match on . null means all types.
public List<TransformationCatalogEntry> getEntries(String completeName,
String site)
completeName - the complete name of the transformationsite - the site on which to search for entries. null means all sites
public List<TransformationCatalogEntry> getAllEntries()
public List<TransformationCatalogEntry> getEntries(String site,
TCType type)
site - the site on which to search for entries. null means alltype - the type to match on . null means all types.
public List<String> getTransformations(String site,
TCType type)
site - the site on which to search for entries. null means alltype - the type to match on . null means all types.
public boolean containsTransformation(String namespace,
String name,
String version)
namespace - the namespace associated with the transformationname - the logical nameversion - the version of the transformation
public boolean containsTransformation(String completeName)
completeName - the complete name of the transformation as constructed from
namespace, name and version
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||