Java Doc for SuperReferenceDescriptor.java in  » Database-ORM » db-ojb » org » apache » ojb » broker » metadata » 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 » db ojb » org.apache.ojb.broker.metadata 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.ojb.broker.metadata.DescriptorBase
      org.apache.ojb.broker.metadata.AttributeDescriptorBase
         org.apache.ojb.broker.metadata.ObjectReferenceDescriptor
            org.apache.ojb.broker.metadata.SuperReferenceDescriptor

SuperReferenceDescriptor
public class SuperReferenceDescriptor extends ObjectReferenceDescriptor (Code)
This class handle inheritance as 1-1 association based on a anonymous field (no field in persistent object needed).
version:
   $Id: SuperReferenceDescriptor.java,v 1.1.2.6 2005/12/21 22:26:10 tomdz Exp $

Inner Class :final public static class SuperReferenceField extends AnonymousPersistentField

Field Summary
final public static  StringSUPER_FIELD_INTERNAL_NAME
    
final public static  StringSUPER_FIELD_NAME
    

Constructor Summary
public  SuperReferenceDescriptor(ClassDescriptor descriptor)
    

Method Summary
synchronized  PersistentFieldgetDeclaredInheritanceField(Class target, String name)
    
public  SuperReferenceFieldgetInheritanceField()
    
public  booleanisJavaInheritance()
     If this method returns true the inheritance described by this object is a normal JAVA inheritance.
public  booleanisSuperReferenceDescriptor()
    
public  voidsetCascadeDelete(boolean cascade)
    
public  voidsetCascadeRetrieve(boolean b)
    
public  voidsetCascadeStore(boolean cascade)
    
public  voidsetCascadingDelete(int cascade)
    
public  voidsetCascadingDelete(String value)
    
public  voidsetCascadingStore(int cascade)
    
public  voidsetCascadingStore(String value)
    
public  voidsetItemClass(Class c)
    
public  voidsetLazy(boolean lazy)
    
public  voidsetPersistentField(Class c, String fieldname)
     Noop, a specific org.apache.ojb.broker.metadata.fieldaccess.PersistentField is used internal - org.apache.ojb.broker.metadata.SuperReferenceDescriptor.SuperReferenceField .
public  voidsetPersistentField(PersistentField pf)
     Noop, a specific org.apache.ojb.broker.metadata.fieldaccess.PersistentField is used internal - org.apache.ojb.broker.metadata.SuperReferenceDescriptor.SuperReferenceField .

Field Detail
SUPER_FIELD_INTERNAL_NAME
final public static String SUPER_FIELD_INTERNAL_NAME(Code)



SUPER_FIELD_NAME
final public static String SUPER_FIELD_NAME(Code)




Constructor Detail
SuperReferenceDescriptor
public SuperReferenceDescriptor(ClassDescriptor descriptor)(Code)




Method Detail
getDeclaredInheritanceField
synchronized PersistentField getDeclaredInheritanceField(Class target, String name)(Code)



getInheritanceField
public SuperReferenceField getInheritanceField()(Code)



isJavaInheritance
public boolean isJavaInheritance()(Code)
If this method returns true the inheritance described by this object is a normal JAVA inheritance. If false the inheritance is only declared in the O/R mapping it's a declarative inheritance, the referenced "super class" in not a JAVA super class of the main class.



isSuperReferenceDescriptor
public boolean isSuperReferenceDescriptor()(Code)



setCascadeDelete
public void setCascadeDelete(boolean cascade)(Code)



setCascadeRetrieve
public void setCascadeRetrieve(boolean b)(Code)



setCascadeStore
public void setCascadeStore(boolean cascade)(Code)



setCascadingDelete
public void setCascadingDelete(int cascade)(Code)



setCascadingDelete
public void setCascadingDelete(String value)(Code)



setCascadingStore
public void setCascadingStore(int cascade)(Code)



setCascadingStore
public void setCascadingStore(String value)(Code)



setItemClass
public void setItemClass(Class c)(Code)



setLazy
public void setLazy(boolean lazy)(Code)



setPersistentField
public void setPersistentField(Class c, String fieldname)(Code)
Noop, a specific org.apache.ojb.broker.metadata.fieldaccess.PersistentField is used internal - org.apache.ojb.broker.metadata.SuperReferenceDescriptor.SuperReferenceField .



setPersistentField
public void setPersistentField(PersistentField pf)(Code)
Noop, a specific org.apache.ojb.broker.metadata.fieldaccess.PersistentField is used internal - org.apache.ojb.broker.metadata.SuperReferenceDescriptor.SuperReferenceField .



Fields inherited from org.apache.ojb.broker.metadata.ObjectReferenceDescriptor
final public static int CASCADE_LINK(Code)(Java Doc)
final public static int CASCADE_NONE(Code)(Java Doc)
final public static int CASCADE_OBJECT(Code)(Java Doc)

Methods inherited from org.apache.ojb.broker.metadata.ObjectReferenceDescriptor
public void addForeignKeyField(int newId)(Code)(Java Doc)
public void addForeignKeyField(String newField)(Code)(Java Doc)
public String getCascadeAsString(int cascade)(Code)(Java Doc)
public boolean getCascadeDelete()(Code)(Java Doc)
protected int getCascadeDeleteValue(String cascade)(Code)(Java Doc)
public boolean getCascadeRetrieve()(Code)(Java Doc)
public boolean getCascadeStore()(Code)(Java Doc)
protected int getCascadeStoreValue(String cascade)(Code)(Java Doc)
public int getCascadingDelete()(Code)(Java Doc)
public int getCascadingStore()(Code)(Java Doc)
public FieldDescriptor[] getForeignKeyFieldDescriptors(ClassDescriptor cld)(Code)(Java Doc)
public Vector getForeignKeyFields()(Code)(Java Doc)
public Object[] getForeignKeyValues(Object obj, ClassDescriptor mif) throws PersistenceBrokerException(Code)(Java Doc)
public Class getItemClass()(Code)(Java Doc)
public String getItemClassName()(Code)(Java Doc)
public Class getItemProxyClass() throws PersistenceBrokerException(Code)(Java Doc)
public boolean getOtmDependent()(Code)(Java Doc)
public int getProxyPrefetchingLimit()(Code)(Java Doc)
public boolean hasConstraint()(Code)(Java Doc)
public boolean isLazy()(Code)(Java Doc)
public boolean isRefresh()(Code)(Java Doc)
public boolean isSuperReferenceDescriptor()(Code)(Java Doc)
public void setCascadeDelete(boolean cascade)(Code)(Java Doc)
public void setCascadeRetrieve(boolean b)(Code)(Java Doc)
public void setCascadeStore(boolean cascade)(Code)(Java Doc)
public void setCascadingDelete(int cascade)(Code)(Java Doc)
public void setCascadingDelete(String value)(Code)(Java Doc)
public void setCascadingStore(int cascade)(Code)(Java Doc)
public void setCascadingStore(String value)(Code)(Java Doc)
public void setConstraint(boolean constraint)(Code)(Java Doc)
public void setForeignKeyFields(Vector vec)(Code)(Java Doc)
public void setItemClass(Class c)(Code)(Java Doc)
public void setLazy(boolean lazy)(Code)(Java Doc)
public void setOtmDependent(boolean b)(Code)(Java Doc)
public void setProxyPrefetchingLimit(int proxyPrefetchingLimit)(Code)(Java Doc)
public void setRefresh(boolean refresh)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public String toXML()(Code)(Java Doc)

Fields inherited from org.apache.ojb.broker.metadata.AttributeDescriptorBase
protected ClassDescriptor m_ClassDescriptor(Code)(Java Doc)
protected PersistentField m_PersistentField(Code)(Java Doc)

Methods inherited from org.apache.ojb.broker.metadata.AttributeDescriptorBase
public String getAttributeName()(Code)(Java Doc)
public ClassDescriptor getClassDescriptor()(Code)(Java Doc)
public PersistentField getPersistentField()(Code)(Java Doc)
public void setClassDescriptor(ClassDescriptor classDescriptor)(Code)(Java Doc)
public void setPersistentField(Class c, String fieldname)(Code)(Java Doc)
public void setPersistentField(PersistentField pf)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Fields inherited from org.apache.ojb.broker.metadata.DescriptorBase
final static long serialVersionUID(Code)(Java Doc)

Methods inherited from org.apache.ojb.broker.metadata.DescriptorBase
public void addAttribute(String attributeName, String attributeValue)(Code)(Java Doc)
public String getAttribute(String attributeName, String defaultValue)(Code)(Java Doc)
public String getAttribute(String attributeName)(Code)(Java Doc)
public String[] getAttributeNames()(Code)(Java Doc)
public Map getAttributes()(Code)(Java Doc)
public String toString()(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.