Java Doc for JdoExtension.java in  » Testing » PolePosition-0.20 » com » versant » core » metadata » parser » 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 » Testing » PolePosition 0.20 » com.versant.core.metadata.parser 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.versant.core.metadata.parser.JdoElement
      com.versant.core.metadata.parser.JdoExtension

JdoExtension
final public class JdoExtension extends JdoElement implements JdoExtensionKeys(Code)
This is one of our vendor extensions with the key string converted to an int constant for easy processing.


Field Summary
final public static  StringFULLNAME_VALUE
    
final public static  StringHASH_VALUE
    
final public static  StringNAME_VALUE
    
final public static  StringNO_VALUE
     This is the special value used to indicate that constraints, indexes and so on should not be generated.
public  intkey
    
public  JdoExtension[]nested
    
public  JdoElementparent
    
public  Stringvalue
    


Method Summary
public static  voidclearKey(int key, int level, JdoExtension[] exts)
    
public  booleancontains(int key)
    
public  JdoExtensioncreateCopy(JdoElement pe)
    
public  voiddump()
    
public  voiddump(PrintStream out, String indent)
    
public static  JdoExtensionfind(int key, JdoExtension[] a)
     Find an extension from an array of extensions.
public static  JdoExtensionfind(int key, JdoElement[] a)
     Find an extension from an array of extensions.
public static  JdoExtensionfind(int key, String value, JdoExtension[] a)
    
public  voidfindCreate(int key, String value, boolean overwrite)
    
public  booleangetBoolean()
     Get the value of an extension that must be a boolean.
public  intgetEnum(Map map)
     Get the value of an extension that must be one of a set of enumerated String's.
public  intgetInt()
     Get the value of an extension that must be an int.
public  JdoElementgetParent()
    
public  HashMapgetPropertyMap()
     Create a HashMap of properties from our nested property extensions.
public  HashMapgetPropertyMap(HashMap m)
     Add propertiies to the supplied HashMap.
public  StringgetString()
     Get the value of an extension that must be a String.
public  StringgetSubContext()
     Get information for this element to be used in building up a context string.
public  ClassgetType(ClassLoader loader)
     Get the value of an extension that must be the fully qualified name of a class or a primitive type.
public  ClassgetType(ClassLoader loader, Class requiredType)
     Get the value of an extension that must be the fully qualified name of a class assignable from the supplied class.
public  booleanisCommon()
     Is this a common extension? This method must be kept in sync with the constants.
public  booleanisFieldAttribute()
    
public  booleanisJdbc()
     Is this a jdbc extension? This method must be kept in sync with the constants.
public  booleanisNoValue()
    
public static  intparseKey(String key)
     Convert a String key value into an int constant.
public static  JdoExtension[]synchronize(JdoExtension[] from, JdoExtension[] to)
     Update the 'to' extension with the 'from' extensions.
public static  voidsynchronize3(JdoExtension[] from, JdoExtension[] to, Set exclude, boolean errorOnExclude)
    
public static  JdoExtension[]synchronize4(JdoExtension[] from, JdoExtension[] to, Set ignore)
    
public static  StringtoKeyString(int key)
     Convert ant int key value into a String.
public  StringtoString()
    

Field Detail
FULLNAME_VALUE
final public static String FULLNAME_VALUE(Code)



HASH_VALUE
final public static String HASH_VALUE(Code)



NAME_VALUE
final public static String NAME_VALUE(Code)



NO_VALUE
final public static String NO_VALUE(Code)
This is the special value used to indicate that constraints, indexes and so on should not be generated.



key
public int key(Code)



nested
public JdoExtension[] nested(Code)



parent
public JdoElement parent(Code)



value
public String value(Code)





Method Detail
clearKey
public static void clearKey(int key, int level, JdoExtension[] exts)(Code)



contains
public boolean contains(int key)(Code)
Does the any of the nested jdoExtension contain the spec key
Parameters:
  key - The key to search for.



createCopy
public JdoExtension createCopy(JdoElement pe)(Code)



dump
public void dump()(Code)



dump
public void dump(PrintStream out, String indent)(Code)



find
public static JdoExtension find(int key, JdoExtension[] a)(Code)
Find an extension from an array of extensions.



find
public static JdoExtension find(int key, JdoElement[] a)(Code)
Find an extension from an array of extensions.



find
public static JdoExtension find(int key, String value, JdoExtension[] a)(Code)



findCreate
public void findCreate(int key, String value, boolean overwrite)(Code)
Create the extension if it does not exist, else update it if overwrite is true
Parameters:
  key -
Parameters:
  value -
Parameters:
  overwrite -



getBoolean
public boolean getBoolean()(Code)
Get the value of an extension that must be a boolean. A null value is true.
throws:
  javax.jdo.JDOFatalUserException - if the value is invalid



getEnum
public int getEnum(Map map)(Code)
Get the value of an extension that must be one of a set of enumerated String's. Each valid String must have an int entry in map. The corresponding int is returned.
throws:
  javax.jdo.JDOFatalUserException - if the value is not in map



getInt
public int getInt()(Code)
Get the value of an extension that must be an int.
throws:
  javax.jdo.JDOFatalUserException - if the value is invalid



getParent
public JdoElement getParent()(Code)



getPropertyMap
public HashMap getPropertyMap()(Code)
Create a HashMap of properties from our nested property extensions. If there are none an empty map is returned.



getPropertyMap
public HashMap getPropertyMap(HashMap m)(Code)
Add propertiies to the supplied HashMap.



getString
public String getString()(Code)
Get the value of an extension that must be a String.
throws:
  javax.jdo.JDOFatalUserException - if the value is null



getSubContext
public String getSubContext()(Code)
Get information for this element to be used in building up a context string.
See Also:   JdoExtension.getContext



getType
public Class getType(ClassLoader loader)(Code)
Get the value of an extension that must be the fully qualified name of a class or a primitive type. The class is loaded using the supplied classloader.



getType
public Class getType(ClassLoader loader, Class requiredType)(Code)
Get the value of an extension that must be the fully qualified name of a class assignable from the supplied class. The class is loaded using the supplied classloader.



isCommon
public boolean isCommon()(Code)
Is this a common extension? This method must be kept in sync with the constants.
See Also:   JdoExtensionKeys



isFieldAttribute
public boolean isFieldAttribute()(Code)



isJdbc
public boolean isJdbc()(Code)
Is this a jdbc extension? This method must be kept in sync with the constants.
See Also:   JdoExtensionKeys



isNoValue
public boolean isNoValue()(Code)
Is the value of this extension the special NO_VALUE ({no})?



parseKey
public static int parseKey(String key)(Code)
Convert a String key value into an int constant. Key constant or Integer.MIN_VALUE if not valid
See Also:   JdoExtensionKeys



synchronize
public static JdoExtension[] synchronize(JdoExtension[] from, JdoExtension[] to)(Code)
Update the 'to' extension with the 'from' extensions. If there is elements in 'from' that is not in 'to' then add them. If the element is there then update it value and recursively synchronize its nested elements.



synchronize3
public static void synchronize3(JdoExtension[] from, JdoExtension[] to, Set exclude, boolean errorOnExclude)(Code)



synchronize4
public static JdoExtension[] synchronize4(JdoExtension[] from, JdoExtension[] to, Set ignore)(Code)



toKeyString
public static String toKeyString(int key)(Code)
Convert ant int key value into a String.
See Also:   JdoExtensionKeys



toString
public String toString()(Code)



Methods inherited from com.versant.core.metadata.parser.JdoElement
public JdoExtension[] addExtension(JdoExtension[] exts, JdoExtension e)(Code)(Java Doc)
public JdoExtension createChild(int key, String value, JdoElement parent)(Code)(Java Doc)
public String getContext()(Code)(Java Doc)
abstract public JdoElement getParent()(Code)(Java Doc)
abstract public String getSubContext()(Code)(Java Doc)

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.