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


org.objectweb.speedo.genclass.GenClassAccessor
   org.objectweb.speedo.genclass.collection.CollectionAccessor

All known Subclasses:   org.objectweb.speedo.genclass.collection.SetAccessor,  org.objectweb.speedo.genclass.collection.ListAccessor,
CollectionAccessor
public class CollectionAccessor extends GenClassAccessor implements Collection(Code)

author:
   S.Chassande-Barrioz


Field Summary
protected  Collectioncollection
     is the internal collection used when the gen class is not active.

Constructor Summary
public  CollectionAccessor(SpeedoGenClassPO thepo)
     Instanciates and initializes a new collection with an initial size.

Method Summary
public  booleanadd(Object o)
    
public  booleanaddAll(Collection c)
    
public  voidattachCopy(POManagerItf pm, Map map, StateItf fieldsClone)
    
public  voidclear()
    
public  booleancontains(Object o)
    
public  booleancontainsAll(Collection c)
    
public  PIndexedElemcreatePIndexedElem(GenClassAccessor gca)
    
public  voiddeletePersistent(POManagerItf pm)
    
public  voiddetachCopy(POManagerItf pm, Map map, StateItf fieldsClone, Collection fgHints)
    
protected  booleanduplicatAllowed()
    
public  booleanequals(Object o)
    
public  voidforceDetachedDirty()
    
public  booleanisEmpty()
    
public  Iteratoriterator()
    
public  voidloadFieldsFromAccessor(StateItf sa)
    
public  voidmakePersistent(POManagerItf pm)
    
public  voidmakePersistentOnAttach(POManagerItf pm, Map map)
    
public  voidrefresh(POManagerItf pm, Map map, Collection fgHints)
    
public  booleanremove(Object o)
    
public  booleanremoveAll(Collection c)
    
public  voidrestoreDetachedNone()
    
public  booleanretainAll(Collection c)
    
public  voidretrieve(POManagerItf pm, Map map, Collection fgHints)
    
public  voidsetElements(Object o)
    
public  intsize()
    
public  booleanspeedoAdd(Object o, Object hints)
    
protected  GenClassElementspeedoAdd(Object o, boolean allowDuplicates)
    
protected  GenClassElementspeedoAddOnAttach(Object o, boolean allowDuplicates)
    
public  booleanspeedoRemove(Object o, Object hints)
    
public  GenClassElementspeedoRemove2(Object o)
    
public  Object[]toArray()
    
public  Object[]toArray(Object[] a)
    
public  StringtoString()
    

Field Detail
collection
protected Collection collection(Code)
is the internal collection used when the gen class is not active. When the po is active the 'elements' field is used.




Constructor Detail
CollectionAccessor
public CollectionAccessor(SpeedoGenClassPO thepo)(Code)
Instanciates and initializes a new collection with an initial size.




Method Detail
add
public boolean add(Object o)(Code)



addAll
public boolean addAll(Collection c)(Code)



attachCopy
public void attachCopy(POManagerItf pm, Map map, StateItf fieldsClone)(Code)



clear
public void clear()(Code)



contains
public boolean contains(Object o)(Code)



containsAll
public boolean containsAll(Collection c)(Code)



createPIndexedElem
public PIndexedElem createPIndexedElem(GenClassAccessor gca)(Code)



deletePersistent
public void deletePersistent(POManagerItf pm)(Code)



detachCopy
public void detachCopy(POManagerItf pm, Map map, StateItf fieldsClone, Collection fgHints)(Code)



duplicatAllowed
protected boolean duplicatAllowed()(Code)



equals
public boolean equals(Object o)(Code)



forceDetachedDirty
public void forceDetachedDirty()(Code)



isEmpty
public boolean isEmpty()(Code)



iterator
public Iterator iterator()(Code)



loadFieldsFromAccessor
public void loadFieldsFromAccessor(StateItf sa)(Code)



makePersistent
public void makePersistent(POManagerItf pm)(Code)



makePersistentOnAttach
public void makePersistentOnAttach(POManagerItf pm, Map map)(Code)



refresh
public void refresh(POManagerItf pm, Map map, Collection fgHints)(Code)



remove
public boolean remove(Object o)(Code)



removeAll
public boolean removeAll(Collection c)(Code)



restoreDetachedNone
public void restoreDetachedNone()(Code)



retainAll
public boolean retainAll(Collection c)(Code)



retrieve
public void retrieve(POManagerItf pm, Map map, Collection fgHints)(Code)



setElements
public void setElements(Object o)(Code)



size
public int size()(Code)



speedoAdd
public boolean speedoAdd(Object o, Object hints)(Code)



speedoAdd
protected GenClassElement speedoAdd(Object o, boolean allowDuplicates)(Code)



speedoAddOnAttach
protected GenClassElement speedoAddOnAttach(Object o, boolean allowDuplicates)(Code)



speedoRemove
public boolean speedoRemove(Object o, Object hints)(Code)



speedoRemove2
public GenClassElement speedoRemove2(Object o)(Code)



toArray
public Object[] toArray()(Code)



toArray
public Object[] toArray(Object[] a)(Code)



toString
public String toString()(Code)



Fields inherited from org.objectweb.speedo.genclass.GenClassAccessor
public List deltaForMerge(Code)(Java Doc)
public List elements(Code)(Java Doc)
public SpeedoGenClassPO gcpo(Code)(Java Doc)
protected transient Logger logger(Code)(Java Doc)
public boolean supportDelta(Code)(Java Doc)
protected GenClassElement tmpelem(Code)(Java Doc)

Methods inherited from org.objectweb.speedo.genclass.GenClassAccessor
abstract public void attachCopy(POManagerItf pm, Map map, StateItf fieldsClone)(Code)(Java Doc)
abstract public PIndexedElem createPIndexedElem(GenClassAccessor gca)(Code)(Java Doc)
public PIndexedElem createPIndexedElem()(Code)(Java Doc)
abstract public void deletePersistent(POManagerItf pm)(Code)(Java Doc)
abstract public void detachCopy(POManagerItf pm, Map map, StateItf fieldsClone, Collection fgHints)(Code)(Java Doc)
public Logger getLogger()(Code)(Java Doc)
public Object getMemoryInstance()(Code)(Java Doc)
public void loadFields(POManagerItf pm, long[] fields)(Code)(Java Doc)
abstract public void loadFieldsFromAccessor(StateItf sa)(Code)(Java Doc)
abstract public void makePersistent(POManagerItf pm)(Code)(Java Doc)
abstract public void makePersistentOnAttach(POManagerItf pm, Map map)(Code)(Java Doc)
public void makeToMerge(Object thinLock)(Code)(Java Doc)
public org.objectweb.perseus.persistence.api.State merge(org.objectweb.perseus.persistence.api.State oldState)(Code)(Java Doc)
public void paAdd(PIndexedElem elem, Object conn) throws PExceptionIO(Code)(Java Doc)
public boolean paDeltaSupported()(Code)(Java Doc)
public int paGetNbElem()(Code)(Java Doc)
public Iterator paIterator()(Code)(Java Doc)
public void paSetNbElem(int nbelem)(Code)(Java Doc)
abstract public void refresh(POManagerItf pm, Map map, Collection fgHints)(Code)(Java Doc)
abstract public void retrieve(POManagerItf pm, Map map, Collection fgHints)(Code)(Java Doc)
abstract public void setElements(Object o)(Code)(Java Doc)
public void setFlushed(boolean val)(Code)(Java Doc)
abstract public boolean speedoAdd(Object elemToAdd, Object hints)(Code)(Java Doc)
abstract public boolean speedoRemove(Object elemToRemove, Object hints)(Code)(Java Doc)
public void unSwizzle()(Code)(Java Doc)
public void workingSetClosed()(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.