Java Doc for Table.java in » EJB-Server-resin-3.1.5 » resin » com » caucho » amber » table » 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
»
EJB Server resin 3.1.5
»
resin
»
com.caucho.amber.table
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.lang
.Object
com.caucho.amber.table
.Table
Table
public
class Table
(Code)
Representation of a database table.
Constructor Summary
public
Table
(
AmberPersistenceUnit
manager,
String
name)
Method Summary
public
Column
addColumn
(
Column
column)
Adds a column.
public
void
addEntityListener
(
EntityListener
listener)
public
void
addIdColumn
(
Column
column)
Adds an id column.
void
addIncomingLink
(
LinkColumns
link)
Adds an incoming link.
void
addOutgoingLink
(
LinkColumns
link)
Adds an outgoing link.
public
void
beforeEntityDelete
(
AmberConnection
aConn,
Entity
entity)
Called before the entity is deleted.
public
Column
createColumn
(
String
name,
Type
type)
Creates a column.
public
void
createDatabaseTable
(
AmberPersistenceUnit
amberPersistenceUnit)
Creates the table if missing.
public
ForeignColumn
createForeignColumn
(
String
name,
Column
key)
Creates a foreign column.
protected
ConfigException
error
(
String
msg,
Throwable
e)
protected
RuntimeException
error
(
Throwable
e)
public
AmberPersistenceUnit
getAmberManager
()
Returns the amber manager.
public
long
getCacheTimeout
()
Returns the cache timeout.
public
ArrayList
<
Column
>
getColumns
()
Returns the columns.
public
AmberCompletion
getDeleteCompletion
()
Returns the table's invalidation.
public
LinkColumns
getDependentIdLink
()
Gets the id link for a dependent table.
public
ArrayList
<
Column
>
getIdColumns
()
Returns the id columns.
public
ArrayList
<
LinkColumns
>
getIncomingLinks
()
public
AmberCompletion
getInvalidateCompletion
()
Returns the table's invalidation.
public
String
getLocation
()
Returns the location.
public
String
getName
()
Gets the sql table name.
public
ArrayList
<
LinkColumns
>
getOutgoingLinks
()
public
RelatedType
getType
()
Gets the entity type.
public
AmberCompletion
getUpdateCompletion
()
Returns the table's invalidation.
public
boolean
hasListeners
()
Returns true if there are any listeners.
public
boolean
isCascadeDelete
()
Returns true if any deletes of this object are cascaded.
public
boolean
isReadOnly
()
public
boolean
removeColumn
(
Column
column)
Remove a given column.
public
void
setCacheTimeout
(long timeout)
Sets the cache timeout.
public
void
setConfigLocation
(
String
location)
Sets the config location.
public
void
setDependentIdLink
(
LinkColumns
link)
Sets the id link for a dependent table.
public
void
setReadOnly
(boolean isReadOnly)
public
void
setType
(
RelatedType
type)
Sets the entity type.
public
String
toString
()
Printable version of the entity.
public
void
validateDatabaseTable
(
AmberPersistenceUnit
amberPersistenceUnit)
Creates the table if missing.
Constructor Detail
Table
public
Table(
AmberPersistenceUnit
manager,
String
name)
(Code)
Method Detail
addColumn
public
Column
addColumn(
Column
column)
(Code)
Adds a column.
addEntityListener
public
void addEntityListener(
EntityListener
listener)
(Code)
Adds a listener for create/delete events
addIdColumn
public
void addIdColumn(
Column
column)
(Code)
Adds an id column.
addIncomingLink
void addIncomingLink(
LinkColumns
link)
(Code)
Adds an incoming link.
addOutgoingLink
void addOutgoingLink(
LinkColumns
link)
(Code)
Adds an outgoing link.
beforeEntityDelete
public
void beforeEntityDelete(
AmberConnection
aConn,
Entity
entity)
(Code)
Called before the entity is deleted.
createColumn
public
Column
createColumn(
String
name,
Type
type)
(Code)
Creates a column.
createDatabaseTable
public
void createDatabaseTable(
AmberPersistenceUnit
amberPersistenceUnit) throws ConfigException
(Code)
Creates the table if missing.
createForeignColumn
public
ForeignColumn
createForeignColumn(
String
name,
Column
key)
(Code)
Creates a foreign column.
error
protected
ConfigException error(
String
msg,
Throwable
e)
(Code)
error
protected
RuntimeException
error(
Throwable
e)
(Code)
getAmberManager
public
AmberPersistenceUnit
getAmberManager()
(Code)
Returns the amber manager.
getCacheTimeout
public
long getCacheTimeout()
(Code)
Returns the cache timeout.
getColumns
public
ArrayList
<
Column
> getColumns()
(Code)
Returns the columns.
getDeleteCompletion
public
AmberCompletion
getDeleteCompletion()
(Code)
Returns the table's invalidation.
getDependentIdLink
public
LinkColumns
getDependentIdLink()
(Code)
Gets the id link for a dependent table.
getIdColumns
public
ArrayList
<
Column
> getIdColumns()
(Code)
Returns the id columns.
getIncomingLinks
public
ArrayList
<
LinkColumns
> getIncomingLinks()
(Code)
getInvalidateCompletion
public
AmberCompletion
getInvalidateCompletion()
(Code)
Returns the table's invalidation.
getLocation
public
String
getLocation()
(Code)
Returns the location.
getName
public
String
getName()
(Code)
Gets the sql table name.
getOutgoingLinks
public
ArrayList
<
LinkColumns
> getOutgoingLinks()
(Code)
getType
public
RelatedType
getType()
(Code)
Gets the entity type.
getUpdateCompletion
public
AmberCompletion
getUpdateCompletion()
(Code)
Returns the table's invalidation.
hasListeners
public
boolean hasListeners()
(Code)
Returns true if there are any listeners.
isCascadeDelete
public
boolean isCascadeDelete()
(Code)
Returns true if any deletes of this object are cascaded.
isReadOnly
public
boolean isReadOnly()
(Code)
Returns true if read-only
removeColumn
public
boolean removeColumn(
Column
column)
(Code)
Remove a given column.
setCacheTimeout
public
void setCacheTimeout(long timeout)
(Code)
Sets the cache timeout.
setConfigLocation
public
void setConfigLocation(
String
location)
(Code)
Sets the config location.
setDependentIdLink
public
void setDependentIdLink(
LinkColumns
link)
(Code)
Sets the id link for a dependent table.
setReadOnly
public
void setReadOnly(boolean isReadOnly)
(Code)
Sets true if read-only
setType
public
void setType(
RelatedType
type)
(Code)
Sets the entity type.
toString
public
String
toString()
(Code)
Printable version of the entity.
validateDatabaseTable
public
void validateDatabaseTable(
AmberPersistenceUnit
amberPersistenceUnit) throws ConfigException
(Code)
Creates the table if missing.
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.