Java Doc for CollectionElem.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) 


java.lang.Object
   org.objectweb.speedo.genclass.collection.CollectionElem

All known Subclasses:   org.objectweb.speedo.genclass.map.MapElem,  org.objectweb.speedo.genclass.collection.SetElem,  org.objectweb.speedo.genclass.collection.ListElem,
CollectionElem
public class CollectionElem implements PIndexedElem,GenClassElement(Code)

author:
   P. D?chamboux


Field Summary
final public static  booleanELEMENT_IS_PNAME
    
final public static  StringERROR_MESSAGE_BAD_FIELD_NAME
     The error message thrown when an accessor method associated to a primitive element type is called.
final public static  StringERROR_MESSAGE_NO_NULL_INDEX
     The error message thrown when an accessor method associated to a primitive element type is called.
final public static  StringINDEX_FIELD_NAME
     This constant is the name of the index field.
protected  Objectelement
     This field is the element (or its PName for a reference).
protected  GenClassAccessorgca
    
protected  Objectindex
     This field can be the index.
protected  bytestatus
     This field represents the satus of the PIndexedEleme.
 bytestatusForMerge
    

Constructor Summary
public  CollectionElem(GenClassAccessor gca)
    

Method Summary
public  voidcleanStatusForMerge()
    
public  GenClassElementcloneGCE()
    
public  GenClassElementcloneGCE(GenClassElement gce)
    
public  booleanequals(Object o)
    
public  bytegetElemStatus()
    
public synchronized  ObjectgetElement()
     the element of the gen class.
public  ObjectgetElement(POManagerItf pm)
    
Parameters:
  pm - is the persistence manager which permits to resolve the PNameinto a java reference.
public  ObjectgetIndex()
    
public  StateItfgetSpeedoAccessor()
    
public  bytegetStatusForMerge()
    
public  BigDecimalpieGetBigDecimalElem()
    
public  BigIntegerpieGetBigIntegerElem()
    
public  booleanpieGetBooleanElem()
    
public  byte[]pieGetByteArrayElem()
    
public  bytepieGetByteElem()
    
public  bytepieGetByteIndexField(String fn)
    
public  char[]pieGetCharArrayElem()
    
public  charpieGetCharElem()
    
public  charpieGetCharIndexField(String fn)
    
public  DatepieGetDateElem()
    
public  DatepieGetDateIndexField(String fn)
    
public  doublepieGetDoubleElem()
    
public  floatpieGetFloatElem()
    
public  intpieGetIntElem()
    
public  intpieGetIntIndexField(String fn)
    
public  longpieGetLongElem()
    
public  longpieGetLongIndexField(String fn)
    
public  BooleanpieGetObooleanElem()
    
public  BytepieGetObyteElem()
    
public  BytepieGetObyteIndexField(String fn)
    
public  CharacterpieGetOcharElem()
    
public  CharacterpieGetOcharIndexField(String fn)
    
public  DoublepieGetOdoubleElem()
    
public  FloatpieGetOfloatElem()
    
public  IntegerpieGetOintElem()
    
public  IntegerpieGetOintIndexField(String fn)
    
public  LongpieGetOlongElem()
    
public  LongpieGetOlongIndexField(String fn)
    
public  ShortpieGetOshortElem()
    
public  ShortpieGetOshortIndexField(String fn)
    
public  PNamepieGetRefElem()
    
public  SerializablepieGetSerializedElem()
    
public  shortpieGetShortElem()
    
public  shortpieGetShortIndexField(String fn)
    
public  StringpieGetStringElem()
    
public  StringpieGetStringIndexField(String fn)
    
public  voidpieSetBigDecimalElem(BigDecimal bigDecimal)
    
public  voidpieSetBigIntegerElem(BigInteger value)
    
public  voidpieSetBooleanElem(boolean value)
    
public  voidpieSetByteArrayElem(byte[] value)
    
public  voidpieSetByteElem(byte value)
    
public  voidpieSetByteIndexField(String fn, byte value)
    
public  voidpieSetCharArrayElem(char[] value)
    
