Java Doc for SimpleEntity.java in  » Development » rapla » org » rapla » entities » storage » internal » 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 » Development » rapla » org.rapla.entities.storage.internal 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.rapla.entities.storage.internal.SimpleEntity

All known Subclasses:   org.rapla.entities.domain.internal.ReservationImpl,  org.rapla.entities.configuration.internal.PreferencesImpl,  org.rapla.entities.domain.internal.PeriodImpl,  org.rapla.entities.domain.internal.AllocatableImpl,  org.rapla.entities.dynamictype.internal.DynamicTypeImpl,  org.rapla.entities.domain.internal.AppointmentImpl,  org.rapla.entities.internal.UserImpl,  org.rapla.entities.internal.CategoryImpl,  org.rapla.entities.dynamictype.internal.AttributeImpl,
SimpleEntity
abstract public class SimpleEntity implements RefEntity,EntityReferencer,java.io.Serializable(Code)
Base-class for all Rapla Entity-Implementations. Provides services for deep cloning and serialization of references. ReferenceHandler


Field Summary
transient  booleanreadOnly
    
 ReferenceHandlerreferenceHandler
    
 ReferenceHandlersubEntityHandler
    

Constructor Summary
public  SimpleEntity()
    

Method Summary
protected  voidaddEntity(RefEntity entity)
    
public  voidcheckWritable()
    
protected  voidclone(SimpleEntity clone)
    
abstract public  Objectclone()
    
protected  voidcopy(SimpleEntity entity)
    
protected  voiddeepClone(SimpleEntity clone)
    
final public  booleanequals(Object o)
     two Entities are equal if they are identical.
public  ObjectfindEntity(RefEntity copy)
     find the sub-entity that has the same id as the passed copy.
final public  ObjectgetId()
    
public  UsergetLastChangedBy()
    
public  UsergetOwner()
    
public  ReferenceHandlergetReferenceHandler()
    
public  IteratorgetReferences()
    
public  IteratorgetSubEntities()
    
public  ReferenceHandlergetSubEntityHandler()
    
public  longgetVersion()
    
public  inthashCode()
     The hashcode of the id-object will be returned.
final public  booleanisIdentical(Entity ob2)
    
public  booleanisParentEntity(RefEntity object)
    
public  booleanisPersistant()
    
public  booleanisReadOnly()
    
public  booleanisRefering(RefEntity entity)
    
protected  booleanisSubEntity(RefEntity obj)
    
protected  voidremoveEntity(RefEntity entity)
    
public  voidresolveEntities(EntityResolver resolver)
    
public  voidsetId(Object id)
     sets the identifier for an object.
public  voidsetLastChangedBy(User user)
    
public  voidsetOwner(User owner)
    
public  voidsetReadOnly(boolean enable)
    
public  voidsetVersion(long version)
    
public  StringtoString()
    

Field Detail
readOnly
transient boolean readOnly(Code)



referenceHandler
ReferenceHandler referenceHandler(Code)



subEntityHandler
ReferenceHandler subEntityHandler(Code)




Constructor Detail
SimpleEntity
public SimpleEntity()(Code)




Method Detail
addEntity
protected void addEntity(RefEntity entity)(Code)



checkWritable
public void checkWritable()(Code)



clone
protected void clone(SimpleEntity clone)(Code)



clone
abstract public Object clone()(Code)



copy
protected void copy(SimpleEntity entity)(Code)
copies the references from the entity to this



deepClone
protected void deepClone(SimpleEntity clone)(Code)



equals
final public boolean equals(Object o)(Code)
two Entities are equal if they are identical.
See Also:   SimpleEntity.isIdentical



findEntity
public Object findEntity(RefEntity copy)(Code)
find the sub-entity that has the same id as the passed copy. Returns null, if the entity was not found.



getId
final public Object getId()(Code)
the identifier of the object.
See Also:   SimpleIdentifier



getLastChangedBy
public User getLastChangedBy()(Code)



getOwner
public User getOwner()(Code)



getReferenceHandler
public ReferenceHandler getReferenceHandler()(Code)



getReferences
public Iterator getReferences()(Code)



getSubEntities
public Iterator getSubEntities()(Code)



getSubEntityHandler
public ReferenceHandler getSubEntityHandler()(Code)



getVersion
public long getVersion()(Code)



hashCode
public int hashCode()(Code)
The hashcode of the id-object will be returned. the hashcode of the id.
throws:
  IllegalStateException - if no id is set.



isIdentical
final public boolean isIdentical(Entity ob2)(Code)



isParentEntity
public boolean isParentEntity(RefEntity object)(Code)



isPersistant
public boolean isPersistant()(Code)



isReadOnly
public boolean isReadOnly()(Code)



isRefering
public boolean isRefering(RefEntity entity)(Code)



isSubEntity
protected boolean isSubEntity(RefEntity obj)(Code)



removeEntity
protected void removeEntity(RefEntity entity)(Code)



resolveEntities
public void resolveEntities(EntityResolver resolver) throws EntityNotFoundException(Code)



setId
public void setId(Object id)(Code)
sets the identifier for an object. The identifier should be unique accross all entities (not only accross the entities of a the same type). Once set, the identifier for an object should not change. The identifier is necessary to store the relationsships between enties.
See Also:   SimpleIdentifier



setLastChangedBy
public void setLastChangedBy(User user)(Code)



setOwner
public void setOwner(User owner)(Code)



setReadOnly
public void setReadOnly(boolean enable)(Code)



setVersion
public void setVersion(long version)(Code)



toString
public String toString()(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.