Java Doc for AnnotRel.java in  » Database-ORM » MMBase » org » mmbase » module » builders » 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 » Database ORM » MMBase » org.mmbase.module.builders 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.mmbase.module.corebuilders.InsRel
   org.mmbase.module.builders.AnnotRel

AnnotRel
public class AnnotRel extends InsRel (Code)

author:
   David van Zeventer
version:
   $Id: AnnotRel.java,v 1.22 2005/10/06 17:46:39 michiel Exp $


Field Summary
final public static  intHOURS
    
final public static  intMILLIS
    
final public static  intMINUTES
    
final public static  intSECONDS
    


Method Summary
public  StringgetGUIIndicator(String field, MMObjectNode node)
     What should a GUI display for this node/field combo.
public  ObjectgetValue(MMObjectNode node, String field)
    
public  booleanprocess(PageInfo sp, Hashtable cmds, Hashtable vars)
     The hook that passes all form related pages to the correct handler.
public  Stringreplace(PageInfo sp, StringTokenizer command)
     Obtains a string value by performing the provided command.
public  voidsetDefaults(MMObjectNode node)
     Sets defaults for a node.
public  booleansetValue(MMObjectNode node, String field)
     Provides additional functionality when setting field values.

Field Detail
HOURS
final public static int HOURS(Code)



MILLIS
final public static int MILLIS(Code)



MINUTES
final public static int MINUTES(Code)



SECONDS
final public static int SECONDS(Code)





Method Detail
getGUIIndicator
public String getGUIIndicator(String field, MMObjectNode node)(Code)
What should a GUI display for this node/field combo. Displays the pos, end, and length fields as time-values, and the annotation type field as a descriptive string.
Parameters:
  node - The node to display
Parameters:
  field - the name field of the field to display the display of the node's field as a String, null if not specified



getValue
public Object getValue(MMObjectNode node, String field)(Code)



process
public boolean process(PageInfo sp, Hashtable cmds, Hashtable vars)(Code)
The hook that passes all form related pages to the correct handler. This method is not supported.
Parameters:
  sp - The PageInfo
Parameters:
  cmds - the commands (PRC-CMD) to process
Parameters:
  vars - variables (PRC-VAR) to use the result value as a String



replace
public String replace(PageInfo sp, StringTokenizer command)(Code)
Obtains a string value by performing the provided command. This method is not supported.
Parameters:
  sp - The PageInfo
Parameters:
  command - the command to execute the result value as a String



setDefaults
public void setDefaults(MMObjectNode node)(Code)
Sets defaults for a node. Initializes all numeric fields to 0, and sets the annotation type to AnnotRel.MILLIS .
Parameters:
  node - The node to set the defaults of.



setValue
public boolean setValue(MMObjectNode node, String field)(Code)
Provides additional functionality when setting field values. This method makes sure that the pos, end, and length values have the correct value.
Parameters:
  node - the node whose fields are changed
Parameters:
  field - the fieldname that is changed true if the call was handled.



Fields inherited from org.mmbase.module.corebuilders.InsRel
final public static String FIELD_DESTINATION(Code)(Java Doc)
final public static String FIELD_DIR(Code)(Java Doc)
final public static String FIELD_DIRECTIONALITY(Code)(Java Doc)
final public static String FIELD_DNUMBER(Code)(Java Doc)
final public static String FIELD_RNUMBER(Code)(Java Doc)
final public static String FIELD_ROLE(Code)(Java Doc)
final public static String FIELD_SNUMBER(Code)(Java Doc)
final public static String FIELD_SOURCE(Code)(Java Doc)
final public static String INSREL_BUILDER(Code)(Java Doc)
public int relnumber(Code)(Java Doc)
public static boolean usesdir(Code)(Java Doc)

Methods inherited from org.mmbase.module.corebuilders.InsRel
public void deleteRelationCache()(Code)(Java Doc)
public void deleteRelationCache(int source)(Code)(Java Doc)
public Vector<MMObjectNode> getAllRelationsVector(int source)(Code)(Java Doc)
public Vector<MMObjectNode> getAllRelationsVector(int source, int role)(Code)(Java Doc)
public String getGUIIndicator(MMObjectNode node)(Code)(Java Doc)
public String getGUIIndicator(String field, MMObjectNode node)(Code)(Java Doc)
public int getGuessedNumber(String name)(Code)(Java Doc)
public Enumeration<MMObjectNode> getRelated(String sourceNode, String nodeType)(Code)(Java Doc)
public Enumeration<MMObjectNode> getRelated(int source, String nodeType)(Code)(Java Doc)
public Enumeration<MMObjectNode> getRelated(int source, int otype)(Code)(Java Doc)
public Enumeration<MMObjectNode> getRelated(String sourceNode, String nodeType, String roleName)(Code)(Java Doc)
public Enumeration<MMObjectNode> getRelated(int source, String nodeType, String roleName)(Code)(Java Doc)
public Enumeration<MMObjectNode> getRelated(int source, int otype, int role)(Code)(Java Doc)
public Vector<MMObjectNode> getRelatedVector(int source, int otype)(Code)(Java Doc)
public Vector<MMObjectNode> getRelatedVector(int source, int otype, int role)(Code)(Java Doc)
public MMObjectNode getRelation(int source, int destination, int role)(Code)(Java Doc)
public MMObjectNode getRelationNode(int source, int destination, int role) throws SearchQueryException(Code)(Java Doc)
public List<MMObjectNode> getRelationNodes(int source) throws SearchQueryException(Code)(Java Doc)
public List<MMObjectNode> getRelationNodes(int source, int role) throws SearchQueryException(Code)(Java Doc)
public List<MMObjectNode> getRelationNodes(int source, boolean useDirectionality) throws SearchQueryException(Code)(Java Doc)
public List<MMObjectNode> getRelationNodes(int source, int role, boolean useDirectionality) throws SearchQueryException(Code)(Java Doc)
public Enumeration<MMObjectNode> getRelations(int source)(Code)(Java Doc)
public Enumeration<MMObjectNode> getRelations(int source, int role)(Code)(Java Doc)
public Enumeration<MMObjectNode> getRelations(int source, int otype, int role)(Code)(Java Doc)
public Enumeration<MMObjectNode> getRelations(int source, int otype, int role, boolean usedirectionality)(Code)(Java Doc)
public Vector<MMObjectNode> getRelationsVector(int source)(Code)(Java Doc)
public Vector<MMObjectNode> getRelationsVector(int source, int role)(Code)(Java Doc)
public boolean hasRelations(int source)(Code)(Java Doc)
public boolean init()(Code)(Java Doc)
public int insert(String owner, int source, int destination, int role)(Code)(Java Doc)
public int insert(String owner, MMObjectNode node)(Code)(Java Doc)
public boolean reldefCorrect(int source, int destination, int role)(Code)(Java Doc)
public void removeNode(MMObjectNode node)(Code)(Java Doc)
public void setDefaults(MMObjectNode node)(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.