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


org.griphyn.vdl.dbschema.Annotation

All known Subclasses:   org.griphyn.vdl.dbschema.AnnotationSchema,
Annotation
public interface Annotation extends Catalog(Code)
This common schema interface defines the schemas in which the abstraction layers access the metadata associated with VDC elements. This layer is independent of the implementing database, and does so by going via the database driver class API.
author:
   Jens-S. Vöckler
author:
   Yong Zhao
version:
   $Revision: 50 $
See Also:   org.griphyn.vdl.dbschema.DatabaseSchema
See Also:   
See Also:   org.griphyn.vdl.dbdriver
See Also:   


Field Summary
final public static  intCLASS_CALL
     Annotations for call statements.
final public static  intCLASS_DECLARE
     Annotations for formal arguments.
final public static  intCLASS_DERIVATION
     Annotations for derivations.
final public static  intCLASS_FILENAME
     Annotations for logical filenames.
final public static  intCLASS_TRANSFORMATION
     Annotations for transformations.


Method Summary
public  booleandeleteAnnotation(String primary, Object secondary, int kind, String key)
     Deletes an annotation with the specified key.
Parameters:
  primary - is the primary object specifier for the class.
public  booleandeleteAnnotationCall(String fqdi, int index, String key)
     Deletes a specific key for a call statement.
public  booleandeleteAnnotationDeclare(String fqdi, String farg, String key)
     Deletes a specific key in an annotated formal argument.
public  booleandeleteAnnotationDerivation(String fqdi, String key)
     Deletes a specific key in an annotated derivation.
public  booleandeleteAnnotationFilename(String filename, String key)
     Deletes a specific key in an annotated filename.
public  booleandeleteAnnotationTransformation(String fqdi, String key)
     Deletes a specific key in an annotated transformation.
public  TupleloadAnnotation(String primary, Object secondary, int kind, String key)
     Retrieves a specific annotation from an annotatable classes with the specified tuple.
public  java.util.ListloadAnnotation(String primary, Object secondary, int kind)
     Retrieves all annotations from an annotatable classes with the specified tuple.
public  TupleloadAnnotationCall(String fqdi, int index, String key)
     Obtains the value to a specific key for a call statement.
public  java.util.ListloadAnnotationCall(String fqdi, int index)
     Lists all annotations for a call statement.
Parameters:
  fqdi - is the FQDI of the transformation
Parameters:
  index - is the number of the call to annotate.
public  TupleloadAnnotationDeclare(String fqdi, String farg, String key)
     Obtains the value to a specific key in an annotated formal argument.
public  java.util.ListloadAnnotationDeclare(String fqdi, String farg)
     Lists all annotations for a formal argument.
public  TupleloadAnnotationDerivation(String fqdi, String key)
     Obtains the value to a specific key in an annotated derivation.
public  java.util.ListloadAnnotationDerivation(String fqdi)
     Lists all annotations for a derivation.
public  TupleloadAnnotationFilename(String filename, String key)
     Obtains the value to a specific key in an annotated filename.
public  java.util.ListloadAnnotationFilename(String filename)
     Lists all annotations for a logical filename.
Parameters:
  filename - is the logical filename.
public  TupleloadAnnotationTransformation(String fqdi, String key)
     Obtains the value to a specific key in an annotated transformation.
public  java.util.ListloadAnnotationTransformation(String fqdi)
     Lists all annotations for a transformation.
public  longsaveAnnotation(String primary, Object secondary, int kind, Tuple annotation, boolean overwrite)
     Annotates any of the annotatable classes with the specified tuple. This is an interface method to the various class-specific methods.
Parameters:
  primary - is the primary object specifier for the class.
public  longsaveAnnotationCall(String fqdi, int index, Tuple annotation, boolean overwrite)
     Annotates a transformation call with a tuple.
Parameters:
  fqdi - is the FQDI to annotate
Parameters:
  index - is the number of the call to annotate.
Parameters:
  annotation - is the value to place
Parameters:
  overwrite - is a predicate on replace or maintain.
public  longsaveAnnotationDeclare(String fqdi, String formalname, Tuple annotation, boolean overwrite)
     Annotates a transformation argument with a tuple.
Parameters:
  fqdi - is the FQDI to annotate
Parameters:
  formalname - is the name of the formal argument to annotoate.
Parameters:
  annotation - is the value to place
Parameters:
  overwrite - is a predicate on replace or maintain.
public  longsaveAnnotationDerivation(String fqdi, Tuple annotation, boolean overwrite)
     Annotates a derivation with a tuple.
Parameters:
  fqdi - is the FQDI to annotate
Parameters:
  annotation - is the value to place
Parameters:
  overwrite - is a predicate on replace or maintain.
public  longsaveAnnotationFilename(String filename, Tuple annotation, boolean overwrite)
     Annotates a logical filename with a tuple.
Parameters:
  filename - is the FQDI to annotate
Parameters:
  annotation - is the value to place
Parameters:
  overwrite - is a predicate on replace or maintain.
public  longsaveAnnotationTransformation(String fqdi, Tuple annotation, boolean overwrite)
     Annotates a transformation with a tuple.
Parameters:
  fqdi - is the FQDI to annotate
Parameters:
  annotation - is the value to place
Parameters:
  overwrite - is a predicate on replace or maintain.
abstract public  java.util.ListsearchAnnotation(int kind, Object arg, QueryTree tree)
     Search for LFNs or Definitions that has certain annotations
Parameters:
  kind - defines the kind/class of object annotated.
Parameters:
  arg - is used only for TR ARG and TR CALL.

Field Detail
CLASS_CALL
final public static int CLASS_CALL(Code)
Annotations for call statements.



CLASS_DECLARE
final public static int CLASS_DECLARE(Code)
Annotations for formal arguments.



CLASS_DERIVATION
final public static int CLASS_DERIVATION(Code)
Annotations for derivations.



CLASS_FILENAME
final public static int CLASS_FILENAME(Code)
Annotations for logical filenames.



CLASS_TRANSFORMATION
final public static int CLASS_TRANSFORMATION(Code)
Annotations for transformations.





Method Detail
deleteAnnotation
public boolean deleteAnnotation(String primary, Object secondary, int kind, String key) throws SQLException, IllegalArgumentException(Code)
Deletes an annotation with the specified key.
Parameters:
  primary - is the primary object specifier for the class. According to the type, this is either the FQDI, or the filename.
Parameters:
  secondary - is a helper argument for annotations to callsand formal arguments, and should be null for all other classes.For calls, the argument must be packed into java.lang.Integer.
Parameters:
  kind - defines the kind/class of object to annotate.
Parameters:
  key - is the annotation key. true, if the database was modified, false otherwise.
exception:
  SQLException - , if something went wrong during databaseaccess.



deleteAnnotationCall
public boolean deleteAnnotationCall(String fqdi, int index, String key) throws SQLException, IllegalArgumentException(Code)
Deletes a specific key for a call statement.
Parameters:
  fqdi - is the FQDI of the transformation
Parameters:
  index - is the number of the call to annotate.
Parameters:
  key - is the key to search for true, if the database was modified, false otherwise.
See Also:   org.griphyn.vdl.classes.Call



deleteAnnotationDeclare
public boolean deleteAnnotationDeclare(String fqdi, String farg, String key) throws SQLException, IllegalArgumentException(Code)
Deletes a specific key in an annotated formal argument.
Parameters:
  fqdi - is the FQDI of the transformation
Parameters:
  farg - is the name of the formal argument
Parameters:
  key - is the key to search for true, if the database was modified, false otherwise.
See Also:   org.griphyn.vdl.classes.Declare



deleteAnnotationDerivation
public boolean deleteAnnotationDerivation(String fqdi, String key) throws SQLException, IllegalArgumentException(Code)
Deletes a specific key in an annotated derivation.
Parameters:
  fqdi - is the FQDI of the derivation
Parameters:
  key - is the key to search for true, if the database was modified, false otherwise.
See Also:   org.griphyn.vdl.classes.Derivation



deleteAnnotationFilename
public boolean deleteAnnotationFilename(String filename, String key) throws SQLException, IllegalArgumentException(Code)
Deletes a specific key in an annotated filename.
Parameters:
  filename - is the name of the file that was annotated.
Parameters:
  key - is the key to search for true, if the database was modified, false otherwise.
See Also:   org.griphyn.vdl.classes.LFN



deleteAnnotationTransformation
public boolean deleteAnnotationTransformation(String fqdi, String key) throws SQLException, IllegalArgumentException(Code)
Deletes a specific key in an annotated transformation.
Parameters:
  fqdi - is the FQDI of the transformation
Parameters:
  key - is the key to search for true, if the database was modified, false otherwise.
See Also:   org.griphyn.vdl.classes.Transformation



loadAnnotation
public Tuple loadAnnotation(String primary, Object secondary, int kind, String key) throws SQLException, IllegalArgumentException(Code)
Retrieves a specific annotation from an annotatable classes with the specified tuple. This is an interface method to the various class-specific methods.
Parameters:
  primary - is the primary object specifier for the class. According to the type, this is either the FQDI, or the filename.
Parameters:
  secondary - is a helper argument for annotations to callsand formal arguments, and should be null for all other classes.For calls, the argument must be packed into java.lang.Integer.
Parameters:
  kind - defines the kind/class of object to annotate.
Parameters:
  key - is the key to look for. null if not found, otherwise the annotation tuple.
See Also:   Annotation.loadAnnotationTransformation(String,String)
See Also:   Annotation.loadAnnotationDerivation(String,String)
See Also:   Annotation.loadAnnotationCall(String,int,String)
See Also:   Annotation.loadAnnotationDeclare(String,String,String)
See Also:   Annotation.loadAnnotationFilename(String,String)



loadAnnotation
public java.util.List loadAnnotation(String primary, Object secondary, int kind) throws SQLException, IllegalArgumentException(Code)
Retrieves all annotations from an annotatable classes with the specified tuple. This is an interface method to the various class-specific methods.
Parameters:
  primary - is the primary object specifier for the class. According to the type, this is either the FQDI, or the filename.
Parameters:
  secondary - is a helper argument for annotations to callsand formal arguments, and should be null for all other classes.For calls, the argument must be packed into java.lang.Integer.
Parameters:
  kind - defines the kind/class of object to annotate. null if not found, otherwise the annotation tuple.
See Also:   Annotation.loadAnnotationTransformation(String)
See Also:   Annotation.loadAnnotationDerivation(String)
See Also:   Annotation.loadAnnotationCall(String,int)
See Also:   Annotation.loadAnnotationDeclare(String,String)
See Also:   Annotation.loadAnnotationFilename(String)



loadAnnotationCall
public Tuple loadAnnotationCall(String fqdi, int index, String key) throws SQLException, IllegalArgumentException(Code)
Obtains the value to a specific key for a call statement.
Parameters:
  fqdi - is the FQDI of the transformation
Parameters:
  index - is the number of the call to annotate.
Parameters:
  key - is the key to search for the annotated value, or null if not found
See Also:   org.griphyn.vdl.classes.Call



loadAnnotationCall
public java.util.List loadAnnotationCall(String fqdi, int index) throws SQLException, IllegalArgumentException(Code)
Lists all annotations for a call statement.
Parameters:
  fqdi - is the FQDI of the transformation
Parameters:
  index - is the number of the call to annotate. a list of tuples, which may be empty.
See Also:   org.griphyn.vdl.classes.Call



loadAnnotationDeclare
public Tuple loadAnnotationDeclare(String fqdi, String farg, String key) throws SQLException, IllegalArgumentException(Code)
Obtains the value to a specific key in an annotated formal argument.
Parameters:
  fqdi - is the FQDI of the transformation
Parameters:
  farg - is the name of the formal argument
Parameters:
  key - is the key to search for the annotated value, or null if not found
See Also:   org.griphyn.vdl.classes.Declare



loadAnnotationDeclare
public java.util.List loadAnnotationDeclare(String fqdi, String farg) throws SQLException, IllegalArgumentException(Code)
Lists all annotations for a formal argument.
Parameters:
  fqdi - is the FQDI of the transformation
Parameters:
  farg - is the name of the formal argument a list of tuples, which may be empty.
See Also:   org.griphyn.vdl.classes.Declare



loadAnnotationDerivation
public Tuple loadAnnotationDerivation(String fqdi, String key) throws SQLException, IllegalArgumentException(Code)
Obtains the value to a specific key in an annotated derivation.
Parameters:
  fqdi - is the FQDI of the derivation
Parameters:
  key - is the key to search for the annotated value, or null if not found.
See Also:   org.griphyn.vdl.classes.Derivation



loadAnnotationDerivation
public java.util.List loadAnnotationDerivation(String fqdi) throws SQLException, IllegalArgumentException(Code)
Lists all annotations for a derivation.
Parameters:
  fqdi - is the FQDI of the derivation a list of tuples, which may be empty.
See Also:   org.griphyn.vdl.classes.Derivation



loadAnnotationFilename
public Tuple loadAnnotationFilename(String filename, String key) throws SQLException, IllegalArgumentException(Code)
Obtains the value to a specific key in an annotated filename.
Parameters:
  filename - is the name of the file that was annotated.
Parameters:
  key - is the key to search for the annotated value, or null if not found.
See Also:   org.griphyn.vdl.classes.LFN



loadAnnotationFilename
public java.util.List loadAnnotationFilename(String filename) throws SQLException, IllegalArgumentException(Code)
Lists all annotations for a logical filename.
Parameters:
  filename - is the logical filename. a list of tuples, which may be empty.
See Also:   org.griphyn.vdl.classes.LFN



loadAnnotationTransformation
public Tuple loadAnnotationTransformation(String fqdi, String key) throws SQLException, IllegalArgumentException(Code)
Obtains the value to a specific key in an annotated transformation.
Parameters:
  fqdi - is the FQDI of the transformation
Parameters:
  key - is the key to search for the annotated value, or null if not found.
