org.eclipse.jpt.jpa.core.context
Interface OverrideContainer.Owner

All Known Subinterfaces:
AssociationOverrideContainer.Owner, AttributeOverrideContainer.Owner, JavaAssociationOverrideContainer.Owner, JavaAttributeOverrideContainer.Owner, JavaOverrideContainer.Owner, OrmAssociationOverrideContainer.Owner, OrmAttributeOverrideContainer.Owner, OrmOverrideContainer.Owner
Enclosing interface:
OverrideContainer

public static interface OverrideContainer.Owner


Method Summary
 java.util.Iterator<java.lang.String> allOverridableNames()
          Return all the names of the attributes/associations to be overridden.
 org.eclipse.jpt.jpa.core.internal.context.JptValidator buildColumnValidator(Override_ override, BaseColumn column, BaseColumn.Owner columnOwner, org.eclipse.jpt.jpa.core.internal.context.BaseColumnTextRangeResolver textRangeResolver)
           
 org.eclipse.jpt.jpa.core.internal.context.JptValidator buildValidator(Override_ override, OverrideContainer container, org.eclipse.jpt.jpa.core.internal.context.OverrideTextRangeResolver textRangeResolver)
           
 java.util.Iterator<java.lang.String> candidateTableNames()
          Return the table names that are valid for the override's column or join columns
 java.lang.String getDefaultTableName()
          Return the name of an override column's/join column's default table.
 TypeMapping getOverridableTypeMapping()
          Return the type mapping that contains the attributes/associations to be overridden.
 TypeMapping getTypeMapping()
          Return the mapping of the persistent type where the container is defined.
 Table resolveDbTable(java.lang.String tableName)
          Return the database table for the specified table name.
 boolean tableNameIsInvalid(java.lang.String tableName)
          Return whether the specified table cannot be explicitly specified by a column/join column.
 

Method Detail

getTypeMapping

TypeMapping getTypeMapping()
Return the mapping of the persistent type where the container is defined. (For example: for an entity, this would be the entity; for an embedded, this would be the type mapping where the embedded is defined.)


getOverridableTypeMapping

TypeMapping getOverridableTypeMapping()
Return the type mapping that contains the attributes/associations to be overridden. (Though the type mapping may not directly own them (i.e. they may be on a supertype mapping). (For example: for an entity, this would be the supertype mapping of that entity; for an embedded, this would be the target type mapping of the embedded.)


allOverridableNames

java.util.Iterator<java.lang.String> allOverridableNames()
Return all the names of the attributes/associations to be overridden. This is usually just all of the overridable names of the overridable type mapping.

See Also:
getOverridableTypeMapping()

getDefaultTableName

java.lang.String getDefaultTableName()
Return the name of an override column's/join column's default table.


tableNameIsInvalid

boolean tableNameIsInvalid(java.lang.String tableName)
Return whether the specified table cannot be explicitly specified by a column/join column.


resolveDbTable

Table resolveDbTable(java.lang.String tableName)
Return the database table for the specified table name.


candidateTableNames

java.util.Iterator<java.lang.String> candidateTableNames()
Return the table names that are valid for the override's column or join columns


buildValidator

org.eclipse.jpt.jpa.core.internal.context.JptValidator buildValidator(Override_ override,
                                                                      OverrideContainer container,
                                                                      org.eclipse.jpt.jpa.core.internal.context.OverrideTextRangeResolver textRangeResolver)

buildColumnValidator

org.eclipse.jpt.jpa.core.internal.context.JptValidator buildColumnValidator(Override_ override,
                                                                            BaseColumn column,
                                                                            BaseColumn.Owner columnOwner,
                                                                            org.eclipse.jpt.jpa.core.internal.context.BaseColumnTextRangeResolver textRangeResolver)