|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersistentAttribute
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.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_MAPPING_PROPERTY
|
static java.lang.String |
NAME_PROPERTY
|
static java.lang.String |
SPECIFIED_MAPPING_PROPERTY
|
Method Summary | |
---|---|
java.lang.String |
getDefaultMappingKey()
Return the key for the attribute's "default" mapping. |
AttributeMapping |
getMapping()
Return the attribute's "specified" mapping, or if it is null return the "default" mapping. |
java.lang.String |
getMappingKey()
Return the key for the attribute's mapping. |
java.lang.String |
getName()
|
PersistentType |
getPersistentType()
|
java.lang.String |
getPrimaryKeyColumnName()
If the attribute is mapped to a primary key column, return the column's name, otherwise return null. |
AttributeMapping |
getSpecifiedMapping()
Return the attribute's "specified" mapping, could be null |
TypeMapping |
getTypeMapping()
|
boolean |
isIdAttribute()
Return whether the attribute's "attribute" mapping is for an ID. |
boolean |
isOverridableAssociation()
Return whether the attribute's "association" mapping can be overridden. |
boolean |
isOverridableAttribute()
Return whether the attribute's "attribute" mapping can be overridden. |
boolean |
isVirtual()
Return whether this attribute actually has a textual representation in its underlying resource (false = no) |
void |
setSpecifiedMappingKey(java.lang.String key)
Clients should call this method to set the attribute's 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 |
Methods inherited from interface org.eclipse.jpt.core.JpaStructureNode |
---|
dispose, getId, getSelectionTextRange, getStructureNode |
Methods inherited from interface org.eclipse.jpt.core.JpaNode |
---|
getJpaProject, getParent, getResource |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Field Detail |
---|
static final java.lang.String NAME_PROPERTY
static final java.lang.String SPECIFIED_MAPPING_PROPERTY
static final java.lang.String DEFAULT_MAPPING_PROPERTY
Method Detail |
---|
java.lang.String getName()
java.lang.String getMappingKey()
java.lang.String getDefaultMappingKey()
AttributeMapping getMapping()
AttributeMapping getSpecifiedMapping()
void setSpecifiedMappingKey(java.lang.String key)
TypeMapping getTypeMapping()
PersistentType getPersistentType()
java.lang.String getPrimaryKeyColumnName()
boolean isOverridableAttribute()
boolean isOverridableAssociation()
boolean isIdAttribute()
boolean isVirtual()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |