|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypeMapping
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Method Summary | ||
---|---|---|
java.util.Iterator<java.lang.String> |
allOverridableAssociationNames()
Return an Iterator of association names. |
|
java.util.Iterator<PersistentAttribute> |
allOverridableAssociations()
Return an Iterator of associations. |
|
java.util.Iterator<java.lang.String> |
allOverridableAttributeNames()
Return an Iterator of attributes names. |
|
java.util.Iterator<PersistentAttribute> |
allOverridableAttributes()
Return an Iterator of attributes. |
|
java.util.Iterator<java.lang.String> |
associatedTableNamesIncludingInherited()
Return the names of the type mapping's "associated" tables, which includes the primary table and the collection of secondary tables, as well as the names of all the inherited "associated" tables. |
|
java.util.Iterator<Table> |
associatedTables()
Return the type mapping's "associated" tables, which includes the primary table and the collection of secondary tables. |
|
java.util.Iterator<Table> |
associatedTablesIncludingInherited()
Return the type mapping's "associated" tables, which includes the primary table and the collection of secondary tables, as well as all inherited "associated" tables. |
|
boolean |
attributeMappingKeyAllowed(java.lang.String attributeMappingKey)
Return whether the given attribute mapping key is valid for this particular type mapping (for example, id's are not valid for an embeddable type mapping) |
|
Schema |
getDbSchema()
|
|
Table |
getDbTable(java.lang.String tableName)
return the resolved associated db table with the passed in name |
|
java.lang.String |
getKey()
Return a unique key for the ITypeMapping. |
|
PersistentType |
getPersistentType()
|
|
Table |
getPrimaryDbTable()
return the resolved primary db table |
|
java.lang.String |
getTableName()
Return the type mapping's primary table name, null if a primary table does not apply |
|
boolean |
isMapped()
|
|
java.util.Iterator<java.lang.String> |
overridableAssociationNames()
Return an Iterator of association names. |
|
|
overridableAssociations()
Return an Iterator of associations that can be overriden. |
|
java.util.Iterator<java.lang.String> |
overridableAttributeNames()
Return an Iterator of attributes names. |
|
|
overridableAttributes()
Return an Iterator of attributes. |
|
boolean |
tableNameIsInvalid(java.lang.String tableName)
Return whether the specified table is invalid for any annotations associated with the type mapping. |
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode |
---|
getEntityMappings, getOrmPersistentType, getPersistenceUnit |
Methods inherited from interface org.eclipse.jpt.core.JpaNode |
---|
getJpaProject, getParent, getResource |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Method Detail |
---|
java.lang.String getKey()
PersistentType getPersistentType()
boolean isMapped()
java.lang.String getTableName()
java.util.Iterator<Table> associatedTables()
java.util.Iterator<Table> associatedTablesIncludingInherited()
java.util.Iterator<java.lang.String> associatedTableNamesIncludingInherited()
Table getPrimaryDbTable()
Schema getDbSchema()
Table getDbTable(java.lang.String tableName)
boolean tableNameIsInvalid(java.lang.String tableName)
<T extends PersistentAttribute> java.util.Iterator<T> overridableAttributes()
java.util.Iterator<java.lang.String> overridableAttributeNames()
java.util.Iterator<PersistentAttribute> allOverridableAttributes()
overridableAttributes()
and PersistentType.inheritanceHierarchy()
java.util.Iterator<java.lang.String> allOverridableAttributeNames()
overridableAttributeNames()
and PersistentType.inheritanceHierarchy()
<T extends PersistentAttribute> java.util.Iterator<T> overridableAssociations()
java.util.Iterator<java.lang.String> overridableAssociationNames()
java.util.Iterator<PersistentAttribute> allOverridableAssociations()
overridableAssociations()
and PersistentType.inheritanceHierarchy()
java.util.Iterator<java.lang.String> allOverridableAssociationNames()
overridableAssociationNames()
and PersistentType.inheritanceHierarchy()
boolean attributeMappingKeyAllowed(java.lang.String attributeMappingKey)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |