Java Doc for StateManagerImpl.java in  » Database-ORM » XORM » org » xorm » 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 » XORM » org.xorm 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.xorm.ObjectState
      org.xorm.StateManagerImpl

StateManagerImpl
final public class StateManagerImpl extends ObjectState implements StateManager(Code)
A single instance of StateManagerImpl tracks the state of a non-interface JDO PersistenceCapable object. The StateManager is not needed for instances of InterfaceInvocationHandler, which don't completely follow the JDO spec at present.


Field Summary
 ClassMappingmapping
    

Constructor Summary
 StateManagerImpl(TransactionImpl txn, PersistenceCapable pc, byte status)
    

Method Summary
static  StateManagerImplforPersistenceCapable(PersistenceCapable pc, PersistenceManager mgr)
    
public  booleangetBooleanField(PersistenceCapable pc, int field, boolean currentValue)
    
public  bytegetByteField(PersistenceCapable pc, int field, byte currentValue)
    
public  chargetCharField(PersistenceCapable pc, int field, char currentValue)
    
public  doublegetDoubleField(PersistenceCapable pc, int field, double currentValue)
    
public  floatgetFloatField(PersistenceCapable pc, int field, float currentValue)
    
public  intgetIntField(PersistenceCapable pc, int field, int currentValue)
    
public  longgetLongField(PersistenceCapable pc, int field, long currentValue)
    
public  ObjectgetObjectField(PersistenceCapable pc, int field, Object currentValue)
    
public  ObjectgetObjectId(PersistenceCapable pc)
    
public  PersistenceManagergetPersistenceManager(PersistenceCapable pc)
    
public  shortgetShortField(PersistenceCapable pc, int field, short currentValue)
    
public  StringgetStringField(PersistenceCapable pc, int field, String currentValue)
    
public  ObjectgetTransactionalObjectId(PersistenceCapable pc)
    
public  booleanisDeleted(PersistenceCapable pc)
    
public  booleanisDirty(PersistenceCapable pc)
    
public  booleanisLoaded(PersistenceCapable pc, int field)
    
public  booleanisNew(PersistenceCapable pc)
    
public  booleanisPersistent(PersistenceCapable pc)
    
public  booleanisTransactional(PersistenceCapable pc)
    
public  voidmakeDirty(PersistenceCapable pc, String fieldName)
    
public  voidpreSerialize(PersistenceCapable pc)
     Ensures all fields are loaded from the datastore.
public  voidprovidedBooleanField(PersistenceCapable pc, int field, boolean currentValue)
    
public  voidprovidedByteField(PersistenceCapable pc, int field, byte currentValue)
    
public  voidprovidedCharField(PersistenceCapable pc, int field, char currentValue)
    
public  voidprovidedDoubleField(PersistenceCapable pc, int field, double currentValue)
    
public  voidprovidedFloatField(PersistenceCapable pc, int field, float currentValue)
    
public  voidprovidedIntField(PersistenceCapable pc, int field, int currentValue)
    
public  voidprovidedLongField(PersistenceCapable pc, int field, long currentValue)
    
public  voidprovidedObjectField(PersistenceCapable pc, int field, Object currentValue)
    
public  voidprovidedShortField(PersistenceCapable pc, int field, short currentValue)
    
public  voidprovidedStringField(PersistenceCapable pc, int field, String currentValue)
    
public  booleanreplacingBooleanField(PersistenceCapable pc, int field)
    
public  bytereplacingByteField(PersistenceCapable pc, int field)
    
public  charreplacingCharField(PersistenceCapable pc, int field)
    
public  doublereplacingDoubleField(PersistenceCapable pc, int field)
    
public  bytereplacingFlags(PersistenceCapable pc)
    
public  floatreplacingFloatField(PersistenceCapable pc, int field)
    
public  intreplacingIntField(PersistenceCapable pc, int field)
    
public  longreplacingLongField(PersistenceCapable pc, int field)
    
public  ObjectreplacingObjectField(PersistenceCapable pc, int field)
    
public  shortreplacingShortField(PersistenceCapable pc, int field)
    
public  StateManagerreplacingStateManager(PersistenceCapable pc, StateManager sm)
    
public  StringreplacingStringField(PersistenceCapable pc, int field)
    
public  voidsetBooleanField(PersistenceCapable pc, int field, boolean currentValue, boolean newValue)
    
