Java Doc for CompoundPersistentObject.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
.AbstractPersistentObject
com.completex.objective.components.persistency
.CompoundPersistentObject
CompoundPersistentObject
public
class CompoundPersistentObject extends
AbstractPersistentObject
implements
Compound
(Code)
Allows for creation of Compound persistent objects "on fly". Can be used as return type as well as in "queries by example".
See Also:
AdHocPersistentObject
author:
Gennady Krizhevsky
Constructor Summary
protected
CompoundPersistentObject
()
public
CompoundPersistentObject
(
PersistentObject
[] persistentObjects)
Method Summary
public
void
addChild
(
Link
link)
public
void
assemble
()
public
Link
child
(
String
name)
public
Object
clone
()
public
boolean
compound
()
public
boolean
emptyEntry
(int index)
protected
void
flatten0
()
public
PersistentObject
get
(int i)
public
Object
getChildObject
(
String
name)
public
PersistentObject
[]
getPersistentObjects
()
public
boolean
hasChildren
()
public
Link
[]
inlineLinks
()
public
LinkIterator
linkIterator
()
public
AbstractPersistentObject
newPersistentInstance
()
public
void
readExternal
(
ObjectInput
in)
protected
void
selfReference
()
public
boolean
selfReferencing
()
public
void
setChildObject
(
String
name,
Object
value)
protected
void
setPersistentObjects
(
PersistentObject
[] persistentObjects)
public
Link
toLink
()
public
Parameters
toParameters
(int[] parentIndeces)
public
String
toString
()
protected
void
unflatten0
()
public
void
writeExternal
(
ObjectOutput
out)
Constructor Detail
CompoundPersistentObject
protected
CompoundPersistentObject()
(Code)
CompoundPersistentObject
public
CompoundPersistentObject(
PersistentObject
[] persistentObjects)
(Code)
Method Detail
addChild
public
void addChild(
Link
link)
(Code)
assemble
public
void assemble()
(Code)
child
public
Link
child(
String
name)
(Code)
clone
public
Object
clone()
(Code)
Returns copy of this object copy of this object
compound
public
boolean compound()
(Code)
emptyEntry
public
boolean emptyEntry(int index)
(Code)
flatten0
protected
void flatten0()
(Code)
get
public
PersistentObject
get(int i)
(Code)
PersistentObject
getChildObject
public
Object
getChildObject(
String
name)
(Code)
getPersistentObjects
public
PersistentObject
[] getPersistentObjects()
(Code)
PersistentObject[]
hasChildren
public
boolean hasChildren()
(Code)
inlineLinks
public
Link
[] inlineLinks()
(Code)
linkIterator
public
LinkIterator
linkIterator()
(Code)
newPersistentInstance
public
AbstractPersistentObject
newPersistentInstance()
(Code)
readExternal
public
void readExternal(
ObjectInput
in) throws
IOException
,
ClassNotFoundException
(Code)
Implementation of Externalizable interface
See Also:
java.io.Externalizable
Parameters:
in - ObjectInput
throws:
IOException
-
throws:
ClassNotFoundException
-
selfReference
protected
void selfReference()
(Code)
Empty
selfReferencing
public
boolean selfReferencing()
(Code)
Returns false false
setChildObject
public
void setChildObject(
String
name,
Object
value)
(Code)
setPersistentObjects
protected
void setPersistentObjects(
PersistentObject
[] persistentObjects)
(Code)
toLink
public
Link
toLink()
(Code)
toParameters
public
Parameters
toParameters(int[] parentIndeces)
(Code)
toString
public
String
toString()
(Code)
unflatten0
protected
void unflatten0()
(Code)
writeExternal
public
void writeExternal(
ObjectOutput
out) throws
IOException
(Code)
Implementation of Externalizable interface
See Also:
java.io.Externalizable
Parameters:
out - ObjectOutput
throws:
IOException
-
Fields inherited from
com.completex.objective.components.persistency.AbstractPersistentObject
final
public
static
String
KEY_SEP
(Code)
(Java Doc)
protected
transient
DelegatePersistentObjectFactory
delegateFactory
(Code)
(Java Doc)
protected
transient
PersistentObject
[] persistentObjects
(Code)
(Java Doc)
final static long serialVersionUID
(Code)
(Java Doc)
Methods inherited from
com.completex.objective.components.persistency.AbstractPersistentObject
public
static boolean Boolean2boolean(
Boolean
value)
(Code)
(Java Doc)
public
static double Number2double(
Number
number)
(Code)
(Java Doc)
public
static long Number2long(
Number
number)
(Code)
(Java Doc)
protected
Join
addJoin()
(Code)
(Java Doc)
abstract
public
void assemble()
(Code)
(Java Doc)
public
static
Boolean
boolean2Boolean(boolean value)
(Code)
(Java Doc)
public
Object
clone()
(Code)
(Java Doc)
public
boolean compound()
(Code)
(Java Doc)
protected
void compound(int size)
(Code)
(Java Doc)
protected
void compoundAttrSetup()
(Code)
(Java Doc)
public
void compoundCascadeAll(int index)
(Code)
(Java Doc)
public
boolean compoundCascadeDelete(int index)
(Code)
(Java Doc)
public
void compoundCascadeDelete(int index, boolean compoundCascadeDelete)
(Code)
(Java Doc)
public
boolean compoundCascadeDelete()
(Code)
(Java Doc)
protected
void compoundCascadeDelete(boolean compoundCascadeDelete)
(Code)
(Java Doc)
public
boolean compoundCascadeInsert(int index)
(Code)
(Java Doc)
public
void compoundCascadeInsert(int index, boolean compoundCascadeInsert)
(Code)
(Java Doc)
public
boolean compoundCascadeInsert()
(Code)
(Java Doc)
protected
void compoundCascadeInsert(boolean compoundCascadeInsert)
(Code)
(Java Doc)
public
PersistentObject
[] compoundEntries()
(Code)
(Java Doc)
public
void compoundEntry(int index,
PersistentObject
persistentObject)
(Code)
(Java Doc)
public
PersistentObject
compoundEntry(int index)
(Code)
(Java Doc)
public
int compoundSize()
(Code)
(Java Doc)
public
void compoundUncascadeAll(int index)
(Code)
(Java Doc)
public
DelegatePersistentObjectFactory
delegateFactory()
(Code)
(Java Doc)
public
boolean dirty()
(Code)
(Java Doc)
protected
void doSetupCompound()
(Code)
(Java Doc)
public
static
Double
double2Number(double value)
(Code)
(Java Doc)
public
boolean equals(
Object
obj)
(Code)
(Java Doc)
public
boolean equalsBasic(
Object
value)
(Code)
(Java Doc)
public
boolean equalsCompound(
Object
value)
(Code)
(Java Doc)
final
public
AbstractPersistentObject
flatten()
(Code)
(Java Doc)
abstract
protected
void flatten0()
(Code)
(Java Doc)
public
boolean fromCache()
(Code)
(Java Doc)
public
int hashCodeBasic()
(Code)
(Java Doc)
public
Compound.ImplicitJoinMode
implicitJoinMode()
(Code)
(Java Doc)
public
void implicitJoinMode(
Compound.ImplicitJoinMode
implicitJoinMode)
(Code)
(Java Doc)
public
static boolean isEmptyEntry(
PersistentObject
entry)
(Code)
(Java Doc)
public
Join
join()
(Code)
(Java Doc)
public
Join
join(
Compound.ImplicitJoinMode
implicitJoinMode)
(Code)
(Java Doc)
public
Join
joinImplicitely(
Compound.ImplicitJoinMode
implicitJoinMode)
(Code)
(Java Doc)
public
Join
joinImplicitely(
Join.Type
[] joinTypes)
(Code)
(Java Doc)
public
Join
joinMinusOne()
(Code)
(Java Doc)
public
static
Long
long2Number(long value)
(Code)
(Java Doc)
public
static void main(
String
[] args)
(Code)
(Java Doc)
public
String
mappingType()
(Code)
(Java Doc)
public
void mappingType(
String
mappingType)
(Code)
(Java Doc)
public
void markFromCache(boolean fromCache)
(Code)
(Java Doc)
abstract
public
AbstractPersistentObject
newPersistentInstance()
(Code)
(Java Doc)
protected
int nextCompoundIndex()
(Code)
(Java Doc)
public
void populateCompoundEntries()
(Code)
(Java Doc)
public
void populateCompoundEntries(int slaveIdx)
(Code)
(Java Doc)
public
void populateCompoundEntryByJoin(int indexFrom, int indexTo)
(Code)
(Java Doc)
public
void registerDelegateFactory(
DelegatePersistentObjectFactory
delegateFactory)
(Code)
(Java Doc)
abstract
protected
void selfReference()
(Code)
(Java Doc)
abstract
public
boolean selfReferencing()
(Code)
(Java Doc)
final
protected
void setupCompound()
(Code)
(Java Doc)
public
Object
toKey()
(Code)
(Java Doc)
abstract
public
Link
toLink()
(Code)
(Java Doc)
abstract
public
Parameters
toParameters(int[] indeces)
(Code)
(Java Doc)
final
public
AbstractPersistentObject
unflatten()
(Code)
(Java Doc)
abstract
protected
void unflatten0()
(Code)
(Java Doc)
public
void unmarkInitializedComplex()
(Code)
(Java Doc)
public
void unuseStarAndColumnNames()
(Code)
(Java Doc)
public
void useStarAndColumnNames()
(Code)
(Java Doc)
public
boolean usingColumnNames()
(Code)
(Java Doc)
public
boolean usingSelectStar()
(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.