|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AttributeMapping
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.lang.String |
getKey()
Return a unique key for the IPersistentAttributeMapping. |
java.lang.String |
getName()
|
PersistentAttribute |
getPersistentAttribute()
|
java.lang.String |
getPrimaryKeyColumnName()
If the mapping is for a primary key column, return the column's name, otherwise return null. |
TypeMapping |
getTypeMapping()
Return the mapping for the attribute mapping's attribute's type. |
boolean |
isDefault()
|
boolean |
isIdMapping()
Return whether the "attribute" mapping is for an ID. |
boolean |
isOverridableAssociationMapping()
Return whether the "association" mapping can be overridden. |
boolean |
isOverridableAttributeMapping()
Return whether the "attribute" mapping can be overridden. |
boolean |
isOwnedBy(RelationshipMapping mapping)
Return whether the given mapping manages a relationship with this mapping |
boolean |
shouldValidateAgainstDatabase()
Return whether any database metadata specific validation should occur. |
| Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode |
|---|
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, postUpdate |
| Methods inherited from interface org.eclipse.jpt.core.JpaNode |
|---|
getJpaProject, getParent |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Methods inherited from interface org.eclipse.jpt.core.IResourcePart |
|---|
getResource |
| Method Detail |
|---|
PersistentAttribute getPersistentAttribute()
java.lang.String getName()
boolean isDefault()
java.lang.String getKey()
boolean isOverridableAttributeMapping()
boolean isOverridableAssociationMapping()
TypeMapping getTypeMapping()
boolean isIdMapping()
java.lang.String getPrimaryKeyColumnName()
boolean isOwnedBy(RelationshipMapping mapping)
boolean shouldValidateAgainstDatabase()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||