public  voidsetByteField(PersistenceCapable pc, int field, byte currentValue, byte newValue)
    
public  voidsetCharField(PersistenceCapable pc, int field, char currentValue, char newValue)
    
public  voidsetDoubleField(PersistenceCapable pc, int field, double currentValue, double newValue)
    
public  voidsetFloatField(PersistenceCapable pc, int field, float currentValue, float newValue)
    
public  voidsetIntField(PersistenceCapable pc, int field, int currentValue, int newValue)
    
public  voidsetLongField(PersistenceCapable pc, int field, long currentValue, long newValue)
    
public  voidsetObjectField(PersistenceCapable pc, int field, Object currentValue, Object newValue)
    
public  voidsetShortField(PersistenceCapable pc, int field, short currentValue, short newValue)
    
public  voidsetStringField(PersistenceCapable pc, int field, String currentValue, String newValue)
    

Field Detail
mapping
ClassMapping mapping(Code)




Constructor Detail
StateManagerImpl
StateManagerImpl(TransactionImpl txn, PersistenceCapable pc, byte status)(Code)




Method Detail
forPersistenceCapable
static StateManagerImpl forPersistenceCapable(PersistenceCapable pc, PersistenceManager mgr)(Code)



getBooleanField
public boolean getBooleanField(PersistenceCapable pc, int field, boolean currentValue)(Code)



getByteField
public byte getByteField(PersistenceCapable pc, int field, byte currentValue)(Code)



getCharField
public char getCharField(PersistenceCapable pc, int field, char currentValue)(Code)



getDoubleField
public double getDoubleField(PersistenceCapable pc, int field, double currentValue)(Code)



getFloatField
public float getFloatField(PersistenceCapable pc, int field, float currentValue)(Code)



getIntField
public int getIntField(PersistenceCapable pc, int field, int currentValue)(Code)



getLongField
public long getLongField(PersistenceCapable pc, int field, long currentValue)(Code)



getObjectField
public Object getObjectField(PersistenceCapable pc, int field, Object currentValue)(Code)



getObjectId
public Object getObjectId(PersistenceCapable pc)(Code)



getPersistenceManager
public PersistenceManager getPersistenceManager(PersistenceCapable pc)(Code)



getShortField
public short getShortField(PersistenceCapable pc, int field, short currentValue)(Code)



getStringField
public String getStringField(PersistenceCapable pc, int field, String currentValue)(Code)



getTransactionalObjectId
public Object getTransactionalObjectId(PersistenceCapable pc)(Code)



isDeleted
public boolean isDeleted(PersistenceCapable pc)(Code)



isDirty
public boolean isDirty(PersistenceCapable pc)(Code)



isLoaded
public boolean isLoaded(PersistenceCapable pc, int field)(Code)



isNew
public boolean isNew(PersistenceCapable pc)(Code)



isPersistent
public boolean isPersistent(PersistenceCapable pc)(Code)



isTransactional
public boolean isTransactional(PersistenceCapable pc)(Code)



makeDirty
public void makeDirty(PersistenceCapable pc, String fieldName)(Code)



preSerialize
public void preSerialize(PersistenceCapable pc)(Code)
Ensures all fields are loaded from the datastore.



providedBooleanField
public void providedBooleanField(PersistenceCapable pc, int field, boolean currentValue)(Code)



providedByteField
public void providedByteField(PersistenceCapable pc, int field, byte currentValue)(Code)



providedCharField
public void providedCharField(PersistenceCapable pc, int field, char currentValue)(Code)



providedDoubleField
public void providedDoubleField(PersistenceCapable pc, int field, double currentValue)(Code)



providedFloatField
public void providedFloatField(PersistenceCapable pc, int field, float currentValue)(Code)



providedIntField
public void providedIntField(PersistenceCapable pc, int field, int currentValue)(Code)



providedLongField
public void providedLongField(PersistenceCapable pc, int field, long currentValue)(Code)



providedObjectField
public void providedObjectField(PersistenceCapable pc, int field, Object currentValue)(Code)



providedShortField
public void providedShortField(PersistenceCapable pc, int field, short currentValue)(Code)



providedStringField
public void providedStringField(PersistenceCapable pc, int field, String currentValue)(Code)



replacingBooleanField
public boolean replacingBooleanField(PersistenceCapable pc, int field)(Code)



replacingByteField
public byte replacingByteField(PersistenceCapable pc, int field)(Code)



