Java Doc for ChainedLink.java in  » Database-ORM » ODAL » com » completex » objective » components » persistency » 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 » ODAL » com.completex.objective.components.persistency 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.completex.objective.components.persistency.ParentBase
      com.completex.objective.components.persistency.Link
         com.completex.objective.components.persistency.ChainedLink

ChainedLink
public class ChainedLink extends Link (Code)
Represents link by foreign key. Actual database foreign key is not required. Normally it will link parent object to child based on column indeces
author:
   Gennady Krizhevsky



Constructor Summary
public  ChainedLink(Query query, int[] parentIndeces, int thisIndeces, String name)
    
Parameters:
  query - Query object with empty where clause.
protected  ChainedLink(Query query, int[] parentIndeces, int thisIndeces, String name, int compoundIndex)
    
public  ChainedLink(Link source)
    

Method Summary
protected  voidchain(Query query, int[] thisIndeces)
    
protected  voidchain(Query query, int[] thisIndeces, int compoundIndex)
    


Constructor Detail
ChainedLink
public ChainedLink(Query query, int[] parentIndeces, int thisIndeces, String name)(Code)

Parameters:
  query - Query object with empty where clause. After ChainedLink is instantiated you can add extras to where clause.
Parameters:
  parentIndeces - parent indeces which values are mapped to corresponding "this indeces"
Parameters:
  thisIndeces - "this indeces" indeces of this link query's SingularResultFactory
Parameters:
  name - link name - mandatory for PersistentObject trees
throws:
  OdalRuntimePersistencyException - if following condition is not satisfied:query != null && isEmpty(query.getWhere()) && query.getSingularResultFactory() != null



ChainedLink
protected ChainedLink(Query query, int[] parentIndeces, int thisIndeces, String name, int compoundIndex)(Code)



ChainedLink
public ChainedLink(Link source)(Code)




Method Detail
chain
protected void chain(Query query, int[] thisIndeces)(Code)



chain
protected void chain(Query query, int[] thisIndeces, int compoundIndex)(Code)



Fields inherited from com.completex.objective.components.persistency.Link
final public static String INLINE_INNER(Code)(Java Doc)
final public static String INLINE_OUTER(Code)(Java Doc)
final public static InlineMode INNER_JOIN_MODE(Code)(Java Doc)
final public static RelationshipType MANY_TO_MANY(Code)(Java Doc)
final public static RelationshipType MANY_TO_ONE(Code)(Java Doc)
final public static RelationshipType ONE_TO_MANY(Code)(Java Doc)
final public static RelationshipType ONE_TO_ONE(Code)(Java Doc)
final public static InlineMode OUTER_JOIN_MODE(Code)(Java Doc)
final public static String SEP(Code)(Java Doc)
final public static String TAG_QUERY(Code)(Java Doc)
final public static String TAG_QUERY_CLASS(Code)(Java Doc)
protected transient InlineMode inlineMode(Code)(Java Doc)
protected transient int[] parentIndeces(Code)(Java Doc)
final static long serialVersionUID(Code)(Java Doc)
protected transient int[] thisIndeces(Code)(Java Doc)

Methods inherited from com.completex.objective.components.persistency.Link
public void addNotNullToResultCollection(Object value)(Code)(Java Doc)
public void addParentPath(List parentPath)(Code)(Java Doc)
public void addToPath(String name)(Code)(Java Doc)
public void addToResultCollection(Object value)(Code)(Java Doc)
public Object clone() throws CloneNotSupportedException(Code)(Java Doc)
List cloneList(List list)(Code)(Java Doc)
public Link copyAll(Link source)(Code)(Java Doc)
public void copyResults(Link from)(Code)(Java Doc)
public static void copyResults(Link from, Link to, int level)(Code)(Java Doc)
public void copyResultsOneLevel(Link from)(Code)(Java Doc)
public void fromMap(Map map)(Code)(Java Doc)
protected int[] fromMapToIntArray(PropertyMap map, String tag)(Code)(Java Doc)
public int getDependencyIndex()(Code)(Java Doc)
public InlineMode getInlineMode()(Code)(Java Doc)
public LifeCycleController getLifeCycleController()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public int[] getParentIndeces()(Code)(Java Doc)
public List getPath()(Code)(Java Doc)
public String getPathString()(Code)(Java Doc)
public Query getQuery()(Code)(Java Doc)
public Object getResult()(Code)(Java Doc)
public Collection getResultAsCollection()(Code)(Java Doc)
public int[] getThisIndeces()(Code)(Java Doc)
public boolean isAdHoc()(Code)(Java Doc)
public boolean isCascadeDelete()(Code)(Java Doc)
public boolean isCascadeInsert()(Code)(Java Doc)
public boolean isCascadeUpdate()(Code)(Java Doc)
public boolean isEndOfChain()(Code)(Java Doc)
public boolean isInline()(Code)(Java Doc)
public boolean isInner()(Code)(Java Doc)
public boolean isInsertBeforeParent()(Code)(Java Doc)
public boolean isLazyRetrieval()(Code)(Java Doc)
public boolean isOuter()(Code)(Java Doc)
public boolean isRetrieved()(Code)(Java Doc)
public boolean isTreatNullAsRemove()(Code)(Java Doc)
public Link newInstance()(Code)(Java Doc)
protected Link newInstance0(Query query)(Code)(Java Doc)
public static String path2string(List path)(Code)(Java Doc)
public void populateClonedCollection(Collection collection)(Code)(Java Doc)
public void populateClonedMap(Map map)(Code)(Java Doc)
public void setAdHoc(boolean adHoc)(Code)(Java Doc)
public Link setCascadeAll()(Code)(Java Doc)
public void setCascadeDelete(boolean cascadeDelete)(Code)(Java Doc)
public void setCascadeInsert(boolean cascadeInsert)(Code)(Java Doc)
public void setCascadeUpdate(boolean cascadeUpdate)(Code)(Java Doc)
public void setDependencyIndex(int dependencyIndex)(Code)(Java Doc)
public void setEndOfChain(boolean endOfChain)(Code)(Java Doc)
public void setInlineMode(InlineMode inlineMode)(Code)(Java Doc)
public void setInlineMode(String childName, InlineMode inlineMode)(Code)(Java Doc)
public void setInsertBeforeParent(boolean insertBeforeParent)(Code)(Java Doc)
public void setLazyRetrieval(boolean lazyRetrieval)(Code)(Java Doc)
public void setLifeCycleController(LifeCycleController lifeCycleController)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setParentIndeces(int[] parentIndeces)(Code)(Java Doc)
public void setPath(String pathString)(Code)(Java Doc)
void setPath(List path)(Code)(Java Doc)
public void setQuery(Query query)(Code)(Java Doc)
public void setRelationshipToParent(RelationshipType relationshipType)(Code)(Java Doc)
public void setResult(Object result)(Code)(Java Doc)
public void setRetrieved(boolean retrieved)(Code)(Java Doc)
public void setThisIndeces(int[] thisIndeces)(Code)(Java Doc)
public void setTreatNullAsRemove(boolean treatNullAsRemove)(Code)(Java Doc)
public static List string2path(String pathString)(Code)(Java Doc)
public static InlineMode toInlineMode(String modeName)(Code)(Java Doc)
public Link toLink()(Code)(Java Doc)
public Map toMap()(Code)(Java Doc)
protected void toMapArray(Map map, String tag, int[] array)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public String toSummaryString()(Code)(Java Doc)
public Link unsetCascadeAll()(Code)(Java Doc)

Fields inherited from com.completex.objective.components.persistency.ParentBase
final public static String ROOT(Code)(Java Doc)

Methods inherited from com.completex.objective.components.persistency.ParentBase
public void addChild(Link link)(Code)(Java Doc)
protected void addChild(String name, Link link)(Code)(Java Doc)
public static String buffer2string(StringBuffer buffer)(Code)(Java Doc)
public Link child(String name)(Code)(Java Doc)
public void clearNonInlinedChildren()(Code)(Java Doc)
protected LinkedHashMap cloneChildren() throws CloneNotSupportedException(Code)(Java Doc)
protected void fromMap(Map map)(Code)(Java Doc)
public Link getChild(String name)(Code)(Java Doc)
public Object getChildObject(String name)(Code)(Java Doc)
public LinkedHashMap getChildren()(Code)(Java Doc)
public static Link[] getInlineLinks(Parent parent)(Code)(Java Doc)
public static void getInlineLinks0(Parent parent, List inlineLinks)(Code)(Java Doc)
public Link getParentLink()(Code)(Java Doc)
public boolean hasChildren()(Code)(Java Doc)
public Link[] inlineLinks()(Code)(Java Doc)
public LinkIterator linkIterator()(Code)(Java Doc)
public LinkedHashMap newChildren(Link parent)(Code)(Java Doc)
public void setChildObject(String name, Object value)(Code)(Java Doc)
public void setChildren(LinkedHashMap children)(Code)(Java Doc)
public void setParentLink(Link parentLink)(Code)(Java Doc)
public Object toKey()(Code)(Java Doc)
abstract public Link toLink()(Code)(Java Doc)
protected Map toMap()(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.