|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JavaPersistentType
Context Java persistent type. 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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.core.context.PersistentType |
|---|
PersistentType.Owner |
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.jpt.core.context.PersistentType |
|---|
ATTRIBUTES_LIST, MAPPING_PROPERTY, NAME_PROPERTY, PARENT_PERSISTENT_TYPE_PROPERTY |
| Fields inherited from interface org.eclipse.jpt.core.context.AccessHolder |
|---|
DEFAULT_ACCESS_PROPERTY, SPECIFIED_ACCESS_PROPERTY |
| Method Summary | |
|---|---|
java.util.ListIterator<JavaPersistentAttribute> |
attributes()
Return a read-only iterator of the contained PersistentAttribute |
JavaPersistentAttribute |
getAttributeNamed(java.lang.String attributeName)
Return the attribute named attributeName if
it exists locally on this type |
JavaTypeMapping |
getMapping()
|
JavaResourcePersistentType |
getResourcePersistentType()
|
boolean |
hasAnyAttributePersistenceAnnotations()
Return whether any attribute in this persistent type contains a mapping annotation |
PersistentAttribute |
resolveAttribute(java.lang.String attributeName)
Resolve and return the attribute named attributeName if it
is distinct and exists within the context of this type |
void |
update()
Re-synchronize the Java persistent type with its resource type. |
void |
update(JavaResourcePersistentType jrpt)
Synchronize the Java persistent type with the specified resource type. |
| Methods inherited from interface org.eclipse.jpt.core.context.PersistentType |
|---|
allAttributeNames, allAttributes, ancestors, attributeNames, attributesSize, getMappingKey, getName, getOwnerDefaultAccess, getOwnerOverrideAccess, getParentPersistentType, getShortName, inheritanceHierarchy, isMapped, setMappingKey, validate |
| Methods inherited from interface org.eclipse.jpt.core.JpaStructureNode |
|---|
dispose, getContentType, getId, getSelectionTextRange, getStructureNode |
| Methods inherited from interface org.eclipse.jpt.core.context.AccessHolder |
|---|
getAccess, getDefaultAccess, getSpecifiedAccess, setSpecifiedAccess |
| Methods inherited from interface org.eclipse.jpt.core.context.java.JavaJpaContextNode |
|---|
getValidationTextRange, javaCompletionProposals, validate |
| Method Detail |
|---|
JavaTypeMapping getMapping()
getMapping in interface PersistentTypejava.util.ListIterator<JavaPersistentAttribute> attributes()
PersistentTypePersistentAttribute
attributes in interface PersistentTypeJavaPersistentAttribute getAttributeNamed(java.lang.String attributeName)
PersistentTypeattributeName if
it exists locally on this type
getAttributeNamed in interface PersistentTypePersistentAttribute resolveAttribute(java.lang.String attributeName)
attributeName if it
is distinct and exists within the context of this type
resolveAttribute in interface PersistentTypeboolean hasAnyAttributePersistenceAnnotations()
JavaResourcePersistentType getResourcePersistentType()
void update(JavaResourcePersistentType jrpt)
JpaProject.update()void update()
JpaProject.update()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||