replacingCharField
public char replacingCharField(PersistenceCapable pc, int field)(Code)



replacingDoubleField
public double replacingDoubleField(PersistenceCapable pc, int field)(Code)



replacingFlags
public byte replacingFlags(PersistenceCapable pc)(Code)



replacingFloatField
public float replacingFloatField(PersistenceCapable pc, int field)(Code)



replacingIntField
public int replacingIntField(PersistenceCapable pc, int field)(Code)



replacingLongField
public long replacingLongField(PersistenceCapable pc, int field)(Code)



replacingObjectField
public Object replacingObjectField(PersistenceCapable pc, int field)(Code)



replacingShortField
public short replacingShortField(PersistenceCapable pc, int field)(Code)



replacingStateManager
public StateManager replacingStateManager(PersistenceCapable pc, StateManager sm)(Code)



replacingStringField
public String replacingStringField(PersistenceCapable pc, int field)(Code)



setBooleanField
public void setBooleanField(PersistenceCapable pc, int field, boolean currentValue, boolean newValue)(Code)



setByteField
public void setByteField(PersistenceCapable pc, int field, byte currentValue, byte newValue)(Code)



setCharField
public void setCharField(PersistenceCapable pc, int field, char currentValue, char newValue)(Code)



setDoubleField
public void setDoubleField(PersistenceCapable pc, int field, double currentValue, double newValue)(Code)



setFloatField
public void setFloatField(PersistenceCapable pc, int field, float currentValue, float newValue)(Code)



setIntField
public void setIntField(PersistenceCapable pc, int field, int currentValue, int newValue)(Code)



setLongField
public void setLongField(PersistenceCapable pc, int field, long currentValue, long newValue)(Code)



setObjectField
public void setObjectField(PersistenceCapable pc, int field, Object currentValue, Object newValue)(Code)



setShortField
public void setShortField(PersistenceCapable pc, int field, short currentValue, short newValue)(Code)



setStringField
public void setStringField(PersistenceCapable pc, int field, String currentValue, String newValue)(Code)



Fields inherited from org.xorm.ObjectState
final public static byte STATUS_DELETED(Code)(Java Doc)
final public static byte STATUS_DIRTY(Code)(Java Doc)
final public static byte STATUS_HOLLOW(Code)(Java Doc)
final public static byte STATUS_NEW(Code)(Java Doc)
final public static byte STATUS_PERSISTENT(Code)(Java Doc)
final public static byte STATUS_PERSISTENT_CLEAN(Code)(Java Doc)
final public static byte STATUS_PERSISTENT_DELETED(Code)(Java Doc)
final public static byte STATUS_PERSISTENT_DIRTY(Code)(Java Doc)
final public static byte STATUS_PERSISTENT_NEW(Code)(Java Doc)
final public static byte STATUS_PERSISTENT_NEW_DELETED(Code)(Java Doc)
final public static byte STATUS_PERSISTENT_NONTRANSACTIONAL(Code)(Java Doc)
final public static byte STATUS_TRANSACTIONAL(Code)(Java Doc)
final public static byte STATUS_TRANSIENT(Code)(Java Doc)
final public static byte STATUS_TRANSIENT_CLEAN(Code)(Java Doc)
final public static byte STATUS_TRANSIENT_DIRTY(Code)(Java Doc)
protected Object proxy(Code)(Java Doc)
protected byte status(Code)(Java Doc)

Methods inherited from org.xorm.ObjectState
static Object defaultValue(Class type)(Code)(Java Doc)
public Object getProxy()(Code)(Java Doc)
public byte getStatus()(Code)(Java Doc)
final public String getStatusName()(Code)(Java Doc)
public boolean isDeleted()(Code)(Java Doc)
public boolean isDirty()(Code)(Java Doc)
public boolean isHollow()(Code)(Java Doc)
public boolean isNew()(Code)(Java Doc)
public boolean isPersistent()(Code)(Java Doc)
public boolean isTransactional()(Code)(Java Doc)
public void setDeleted(boolean value)(Code)(Java Doc)
public void setDirty(boolean value)(Code)(Java Doc)
public void setHollow(boolean value)(Code)(Java Doc)
public void setNew(boolean value)(Code)(Java Doc)
public void setPersistent(boolean value)(Code)(Java Doc)
public void setProxy(Object proxy)(Code)(Java Doc)
public void setStatus(byte status)(Code)(Java Doc)
public void setTransactional(boolean value)(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.