Java Doc for SpeedoField.java in  » Database-ORM » Speedo_1.4.5 » org » objectweb » speedo » 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 » Speedo_1.4.5 » org.objectweb.speedo.metadata 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.objectweb.speedo.metadata.SpeedoElement
      org.objectweb.speedo.metadata.SpeedoCommonField
         org.objectweb.speedo.metadata.SpeedoField

SpeedoField
public class SpeedoField extends SpeedoCommonField (Code)
This class corresponds to the description of persistent fields.
author:
   S.Chassande-Barrioz


Field Summary
final public static  byteMANY_MANY_BI_RELATION
    
final public static  byteMANY_ONE_BI_RELATION
    
final public static  byteMANY_REFERENCE
    
final public static  byteNONE
    
final public static  byteNO_BI_RELATION
    
final public static  byteONE_MANY_BI_RELATION
    
final public static  byteONE_ONE_BI_RELATION
    
final public static  byteONE_REFERENCE
    
final public static  String[]PERSISTENCE_STATUS
    
final public static  bytePERSISTENT
    
final public static  bytePROPAG_ALL
    
final public static  bytePROPAG_MERGE
    
final public static  bytePROPAG_NONE
    
final public static  bytePROPAG_PERSIST
    
final public static  bytePROPAG_REFRESH
    
final public static  bytePROPAG_REMOVE
    
final public static  byteUNKNOWN
    
public  booleandefaultFetchGroup
     This boolean indicates if the field is in the default fetch group.
public  intdepth
     Recursive fetchgroups are controlled by the depth attribute.
public  booleanembedded
     Attribute embedded of the XML file.
public  StringfetchGroup
    
public  booleanisCascadeDelete
     Indicates if the field has to be deleted when its referencer is deleted.
public  booleanisCoherentReverseField
     Indicates if the coherence of bidirectional relationship must be assumed by Speedo.
public  booleanmappedByReversefield
     In case of bi directional relationship the mapping of this field can be defined since the mapping of the reverse field.
public  bytenullValue
     Attribute null-value in the XML file.
public  intnumber
     is the index of the persistent field.
public  bytepersistenceStatus
     Attribute persistence-modifier in the XML file.
public  booleanprimaryKey
     Boolean indicating if the field is a primary key.
public  bytepropagate
     Specify the kind of persistence characteristic should be propagated through this field (PERSIST | MERGE | REMOVE | REFRESH).
public  byterelationType
    
public  StringreverseField
     Is the name of the field which composes with the current field, a bidirectional relation ship.
public  Stringsequence
    
public  Stringtype
    
public  StringvalueStrategy
    
public  intvisibility
    

Constructor Summary
public  SpeedoField()
    

Method Summary
public  voidaddColumn(SpeedoColumn col)
    
public  StringgetClassName()
    
public  SpeedoFieldgetFieldOfTheReferencedClass(String fieldName)
    
public  SpeedoClassgetReferencedClass()
    
public  SpeedoFieldgetReverseField()
    
public  StringgetSourceDesc()
    
public  Stringmodifier()
    
public static  byteparsePersistenceStatus(String s)
    
public static  StringparsePersistenceStatus(byte ps)
    
public  StringprivateSignature()
     Returns the field's signature with a private modifier.
public  StringpublicSignature()
     Returns the field's signature with a public modifier.
public  StringtoString()
     Transforms a SpeedoField into a String.
public  Stringtype()
     Returns the type of the field.

Field Detail
MANY_MANY_BI_RELATION
final public static byte MANY_MANY_BI_RELATION(Code)



MANY_ONE_BI_RELATION
final public static byte MANY_ONE_BI_RELATION(Code)



MANY_REFERENCE
final public static byte MANY_REFERENCE(Code)



NONE
final public static byte NONE(Code)



NO_BI_RELATION
final public static byte NO_BI_RELATION(Code)



ONE_MANY_BI_RELATION
final public static byte ONE_MANY_BI_RELATION(Code)



ONE_ONE_BI_RELATION
final public static byte ONE_ONE_BI_RELATION(Code)



ONE_REFERENCE
final public static byte ONE_REFERENCE(Code)



PERSISTENCE_STATUS
final public static String[] PERSISTENCE_STATUS(Code)



PERSISTENT
final public static byte PERSISTENT(Code)



PROPAG_ALL
final public static byte PROPAG_ALL(Code)



PROPAG_MERGE
final public static byte PROPAG_MERGE(Code)



PROPAG_NONE
final public static byte PROPAG_NONE(Code)



PROPAG_PERSIST
final public static byte PROPAG_PERSIST(Code)



PROPAG_REFRESH
final public static byte PROPAG_REFRESH(Code)



PROPAG_REMOVE
final public static byte PROPAG_REMOVE(Code)



UNKNOWN
final public static byte UNKNOWN(Code)



defaultFetchGroup
public boolean defaultFetchGroup(Code)
This boolean indicates if the field is in the default fetch group. (not managed)



depth
public int depth(Code)
Recursive fetchgroups are controlled by the depth attribute. A depth of 0 (the default) will fetch the whole graph of instances reachable from this field.



embedded
public boolean embedded(Code)
Attribute embedded of the XML file. (not managed)



fetchGroup
public String fetchGroup(Code)



isCascadeDelete
public boolean isCascadeDelete(Code)
Indicates if the field has to be deleted when its referencer is deleted.



isCoherentReverseField
public boolean isCoherentReverseField(Code)
Indicates if the coherence of bidirectional relationship must be assumed by Speedo.



mappedByReversefield
public boolean mappedByReversefield(Code)
In case of bi directional relationship the mapping of this field can be defined since the mapping of the reverse field. In this case the #columns field is null and this field is equals to 'true'.
See Also:   SpeedoField.columns
See Also:   SpeedoField.join



nullValue
public byte nullValue(Code)
Attribute null-value in the XML file.



number
public int number(Code)
is the index of the persistent field. This field is computed through a MI visitor.



persistenceStatus
public byte persistenceStatus(Code)
Attribute persistence-modifier in the XML file.



primaryKey
public boolean primaryKey(Code)
Boolean indicating if the field is a primary key.



propagate
public byte propagate(Code)
Specify the kind of persistence characteristic should be propagated through this field (PERSIST | MERGE | REMOVE | REFRESH).
See Also:   SpeedoField.PROPAG_ALL
See Also:   SpeedoField.PROPAG_PERSIST
See Also:   SpeedoField.PROPAG_MERGE
See Also:   SpeedoField.PROPAG_REMOVE
See Also:   SpeedoField.PROPAG_REFRESH
See Also:   SpeedoField.PROPAG_NONE



relationType
public byte relationType(Code)
Type of the relation containinig the persistent field
See Also:   SpeedoField.NO_BI_RELATION
See Also:   SpeedoField.ONE_ONE_BI_RELATION
See Also:   SpeedoField.ONE_MANY_BI_RELATION
See Also:   SpeedoField.MANY_ONE_BI_RELATION
See Also:   SpeedoField.MANY_MANY_BI_RELATION



reverseField
public String reverseField(Code)
Is the name of the field which composes with the current field, a bidirectional relation ship.



sequence
public String sequence(Code)
Attribute sequence



type
public String type(Code)
Type of the persistent field
See Also:   Type.getDescriptor



valueStrategy
public String valueStrategy(Code)
Attribute value-strategy



visibility
public int visibility(Code)
visibility of the field (public | protected | private | static ...)
See Also:   Constants.ACC_PUBLIC
See Also:   Constants.ACC_PRIVATE
See Also:   Constants.ACC_PROTECTED
See Also:   Constants.ACC_STATIC
See Also:   Constants.ACC_FINAL
See Also:   Constants.ACC_TRANSIENT




Constructor Detail
SpeedoField
public SpeedoField()(Code)




Method Detail
addColumn
public void addColumn(SpeedoColumn col)(Code)



getClassName
public String getClassName()(Code)



getFieldOfTheReferencedClass
public SpeedoField getFieldOfTheReferencedClass(String fieldName) throws SpeedoException(Code)



getReferencedClass
public SpeedoClass getReferencedClass()(Code)



getReverseField
public SpeedoField getReverseField() throws SpeedoException(Code)



getSourceDesc
public String getSourceDesc()(Code)



modifier
public String modifier()(Code)
Returns the field's modifier the String representing the modifier (public,private, protected)



parsePersistenceStatus
public static byte parsePersistenceStatus(String s)(Code)

Parameters:
  s - is a string representation of a persistence status the constant value corresponding to the persistence status.



parsePersistenceStatus
public static String parsePersistenceStatus(byte ps)(Code)



privateSignature
public String privateSignature()(Code)
Returns the field's signature with a private modifier. the String containing the field' signature with a private modifier.



publicSignature
public String publicSignature()(Code)
Returns the field's signature with a public modifier. the String containing the field' signature with a public modifier.



toString
public String toString()(Code)
Transforms a SpeedoField into a String. the String corresponding to the SpeedoField.



type
public String type()(Code)
Returns the type of the field. type of the field.



Fields inherited from org.objectweb.speedo.metadata.SpeedoCommonField
public SpeedoColumn[] columns(Code)(Java Doc)
public SpeedoTuple jdoTuple(Code)(Java Doc)
public SpeedoJoin join(Code)(Java Doc)
public SpeedoClass moClass(Code)(Java Doc)
public String name(Code)(Java Doc)

Methods inherited from org.objectweb.speedo.metadata.SpeedoCommonField
public void addColumn(SpeedoColumn col)(Code)(Java Doc)
public SpeedoColumn getFKColumn(String pkColName)(Code)(Java Doc)
public SpeedoJoinColumn getFKJoinColumn(String pkColName)(Code)(Java Doc)
final public String getFQFieldName()(Code)(Java Doc)
public SpeedoColumn getJoinColumn(SpeedoField joinedField)(Code)(Java Doc)
public String getSourceDesc()(Code)(Java Doc)
public String printColumns()(Code)(Java Doc)

Fields inherited from org.objectweb.speedo.metadata.SpeedoElement
public transient List jdoExtension(Code)(Java Doc)
public Personality personality(Code)(Java Doc)

Methods inherited from org.objectweb.speedo.metadata.SpeedoElement
public void addExtension(SpeedoExtension se)(Code)(Java Doc)
protected static Object[] addInArray(Object value, Object[] array, Class type)(Code)(Java Doc)
public SpeedoExtension getExtension(String vendor, String key)(Code)(Java Doc)
public SpeedoExtension getExtensionByKey(String key)(Code)(Java Doc)
public String getExtensionValueByKey(String key)(Code)(Java Doc)
protected static int indexOfInArray(Object[] array, Object element)(Code)(Java Doc)
protected static Object[] removeInArray(Object value, Object[] array, Class type)(Code)(Java Doc)
protected static Object[] setValueInArray(Object value, Object[] array, int pos, int arraySize)(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.