|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PersistentAttribute
Persistent "attribute" (field or property)
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
|
| Fields inherited from interface org.eclipse.jpt.core.context.AccessHolder |
|---|
DEFAULT_ACCESS_PROPERTY, SPECIFIED_ACCESS_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 attribute's "default" mapping. |
java.lang.String |
getMappingKey()
Return the key for the attribute's mapping. |
java.lang.String |
getName()
|
PersistentType |
getOwningPersistentType()
Return the persistent type that owns this attribute |
TypeMapping |
getOwningTypeMapping()
Return the mapping of the owning persistent type |
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. |
java.lang.String |
getTypeName()
Return the resolved, qualified name of the attribute's type (e.g. |
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.JpaStructureNode |
|---|
dispose, getId, getResourceType, getSelectionTextRange, getStructureNode |
| Methods inherited from interface org.eclipse.jpt.core.context.AccessHolder |
|---|
getAccess, getDefaultAccess, getSpecifiedAccess, setSpecifiedAccess |
| Field Detail |
|---|
static final java.lang.String NAME_PROPERTY
static final java.lang.String DEFAULT_MAPPING_PROPERTY
static final java.lang.String SPECIFIED_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)
PersistentType getOwningPersistentType()
TypeMapping getOwningTypeMapping()
java.lang.String getPrimaryKeyColumnName()
java.lang.String getTypeName()
boolean isVirtual()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||