Java Doc for Queryable.java in  » Database-ORM » hibernate » org » hibernate » persister » entity » 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 » hibernate » org.hibernate.persister.entity 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.hibernate.persister.entity.Queryable

All known Subclasses:   org.hibernate.persister.entity.AbstractEntityPersister,
Queryable
public interface Queryable extends Loadable,PropertyMapping,Joinable(Code)
Extends the generic EntityPersister contract to add operations required by the Hibernate Query Language
author:
   Gavin King

Inner Class :public static class Declarer



Method Summary
public  StringgenerateFilterConditionAlias(String rootAlias)
     The alias used for any filter conditions (mapped where-fragments or enabled-filters).
public  String[]getConstraintOrderedTableNameClosure()
     Get the names of all tables used in the hierarchy (up and down) ordered such that deletes in the given order would not cause contraint violations.
public  String[][]getContraintOrderedTableKeyColumnClosure()
     For each table specified in Queryable.getConstraintOrderedTableNameClosure() , get the columns that define the key between the various hierarchy classes.

The first dimension here corresponds to the table indexes returned in Queryable.getConstraintOrderedTableNameClosure() .

The second dimension should have the same length across all the elements in the first dimension.

public  StringgetDiscriminatorSQLValue()
    
public  String[]getIdentifierColumnNames()
    
public  StringgetMappedSuperclass()
    
public  DeclarergetSubclassPropertyDeclarer(String propertyPath)
     Determine whether the given property is declared by our mapped class, our super class, or one of our subclasses...

Note: the method is called 'subclass property...' simply for consistency sake (e.g.

public  intgetSubclassPropertyTableNumber(String propertyPath)
     Given a property name, determine the number of the table which contains the column to which this property is mapped.

Note that this is not relative to the results from Queryable.getConstraintOrderedTableNameClosure() . It is relative to the subclass table name closure maintained internal to the persister (yick!). It is also relative to the indexing used to resolve Queryable.getSubclassTableName ...
Parameters:
  propertyPath - The name of the property.

public  StringgetSubclassTableName(int number)
     Get the name of the table with the given index from the internal array.
public  StringgetTemporaryIdTableDDL()
     Get the appropriate DDL command for generating the temporary table to be used to (potentially) store id values when performing bulk update/deletes.
public  StringgetTemporaryIdTableName()
     Get the name of the temporary table to be used to (potentially) store id values when performing bulk update/deletes.
public  StringidentifierSelectFragment(String name, String suffix)
     Given a query alias and an identifying suffix, render the intentifier select fragment.
public  booleanisAbstract()
    
public  booleanisExplicitPolymorphism()
    
public  booleanisMultiTable()
    
public  booleanisVersionPropertyInsertable()
    
public  StringpropertySelectFragment(String alias, String suffix, boolean allProperties)
     Given a query alias and an identifying suffix, render the property select fragment.



Method Detail
generateFilterConditionAlias
public String generateFilterConditionAlias(String rootAlias)(Code)
The alias used for any filter conditions (mapped where-fragments or enabled-filters).

This may or may not be different from the root alias depending upon the inheritence mapping strategy.
Parameters:
  rootAlias - The root alias The alias used for "filter conditions" within the where clause.



getConstraintOrderedTableNameClosure
public String[] getConstraintOrderedTableNameClosure()(Code)
Get the names of all tables used in the hierarchy (up and down) ordered such that deletes in the given order would not cause contraint violations. The ordered array of table names.



getContraintOrderedTableKeyColumnClosure
public String[][] getContraintOrderedTableKeyColumnClosure()(Code)
For each table specified in Queryable.getConstraintOrderedTableNameClosure() , get the columns that define the key between the various hierarchy classes.

The first dimension here corresponds to the table indexes returned in Queryable.getConstraintOrderedTableNameClosure() .

The second dimension should have the same length across all the elements in the first dimension. If not, that'd be a problem ;)




getDiscriminatorSQLValue
public String getDiscriminatorSQLValue()(Code)
Get the discriminator value for this particular concrete subclass, as a string that may be embedded in a select statement



getIdentifierColumnNames
public String[] getIdentifierColumnNames()(Code)
Get the names of columns used to persist the identifier



getMappedSuperclass
public String getMappedSuperclass()(Code)
Get the class that this class is mapped as a subclass of - not necessarily the direct superclass



getSubclassPropertyDeclarer
public Declarer getSubclassPropertyDeclarer(String propertyPath)(Code)
Determine whether the given property is declared by our mapped class, our super class, or one of our subclasses...

Note: the method is called 'subclass property...' simply for consistency sake (e.g. Queryable.getSubclassPropertyTableNumber
Parameters:
  propertyPath - The property name. The property declarer




getSubclassPropertyTableNumber
public int getSubclassPropertyTableNumber(String propertyPath)(Code)
Given a property name, determine the number of the table which contains the column to which this property is mapped.

Note that this is not relative to the results from Queryable.getConstraintOrderedTableNameClosure() . It is relative to the subclass table name closure maintained internal to the persister (yick!). It is also relative to the indexing used to resolve Queryable.getSubclassTableName ...
Parameters:
  propertyPath - The name of the property. The nunber of the table to which the property is mapped.




getSubclassTableName
public String getSubclassTableName(int number)(Code)
Get the name of the table with the given index from the internal array.
Parameters:
  number - The index into the internal array.



getTemporaryIdTableDDL
public String getTemporaryIdTableDDL()(Code)
Get the appropriate DDL command for generating the temporary table to be used to (potentially) store id values when performing bulk update/deletes. The appropriate temporary table creation command.



getTemporaryIdTableName
public String getTemporaryIdTableName()(Code)
Get the name of the temporary table to be used to (potentially) store id values when performing bulk update/deletes. The appropriate temporary table name.



identifierSelectFragment
public String identifierSelectFragment(String name, String suffix)(Code)
Given a query alias and an identifying suffix, render the intentifier select fragment.



isAbstract
public boolean isAbstract()(Code)
Is this an abstract class?



isExplicitPolymorphism
public boolean isExplicitPolymorphism()(Code)
Is this class explicit polymorphism only?



isMultiTable
public boolean isMultiTable()(Code)
Is the inheritence hierarchy described by this persister contained across multiple tables? True if the inheritence hierarchy is spread across multiple tables; false otherwise.



isVersionPropertyInsertable
public boolean isVersionPropertyInsertable()(Code)
Is the version property included in insert statements?



propertySelectFragment
public String propertySelectFragment(String alias, String suffix, boolean allProperties)(Code)
Given a query alias and an identifying suffix, render the property select fragment.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.