Java Doc for Profile.java in  » Workflow-Engines » pegasus-2.1.0 » org » griphyn » vdl » dax » 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.vdl.dax 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.griphyn.vdl.dax.DAX
   org.griphyn.vdl.dax.Profile

Profile
public class Profile extends DAX implements Cloneable(Code)
A Profile captures scheduler system and application environment specific stuff in a uniform fashion. Each profile declaration assigns a value to a key within a namespace. As of this writing, valid namespaces are
vds
Virtual Data System specific material.
condor
If the job runs in using the Condor scheduler, certain items like the "universe" or "requirments" can be set. Please note that currently the universe is provided as a hint to the logical transformation itself.
dagman
The job graph will usually be run by Condor DAGMan. Some issues, e.g. the number of retries, are specific to DAGMan and not Condor.
env
The Unix environment variables that are required for the job.
In the future, more namespaces may be added.
author:
   Jens-S. Vöckler
author:
   Yong Zhao
version:
   $Revision: 50 $



Constructor Summary
public  Profile()
     Array ctor.
public  Profile(String namespace, String key)
     Standard ctor: set up everything except a value of the ns.key pair.
public  Profile(String namespace, String key, Leaf firstChild)
     Convenience ctor: set up the first piece of the value in one go.
Parameters:
  namespace - is the namespace within which to operate.
Parameters:
  key - is an identifier unique within the namespace.
Parameters:
  firstChild - is the first fragment of the value.
public  Profile(String namespace, String key, Collection children)
     Convenience ctor: set up the first piece of the value in one go.
Parameters:
  namespace - is the namespace within which to operate.
Parameters:
  key - is an identifier unique within the namespace.
Parameters:
  children - is a collection of fragments for the value.

Method Summary
public  voidaddLeaf(Leaf vLeaf)
     Accessor: Append a value fragment to this profile instance.
Parameters:
  vLeaf - is the fragment to add.
public  voidaddLeaf(int index, Leaf vLeaf)
     Accessor: Inserts a Leaf value into a specific position of the list of gathered values.
Parameters:
  index - is the position to insert the item into
Parameters:
  vLeaf - is the value to append to the list.
public  Objectclone()
     Creates and returns a copy of this object.
public  EnumerationenumerateLeaf()
     Accessor: Enumerates the internal values that constitute the content of the Profile value.
public  StringgetKey()
     Accessor: Gets the key identifier for the profile.
public  LeafgetLeaf(int index)
     Accessor: Obtains the Leaf at a certain position in the list of profile value fragments.
public  Leaf[]getLeaf()
     Accessor: Gets an array of all values that constitute the current value content of a profile.
public  intgetLeafCount()
     Accessor: Obtains the number of profile value fragments.
public  java.util.ListgetLeafList()
     Accessor: Gets an array of all values that constitute the current content.
public  StringgetNamespace()
     Accessor: Gets the namespace value for the profile.
public  StringgetOrigin()
     Accessor: Obtains the originator for a profile. an arbitrary string at the moment.
public  IteratoriterateLeaf()
     Accessor: Enumerates the internal values that constitute the content of the Scalar element.
public  ListIteratorlistIterateLeaf()
     Accessor: Enumerates the internal values that constitute the content of the Leaf element.
public  ListIteratorlistIterateLeaf(int start)
     Accessor: Enumerates the internal values that constitute the content of the Leaf element.
public  voidremoveAllLeaf()
     Accessor: Removes all value fragments from the profile.
public  LeafremoveLeaf(int index)
     Accessor: Remove a single fragment from the list of value fragments.
Parameters:
  index - is the position at which an element is to be removed.
public  voidsetKey(String key)
     Accessor: Adjusts the identifier within a namespace.
Parameters:
  key - is the new identifier to use from now on.
public  voidsetLeaf(int index, Leaf vLeaf)
     Accessor: Overwrites a Filename or PseudoText value fragment at a certain position in the profile value fragment list.
public  voidsetLeaf(Leaf[] leafArray)
     Accessor: Overwrites internal value fragments list with an external list representing a profile value.
public  voidsetLeaf(Collection leaves)
     Accessor: Overwrites internal list with an external list representing a Scalar value.
public  voidsetNamespace(String namespace)
     Accessor: Adjusts a namespace value to a new state.
public  voidsetOrigin(String origin)
     Accessor: Sets the originator for a profile.
public  voidtoString(Writer stream)
     Converts the active state into something meant for human consumption. The method will be called when recursively traversing the instance tree.
public  voidtoXML(Writer stream, String indent, String namespace)
     Dump the state of the current element as XML output.


Constructor Detail
Profile
public Profile()(Code)
Array ctor.



Profile
public Profile(String namespace, String key)(Code)
Standard ctor: set up everything except a value of the ns.key pair.
Parameters:
  namespace - is the namespace within which to operate.
Parameters:
  key - is an identifier unique within the namespace.



Profile
public Profile(String namespace, String key, Leaf firstChild)(Code)
Convenience ctor: set up the first piece of the value in one go.
Parameters:
  namespace - is the namespace within which to operate.
Parameters:
  key - is an identifier unique within the namespace.
Parameters:
  firstChild - is the first fragment of the value. OnlyLeafs of type Filename orPseudoText are permissable.
See Also:   Leaf
See Also:   Filename
See Also:   PseudoText
See Also:   



Profile
public Profile(String namespace, String key, Collection children)(Code)
Convenience ctor: set up the first piece of the value in one go.
Parameters:
  namespace - is the namespace within which to operate.
Parameters:
  key - is an identifier unique within the namespace.
Parameters:
  children - is a collection of fragments for the value. OnlyLeafs of type Filename orPseudoText are permissable.
See Also:   Leaf
See Also:   Filename
See Also:   PseudoText
See Also:   




Method Detail
addLeaf
public void addLeaf(Leaf vLeaf)(Code)
Accessor: Append a value fragment to this profile instance.
Parameters:
  vLeaf - is the fragment to add. Note that only leaf values ofFilename or PseudoText are allowed.
See Also:   Leaf
See Also:   PseudoText
See Also:   Filename



addLeaf
public void addLeaf(int index, Leaf vLeaf) throws IndexOutOfBoundsException(Code)
Accessor: Inserts a Leaf value into a specific position of the list of gathered values.
Parameters:
  index - is the position to insert the item into
Parameters:
  vLeaf - is the value to append to the list. Note that only leafvalues of Filename or PseudoTextare allowed.
throws:
  IndexOutOfBoundsException - if the value cannot be added.
See Also:   Leaf
See Also:   PseudoText
See Also:   Filename



clone
public Object clone()(Code)
Creates and returns a copy of this object. a new instance.



enumerateLeaf
public Enumeration enumerateLeaf()(Code)
Accessor: Enumerates the internal values that constitute the content of the Profile value. the iterator to the value fragment list.



getKey
public String getKey()(Code)
Accessor: Gets the key identifier for the profile. the currently active key for this instance.
See Also:   Profile.setKey(java.lang.String)



getLeaf
public Leaf getLeaf(int index) throws IndexOutOfBoundsException(Code)
Accessor: Obtains the Leaf at a certain position in the list of profile value fragments.
Parameters:
  index - is the position in the list to obtain a value from The Filename or PseudoText at the position.
throws:
  IndexOutOfBoundsException - if the index points to an elementin the list that does not contain any elments.
See Also:   Filename
See Also:   PseudoText



getLeaf
public Leaf[] getLeaf()(Code)
Accessor: Gets an array of all values that constitute the current value content of a profile. an array with a mixture of either PseudoText orFilename values.
See Also:   Filename
See Also:   PseudoText



getLeafCount
public int getLeafCount()(Code)
Accessor: Obtains the number of profile value fragments. number of elements that an external array needs to be sized to.



getLeafList
public java.util.List getLeafList()(Code)
Accessor: Gets an array of all values that constitute the current content. This list is read-only. an array with a mixture of either PseudoText orFilename values.
See Also:   PseudoText
See Also:   Filename



