| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: The alias used for "filter conditions" within the where clause.The root alias rootAlias)The alias used for any filter conditions (mapped where-fragments or enabled-filters). |
| public String[] | Returns: The ordered array of table names.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 |
| public String | getDiscriminatorSQLValue()
Get the discriminator value for this particular concrete subclass, as a string that may be embedded in a select statement |
| public String[] | getIdentifierColumnNames()
Redeclares org. |
| public String | getMappedSuperclass()
Get the class that this class is mapped as a subclass of - not necessarily the direct superclass |
| public Queryable. | Returns: The property declarerThe property name. propertyPath)Determine whether the given property is declared by our mapped class, our super class, or one of our subclasses... |
| public int | Returns: The nunber of the table to which the property is mapped.The name of the property. propertyPath)Given a property name, determine the number of the table which contains the column to which this property is mapped. |
| public String | getSubclassTableName(int
The index into the internal array. number)Get the name of the table with the given index from the internal array. |
| public String | Returns: The appropriate temporary table creation command.Get the appropriate DDL command for generating the temporary table to be used to (potentially) store id values when performing bulk update/deletes. |
| public String | Returns: The appropriate temporary table name.Get the name of the temporary table to be used to (potentially) store id values when performing bulk update/deletes. |
| public DiscriminatorMetadata | Returns: The entity discriminator metadataRetrieve the information needed to properly deal with this entity's discriminator in a query. |
| public String | identifierSelectFragment(String name, String suffix)
Given a query alias and an identifying suffix, render the intentifier select fragment. |
| public boolean | isAbstract()
Redeclares org. |
| public boolean | |
| public boolean | Returns: True if the inheritence hierarchy is spread across multiple tables; false otherwise.Is the inheritence hierarchy described by this persister contained across multiple tables? |
| public boolean | |
| public String | propertySelectFragment(String alias, String suffix, boolean allProperties)
Given a query alias and an identifying suffix, render the property select fragment. |
| public SelectFragment |
| generateFilterConditionAlias | back to summary |
|---|---|
| public String generateFilterConditionAlias(String rootAlias) 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. | |
| getConstraintOrderedTableNameClosure | back to summary |
|---|---|
| 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.
| |
| getContraintOrderedTableKeyColumnClosure | back to summary |
|---|---|
| public String[][] getContraintOrderedTableKeyColumnClosure() For each table specified in
The first dimension here corresponds to the table indexes returned in
The second dimension should have the same length across all the elements in the first dimension. If not, that'd be a problem ;) | |
| getDiscriminatorSQLValue | back to summary |
|---|---|
| public String getDiscriminatorSQLValue() Get the discriminator value for this particular concrete subclass, as a string that may be embedded in a select statement | |
| getIdentifierColumnNames | back to summary |
|---|---|
| public String[] getIdentifierColumnNames() Redeclares org. Get the names of columns used to persist the identifier | |
| getMappedSuperclass | back to summary |
|---|---|
| public String getMappedSuperclass() Get the class that this class is mapped as a subclass of - not necessarily the direct superclass | |
| getSubclassPropertyDeclarer | back to summary |
|---|---|
| public Queryable. 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. | |
| getSubclassPropertyTableNumber | back to summary |
|---|---|
| public int getSubclassPropertyTableNumber(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
| |
| getSubclassTableName | back to summary |
|---|---|
| public String getSubclassTableName(int number) Get the name of the table with the given index from the internal array.
| |
| getTemporaryIdTableDDL | back to summary |
|---|---|
| public String getTemporaryIdTableDDL() Get the appropriate DDL command for generating the temporary table to be used to (potentially) store id values when performing bulk update/deletes.
| |
| getTemporaryIdTableName | back to summary |
|---|---|
| public String getTemporaryIdTableName() Get the name of the temporary table to be used to (potentially) store id values when performing bulk update/deletes.
| |
| getTypeDiscriminatorMetadata | back to summary |
|---|---|
| public DiscriminatorMetadata getTypeDiscriminatorMetadata() Retrieve the information needed to properly deal with this entity's discriminator in a query.
| |
| identifierSelectFragment | back to summary |
|---|---|
| public String identifierSelectFragment(String name, String suffix) Given a query alias and an identifying suffix, render the intentifier select fragment. | |
| isAbstract | back to summary |
|---|---|
| public boolean isAbstract() Redeclares org. Is this an abstract class? | |
| isExplicitPolymorphism | back to summary |
|---|---|
| public boolean isExplicitPolymorphism() Is this class explicit polymorphism only? | |
| isMultiTable | back to summary |
|---|---|
| public boolean isMultiTable() Is the inheritence hierarchy described by this persister contained across multiple tables?
| |
| isVersionPropertyInsertable | back to summary |
|---|---|
| public boolean isVersionPropertyInsertable() Is the version property included in insert statements? | |
| propertySelectFragment | back to summary |
|---|---|
| public String propertySelectFragment(String alias, String suffix, boolean allProperties) Given a query alias and an identifying suffix, render the property select fragment. | |
| propertySelectFragmentFragment | back to summary |
|---|---|
| public SelectFragment propertySelectFragmentFragment(String alias, String suffix, boolean allProperties) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Queryable. | |
| private final String | |
| public static final Queryable. | |
| public static final Queryable. |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| CLASS | back to summary |
|---|---|
| public static final Queryable. | |
| name | back to summary |
|---|---|
| private final String name | |
| SUBCLASS | back to summary |
|---|---|
| public static final Queryable. | |
| SUPERCLASS | back to summary |
|---|---|
| public static final Queryable. | |
| Declarer | back to summary |
|---|---|
| public Declarer(String name) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |