Java Doc for TCMap.java in  » Workflow-Engines » pegasus-2.1.0 » org » griphyn » cPlanner » classes » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Workflow Engines » pegasus 2.1.0 » org.griphyn.cPlanner.classes 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.griphyn.cPlanner.classes.TCMap

TCMap
public class TCMap (Code)
This is a data class to store the TCMAP for a particular dag. This data class is populated and maintained in the TCMapper and is queried from the Interpool Engine and site selectors. The TCMAP is a hashmap which maps an lfn to a Map which contains keys as siteids and values as List of TransformationCatalogEntry objects TCMAP= lfn1 ---> MAP1 lfn2 ---> MAP2 MAP1 = site1 ---> List1 site2 ---> List2 List1 = TCE1 TCE2 TCEn
author:
   Gaurang Mehta
version:
   $Revision: 50 $



Constructor Summary
public  TCMap()
     Default constructor.

Method Summary
public  ListgetSiteList(String fqlfn)
     Returns a List of siteid's that are valid for a particular lfn.
public  ListgetSiteList(String fqlfn, List sites)
    
public  MapgetSiteMap(String fqlfn)
     Returns a HashMap of sites as keys and a List of TransformationCatalogEntry object as values.
Parameters:
  fqlfn - String The fully qualified logical transformation name for which you want the map.
public  ListgetSiteTCEntries(String fqlfn, String siteid)
    
public  MapgetSitesTCEntries(String fqlfn, List sites)
     Retrieves all the entries matching a particular lfn for the sites passed.
Parameters:
  fqlfn - the fully qualified logical name
Parameters:
  sites - the list of siteID's for which the entries are required.
public  booleansetSiteMap(String fqlfn, Map sitemap)
     This method allows to associate a site map with a particular logical transformation
Parameters:
  fqlfn - String The transformation for which the sitemap is to be stored
Parameters:
  sitemap - Map The sitemap that is to be stored.
public  booleansetSiteTCEntries(String fqlfn, String siteid, TransformationCatalogEntry entry)
     This method allows to add a TransformationCatalogEntry object in the map to a particular transformation for a particular site
Parameters:
  fqlfn - String The fully qualified logical transformation
Parameters:
  siteid - String The site for which the TransformationCatalogEntry is valid
Parameters:
  entry - TransformationCatalogEntry The Transformation CatalogEntry object to be added.
public  StringtoString()
    
public  StringtoString(String lfn)
     Returns a textual description of the object.


Constructor Detail
TCMap
public TCMap()(Code)
Default constructor. Initializes the tcmap to 10 lfns.




Method Detail
getSiteList
public List getSiteList(String fqlfn)(Code)
Returns a List of siteid's that are valid for a particular lfn.
Parameters:
  fqlfn - String List



getSiteList
public List getSiteList(String fqlfn, List sites)(Code)
Returns a list of siteid's that are valid for a particular lfn and among a list of input sites
Parameters:
  fqlfn - The logical name of the transformation
Parameters:
  sites - The list of siteids the list of siteids which are valid.



getSiteMap
public Map getSiteMap(String fqlfn)(Code)
Returns a HashMap of sites as keys and a List of TransformationCatalogEntry object as values.
Parameters:
  fqlfn - String The fully qualified logical transformation name for which you want the map. Map Returns NULL if the transformation does not exist in the map.
See Also:   org.griphyn.common.catalog.TransformationCatalogEntry



getSiteTCEntries
public List getSiteTCEntries(String fqlfn, String siteid)(Code)
This method returns a list of TransformationCatalogEntry objects for a given transformation and siteid
Parameters:
  fqlfn - String The fully qualified logical name of the transformation
Parameters:
  siteid - String The siteid for which the Entries are required List returns NULL if no entries exist.



getSitesTCEntries
public Map getSitesTCEntries(String fqlfn, List sites)(Code)
Retrieves all the entries matching a particular lfn for the sites passed.
Parameters:
  fqlfn - the fully qualified logical name
Parameters:
  sites - the list of siteID's for which the entries are required. a map indexed by site names. Each value is a collection ofTransformationCatalogEntry objects. Returns null in caseof no entry being found.



setSiteMap
public boolean setSiteMap(String fqlfn, Map sitemap)(Code)
This method allows to associate a site map with a particular logical transformation
Parameters:
  fqlfn - String The transformation for which the sitemap is to be stored
Parameters:
  sitemap - Map The sitemap that is to be stored. It is a hashmap with keyas the siteid and value as a list of TranformationCatalogEntry objects boolean
See Also:   org.griphyn.common.catalog.TransformationCatalogEntry



setSiteTCEntries
public boolean setSiteTCEntries(String fqlfn, String siteid, TransformationCatalogEntry entry)(Code)
This method allows to add a TransformationCatalogEntry object in the map to a particular transformation for a particular site
Parameters:
  fqlfn - String The fully qualified logical transformation
Parameters:
  siteid - String The site for which the TransformationCatalogEntry is valid
Parameters:
  entry - TransformationCatalogEntry The Transformation CatalogEntry object to be added. boolean



toString
public String toString()(Code)
Returns the textual description of the contents of the object String



toString
public String toString(String lfn)(Code)
Returns a textual description of the object.
Parameters:
  lfn - String the textual description.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.