getNamespace
public String getNamespace()(Code)
Accessor: Gets the namespace value for the profile. the currently active namespace for this instance.
See Also:   Profile.setNamespace(java.lang.String)



getOrigin
public String getOrigin()(Code)
Accessor: Obtains the originator for a profile. an arbitrary string at the moment.
See Also:   Profile.setOrigin(java.lang.String)



iterateLeaf
public Iterator iterateLeaf()(Code)
Accessor: Enumerates the internal values that constitute the content of the Scalar element. an iterator to walk the list with.



listIterateLeaf
public ListIterator listIterateLeaf()(Code)
Accessor: Enumerates the internal values that constitute the content of the Leaf element. a list iterator to walk the list with.



listIterateLeaf
public ListIterator listIterateLeaf(int start)(Code)
Accessor: Enumerates the internal values that constitute the content of the Leaf element.
Parameters:
  start - is the start index a list iterator to walk the list with.



removeAllLeaf
public void removeAllLeaf()(Code)
Accessor: Removes all value fragments from the profile.



removeLeaf
public Leaf removeLeaf(int index)(Code)
Accessor: Remove a single fragment from the list of value fragments.
Parameters:
  index - is the position at which an element is to be removed. the object that was removed. The removed item is either anFilename or a PseudoText.
See Also:   Filename
See Also:   PseudoText



setKey
public void setKey(String key)(Code)
Accessor: Adjusts the identifier within a namespace.
Parameters:
  key - is the new identifier to use from now on.
See Also:   Profile.getKey()



setLeaf
public void setLeaf(int index, Leaf vLeaf) throws IndexOutOfBoundsException(Code)
Accessor: Overwrites a Filename or PseudoText value fragment at a certain position in the profile value fragment list.
Parameters:
  index - position to overwrite an elment in.
Parameters:
  vLeaf - is either a Filename or PseudoText object.
throws:
  IndexOutOfBoundsException - if the position pointed to is invalid.
See Also:   Filename
See Also:   PseudoText



setLeaf
public void setLeaf(Leaf[] leafArray)(Code)
Accessor: Overwrites internal value fragments list with an external list representing a profile value.
Parameters:
  leafArray - is the external list of PseudoText orFilename objects used to overwrite things.
See Also:   PseudoText
See Also:   Filename



setLeaf
public void setLeaf(Collection leaves)(Code)
Accessor: Overwrites internal list with an external list representing a Scalar value.
Parameters:
  leaves - is the external list of PseudoText orFilename objects used to overwrite things.
See Also:   PseudoText
See Also:   Filename



setNamespace
public void setNamespace(String namespace)(Code)
Accessor: Adjusts a namespace value to a new state.
Parameters:
  namespace - is the new namespace to use.
See Also:   Profile.getNamespace()



setOrigin
public void setOrigin(String origin)(Code)
Accessor: Sets the originator for a profile.
Parameters:
  origin - is the new originator to use, may be null.
See Also:   Profile.getOrigin()



toString
public void toString(Writer stream) throws IOException(Code)
Converts the active state into something meant for human consumption. The method will be called when recursively traversing the instance tree.
Parameters:
  stream - is a stream opened and ready for writing. This can alsobe a string stream for efficient output.



toXML
public void toXML(Writer stream, String indent, String namespace) throws IOException(Code)
Dump the state of the current element as XML output. This function traverses all sibling classes as necessary, and converts the data into pretty-printed XML output. The stream interface should be able to handle large output efficiently.
Parameters:
  stream - is a stream opened and ready for writing. This can alsobe a string stream for efficient output.
Parameters:
  indent - is a String of spaces used for prettyprinting. The initial amount of spaces should be an empty string.The parameter is used internally for the recursive traversal.
Parameters:
  namespace - is the XML schema namespace prefix. If neitherempty nor null, each element will be prefixed with this prefix,and the root element will map the XML namespace.
exception:
  IOException - if something fishy happens to the stream.




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