Source Code Cross Referenced for LRC.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 Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * This file or a portion of this file is licensed under the terms of
003:         * the Globus Toolkit Public License, found at $PEGASUS_HOME/GTPL or
004:         * http://www.globus.org/toolkit/download/license.html.
005:         * This notice must appear in redistributions of this file
006:         * with or without modification.
007:         *
008:         * Redistributions of this Software, with or without modification, must reproduce
009:         * the GTPL in:
010:         * (1) the Software, or
011:         * (2) the Documentation or
012:         * some other similar material which is provided with the Software (if any).
013:         *
014:         * Copyright 1999-2004
015:         * University of Chicago and The University of Southern California.
016:         * All rights reserved.
017:         */package org.griphyn.cPlanner.classes;
018:
019:        /**
020:         * This is a data class that is used to store information about a
021:         * local replica catalog, that is associated with a site in the pool configuration
022:         * catalog.
023:         * <p>
024:         * The various attributes that can be associated with the the server are
025:         * displayed in the following table.
026:         *
027:         * <p>
028:         * <table border="1">
029:         * <tr align="left"><th>Attribute Name</th><th>Attribute Description</th></tr>
030:         * <tr align="left"><th>url</th>
031:         *  <td>the url string pointing to local replica catalog.</td>
032:         * </tr>
033:         * </table>
034:         *
035:         * @author Gaurang Mehta gmehta@isi.edu
036:         * @author Karan Vahi vahi@isi.edu
037:         *
038:         * @version $Revision: 50 $
039:         */
040:        public class LRC {
041:
042:            /**
043:             * The contact string to the lrc e.g rls://sukhna.isi.edu .
044:             */
045:            private String mLRCURL;
046:
047:            /**
048:             * Constructor for the class.
049:             *
050:             * @param url the url for the local replica catalog.
051:             */
052:            public LRC(String url) {
053:                mLRCURL = url == null ? null : new String(url);
054:            }
055:
056:            /**
057:             * Returns the LRC url associated with a pool.
058:             *
059:             * @return the lrc url.
060:             */
061:            public String getURL() {
062:                return mLRCURL;
063:            }
064:
065:            /**
066:             * Sets the url of the LRC associated with the object.
067:             *
068:             * @param url the url string.
069:             */
070:            public void setURL(String url) {
071:                mLRCURL = url;
072:            }
073:
074:            /**
075:             * Returns the textual description of the  contents of <code>LRC</code>
076:             * object in the multiline format.
077:             *
078:             * @return the textual description in multiline format.
079:             */
080:            public String toMultiLine() {
081:                return this .toString();
082:            }
083:
084:            /**
085:             * Returns the textual description of the  contents of <code>LRC</code> object.
086:             *
087:             * @return the textual description.
088:             */
089:            public String toString() {
090:                String output = "lrc \"" + mLRCURL + "\"";
091:                return output;
092:            }
093:
094:            /**
095:             * Returns the XML description of the  contents of <code>LRC</code>
096:             * object.
097:             *
098:             * @return the xml description.
099:             */
100:            public String toXML() {
101:                String output = "<lrc url=\"" + mLRCURL + "\" />";
102:                return output;
103:            }
104:
105:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.