public  voidpieSetCharElem(char value)
    
public  voidpieSetCharIndexField(String fn, char value)
    
public  voidpieSetDateElem(Date value)
    
public  voidpieSetDateIndexField(String fn, Date value)
    
public  voidpieSetDoubleElem(double value)
    
public  voidpieSetFloatElem(float value)
    
public  voidpieSetIntElem(int value)
    
public  voidpieSetIntIndexField(String fn, int value)
    
public  voidpieSetLongElem(long value)
    
public  voidpieSetLongIndexField(String fn, long value)
    
public  voidpieSetObooleanElem(Boolean value)
    
public  voidpieSetObyteElem(Byte value)
    
public  voidpieSetObyteIndexField(String fn, Byte value)
    
public  voidpieSetOcharElem(Character value)
    
public  voidpieSetOcharIndexField(String fn, Character value)
    
public  voidpieSetOdoubleElem(Double value)
    
public  voidpieSetOfloatElem(Float value)
    
public  voidpieSetOintElem(Integer value)
    
public  voidpieSetOintIndexField(String fn, Integer value)
    
public  voidpieSetOlongElem(Long value)
    
public  voidpieSetOlongIndexField(String fn, Long value)
    
public  voidpieSetOshortElem(Short value)
    
public  voidpieSetOshortIndexField(String fn, Short value)
    
public  voidpieSetRefElem(PName value)
    
public  voidpieSetSerializedElem(Serializable value)
    
public  voidpieSetShortElem(short value)
    
public  voidpieSetShortIndexField(String fn, short value)
    
public  voidpieSetStringElem(String value)
    
public  voidpieSetStringIndexField(String fn, String value)
    
public  byteretainStatusForMerge()
    
public  voidsetElement(Object element)
     Assignes the element of the gen class.
public  voidsetIndex(Object index)
    
public  voidsetStatus(byte s)
    
public  voidunSwizzle()
    

Field Detail
ELEMENT_IS_PNAME
final public static boolean ELEMENT_IS_PNAME(Code)



ERROR_MESSAGE_BAD_FIELD_NAME
final public static String ERROR_MESSAGE_BAD_FIELD_NAME(Code)
The error message thrown when an accessor method associated to a primitive element type is called. Indeed this implementation supports only object elements.



ERROR_MESSAGE_NO_NULL_INDEX
final public static String ERROR_MESSAGE_NO_NULL_INDEX(Code)
The error message thrown when an accessor method associated to a primitive element type is called. Indeed this implementation supports only object elements.



INDEX_FIELD_NAME
final public static String INDEX_FIELD_NAME(Code)
This constant is the name of the index field. This value must be use with the methods associated to the management of the index.



element
protected Object element(Code)
This field is the element (or its PName for a reference).



gca
protected GenClassAccessor gca(Code)



index
protected Object index(Code)
This field can be the index. The index type is known at instanciation time.



status
protected byte status(Code)
This field represents the satus of the PIndexedEleme. The possible value are ELEM_CREATED, ELEM_DELETED, ELEM_MODIFIED, ELEM_UNMODIFIED



statusForMerge
byte statusForMerge(Code)




Constructor Detail
CollectionElem
public CollectionElem(GenClassAccessor gca)(Code)




Method Detail
cleanStatusForMerge
public void cleanStatusForMerge()(Code)



cloneGCE
public GenClassElement cloneGCE()(Code)



cloneGCE
public GenClassElement cloneGCE(GenClassElement gce)(Code)



equals
public boolean equals(Object o)(Code)



getElemStatus
public byte getElemStatus()(Code)



getElement
public synchronized Object getElement()(Code)
the element of the gen class. It is a user object.



getElement
public Object getElement(POManagerItf pm)(Code)

Parameters:
  pm - is the persistence manager which permits to resolve the PNameinto a java reference. the element of the gen class. The element is a reference(PersistentObjectItf).



getIndex
public Object getIndex()(Code)



getSpeedoAccessor
public StateItf getSpeedoAccessor()(Code)