See Also:   org.griphyn.vdl.classes.Transformation



loadAnnotationTransformation
public java.util.List loadAnnotationTransformation(String fqdi) throws SQLException, IllegalArgumentException(Code)
Lists all annotations for a transformation.
Parameters:
  fqdi - is the FQDI of the transformation a list of tuples, which may be empty.
See Also:   org.griphyn.vdl.classes.Transformation



saveAnnotation
public long saveAnnotation(String primary, Object secondary, int kind, Tuple annotation, boolean overwrite) throws SQLException, IllegalArgumentException(Code)
Annotates any of the annotatable classes with the specified tuple. This is an interface method to the various class-specific methods.
Parameters:
  primary - is the primary object specifier for the class. According to the type, this is either the FQDI, or the filename.
Parameters:
  secondary - is a helper argument for annotations to callsand formal arguments, and should be null for all other classes.For calls, the argument must be packed into java.lang.Integer.
Parameters:
  kind - defines the kind/class of object to annotate.
Parameters:
  annotation - is the value to place into the class.
Parameters:
  overwrite - is a predicate on replace or maintain. the insertion id, or -1, if the database was untouched
See Also:   Annotation.saveAnnotationTransformation(String,Tuple,boolean)
See Also:   Annotation.saveAnnotationDerivation(String,Tuple,boolean)
See Also:   Annotation.saveAnnotationCall(String,int,Tuple,boolean)
See Also:   Annotation.saveAnnotationDeclare(String,String,Tuple,boolean)
See Also:   Annotation.saveAnnotationFilename(String,Tuple,boolean)



saveAnnotationCall
public long saveAnnotationCall(String fqdi, int index, Tuple annotation, boolean overwrite) throws SQLException, IllegalArgumentException(Code)
Annotates a transformation call with a tuple.
Parameters:
  fqdi - is the FQDI to annotate
Parameters:
  index - is the number of the call to annotate.
Parameters:
  annotation - is the value to place
Parameters:
  overwrite - is a predicate on replace or maintain. the insertion id, or -1, if the database was untouched
See Also:   org.griphyn.vdl.classes.Call



saveAnnotationDeclare
public long saveAnnotationDeclare(String fqdi, String formalname, Tuple annotation, boolean overwrite) throws SQLException, IllegalArgumentException(Code)
Annotates a transformation argument with a tuple.
Parameters:
  fqdi - is the FQDI to annotate
Parameters:
  formalname - is the name of the formal argument to annotoate.
Parameters:
  annotation - is the value to place
Parameters:
  overwrite - is a predicate on replace or maintain. the insertion id, or -1, if the database was untouched
See Also:   org.griphyn.vdl.classes.Declare



saveAnnotationDerivation
public long saveAnnotationDerivation(String fqdi, Tuple annotation, boolean overwrite) throws SQLException, IllegalArgumentException(Code)
Annotates a derivation with a tuple.
Parameters:
  fqdi - is the FQDI to annotate
Parameters:
  annotation - is the value to place
Parameters:
  overwrite - is a predicate on replace or maintain. the insertion id, or -1, if the database was untouched
See Also:   org.griphyn.vdl.classes.Derivation



saveAnnotationFilename
public long saveAnnotationFilename(String filename, Tuple annotation, boolean overwrite) throws SQLException, IllegalArgumentException(Code)
Annotates a logical filename with a tuple.
Parameters:
  filename - is the FQDI to annotate
Parameters:
  annotation - is the value to place
Parameters:
  overwrite - is a predicate on replace or maintain. the insertion id, or -1, if the database was untouched
See Also:   org.griphyn.vdl.classes.LFN



saveAnnotationTransformation
public long saveAnnotationTransformation(String fqdi, Tuple annotation, boolean overwrite) throws SQLException, IllegalArgumentException(Code)
Annotates a transformation with a tuple.
Parameters:
  fqdi - is the FQDI to annotate
Parameters:
  annotation - is the value to place
Parameters:
  overwrite - is a predicate on replace or maintain. the insertion id, or -1, if the database was untouched
See Also:   org.griphyn.vdl.classes.Transformation



searchAnnotation
abstract public java.util.List searchAnnotation(int kind, Object arg, QueryTree tree) throws java.sql.SQLException(Code)
Search for LFNs or Definitions that has certain annotations
Parameters:
  kind - defines the kind/class of object annotated.
Parameters:
  arg - is used only for TR ARG and TR CALL. For the formerit is the name of the argument (String), for the latter the position of the call (Integer).
Parameters:
  tree - stores the query tree to query the annotation a list of LFNs if search for filenames, otherwise a list ofdefinitions.
exception:
  SQLException - if something goes wrong with the database.
See Also:   org.griphyn.vdl.annotation.QueryTree



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