getStatusForMerge
public byte getStatusForMerge()(Code)



pieGetBigDecimalElem
public BigDecimal pieGetBigDecimalElem() throws PException(Code)



pieGetBigIntegerElem
public BigInteger pieGetBigIntegerElem() throws PException(Code)



pieGetBooleanElem
public boolean pieGetBooleanElem() throws PExceptionTyping(Code)



pieGetByteArrayElem
public byte[] pieGetByteArrayElem() throws PExceptionTyping(Code)



pieGetByteElem
public byte pieGetByteElem() throws PExceptionTyping(Code)



pieGetByteIndexField
public byte pieGetByteIndexField(String fn) throws PExceptionTyping(Code)



pieGetCharArrayElem
public char[] pieGetCharArrayElem() throws PExceptionTyping(Code)



pieGetCharElem
public char pieGetCharElem() throws PExceptionTyping(Code)



pieGetCharIndexField
public char pieGetCharIndexField(String fn) throws PExceptionTyping(Code)



pieGetDateElem
public Date pieGetDateElem() throws PExceptionTyping(Code)



pieGetDateIndexField
public Date pieGetDateIndexField(String fn) throws PExceptionTyping(Code)



pieGetDoubleElem
public double pieGetDoubleElem() throws PExceptionTyping(Code)



pieGetFloatElem
public float pieGetFloatElem() throws PExceptionTyping(Code)



pieGetIntElem
public int pieGetIntElem() throws PExceptionTyping(Code)



pieGetIntIndexField
public int pieGetIntIndexField(String fn) throws PExceptionTyping(Code)



pieGetLongElem
public long pieGetLongElem() throws PExceptionTyping(Code)



pieGetLongIndexField
public long pieGetLongIndexField(String fn) throws PExceptionTyping(Code)



pieGetObooleanElem
public Boolean pieGetObooleanElem() throws PExceptionTyping(Code)



pieGetObyteElem
public Byte pieGetObyteElem() throws PExceptionTyping(Code)



pieGetObyteIndexField
public Byte pieGetObyteIndexField(String fn) throws PExceptionTyping(Code)



pieGetOcharElem
public Character pieGetOcharElem() throws PExceptionTyping(Code)



pieGetOcharIndexField
public Character pieGetOcharIndexField(String fn) throws PExceptionTyping(Code)



pieGetOdoubleElem
public Double pieGetOdoubleElem() throws PExceptionTyping(Code)



pieGetOfloatElem
public Float pieGetOfloatElem() throws PExceptionTyping(Code)



pieGetOintElem
public Integer pieGetOintElem() throws PExceptionTyping(Code)



pieGetOintIndexField
public Integer pieGetOintIndexField(String fn) throws PExceptionTyping(Code)



pieGetOlongElem
public Long pieGetOlongElem() throws PExceptionTyping(Code)



pieGetOlongIndexField
public Long pieGetOlongIndexField(String fn) throws PExceptionTyping(Code)



pieGetOshortElem
public Short pieGetOshortElem() throws PExceptionTyping(Code)



pieGetOshortIndexField
public Short pieGetOshortIndexField(String fn) throws PExceptionTyping(Code)



pieGetRefElem
public PName pieGetRefElem()(Code)



pieGetSerializedElem
public Serializable pieGetSerializedElem() throws PExceptionTyping(Code)



pieGetShortElem
public short pieGetShortElem() throws PExceptionTyping(Code)



pieGetShortIndexField
public short pieGetShortIndexField(String fn) throws PExceptionTyping(Code)



pieGetStringElem
public String pieGetStringElem() throws PExceptionTyping(Code)



pieGetStringIndexField
public String pieGetStringIndexField(String fn) throws PExceptionTyping(Code)



pieSetBigDecimalElem
public void pieSetBigDecimalElem(BigDecimal bigDecimal) throws PException(Code)



pieSetBigIntegerElem
public void pieSetBigIntegerElem(BigInteger value) throws PException(Code)



pieSetBooleanElem
public void pieSetBooleanElem(boolean value) throws PExceptionTyping(Code)



pieSetByteArrayElem
public void pieSetByteArrayElem(byte[] value) throws PExceptionTyping(Code)



pieSetByteElem
public void pieSetByteElem(byte value) throws PExceptionTyping(Code)



pieSetByteIndexField
public void pieSetByteIndexField(String fn, byte value) throws PExceptionTyping(Code)



pieSetCharArrayElem
public void pieSetCharArrayElem(char[] value) throws PExceptionTyping(Code)



pieSetCharElem
public void pieSetCharElem(char value) throws PExceptionTyping(Code)



pieSetCharIndexField
public void pieSetCharIndexField(String fn, char value) throws PExceptionTyping(Code)



pieSetDateElem
public void pieSetDateElem(Date value) throws PExceptionTyping(Code)



pieSetDateIndexField
public void pieSetDateIndexField(String fn, Date value) throws PExceptionTyping(Code)



pieSetDoubleElem
public void pieSetDoubleElem(double value) throws PExceptionTyping(Code)



pieSetFloatElem
public void pieSetFloatElem(float value) throws PExceptionTyping(Code)



pieSetIntElem
public void pieSetIntElem(int value) throws PExceptionTyping(Code)



pieSetIntIndexField
public void pieSetIntIndexField(String fn, int value) throws PExceptionTyping(Code)



pieSetLongElem
public void pieSetLongElem(long value) throws PExceptionTyping(Code)



pieSetLongIndexField
public void pieSetLongIndexField(String fn, long value) throws PExceptionTyping(Code)



pieSetObooleanElem
public void pieSetObooleanElem(Boolean value) throws PExceptionTyping(Code)



pieSetObyteElem
public void pieSetObyteElem(Byte value) throws PExceptionTyping(Code)



pieSetObyteIndexField
public void pieSetObyteIndexField(String fn, Byte value) throws PExceptionTyping(Code)



pieSetOcharElem
public void pieSetOcharElem(Character value) throws PExceptionTyping(Code)



pieSetOcharIndexField
public void pieSetOcharIndexField(String fn, Character value) throws PExceptionTyping(Code)



pieSetOdoubleElem
public void pieSetOdoubleElem(Double value) throws PExceptionTyping(Code)



pieSetOfloatElem
public void pieSetOfloatElem(Float value) throws PExceptionTyping(Code)



pieSetOintElem
public void pieSetOintElem(Integer value) throws PExceptionTyping(Code)



pieSetOintIndexField
public void pieSetOintIndexField(String fn, Integer value) throws PExceptionTyping(Code)



pieSetOlongElem
public void pieSetOlongElem(Long value) throws PExceptionTyping(Code)



pieSetOlongIndexField
public void pieSetOlongIndexField(String fn, Long value) throws PExceptionTyping(Code)



pieSetOshortElem
public void pieSetOshortElem(Short value) throws PExceptionTyping(Code)



pieSetOshortIndexField
public void pieSetOshortIndexField(String fn, Short value) throws PExceptionTyping(Code)



pieSetRefElem
public void pieSetRefElem(PName value) throws PExceptionTyping(Code)



pieSetSerializedElem
public void pieSetSerializedElem(Serializable value) throws PExceptionTyping(Code)



pieSetShortElem
public void pieSetShortElem(short value) throws PExceptionTyping(Code)



pieSetShortIndexField
public void pieSetShortIndexField(String fn, short value) throws PExceptionTyping(Code)



pieSetStringElem
public void pieSetStringElem(String value) throws PExceptionTyping(Code)



pieSetStringIndexField
public void pieSetStringIndexField(String fn, String value) throws PExceptionTyping(Code)



retainStatusForMerge
public byte retainStatusForMerge()(Code)



setElement
public void setElement(Object element)(Code)
Assignes the element of the gen class. It is a user object.
Parameters:
  element - to add



setIndex
public void setIndex(Object index)(Code)



setStatus
public void setStatus(byte s)(Code)



unSwizzle
public void unSwizzle()(Code)



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.