org.eclipse.jpt.jpa.core.context.java
Interface JavaPersistentType
- All Superinterfaces:
- AccessReference, IAdaptable, JavaElementReference, JavaManagedType, JpaContextModel, JpaModel, JpaStructureNode, JptResourceTypeReference, ManagedType, Model, PersistentType, SpecifiedAccessReference
public interface JavaPersistentType
- extends PersistentType, JavaManagedType
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.
- Since:
- 2.0
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.PersistentType |
getAllAttributeNames, getAllAttributes, getAncestors, getAttributeNames, getAttributesSize, getAttributeTypeBinding, getInheritanceHierarchy, getManagedTypeType, getMappingKey, getOverriddenPersistentType, getSuperPersistentType, isMapped, resolveAttribute, setMappingKey |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextModel |
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate |
ATTRIBUTES_LIST
static final String ATTRIBUTES_LIST
- See Also:
- Constant Field Values
getStructureType
Class<JavaPersistentType> getStructureType()
- Description copied from interface:
JpaStructureNode
- Return the structure node's type.
This is used to find the appropriate UI provider for building the
structure node's JPA Details page.
- Specified by:
getStructureType in interface JpaStructureNode
getMapping
JavaTypeMapping getMapping()
- Description copied from interface:
PersistentType
- Return the persistent type's mapping.
Set the mapping via
PersistentType.setMappingKey(String).
- Specified by:
getMapping in interface PersistentType
getAttributes
org.eclipse.jpt.common.utility.iterable.ListIterable<JavaSpecifiedPersistentAttribute> getAttributes()
- Description copied from interface:
PersistentType
- Return the persistent type's persistent attributes.
- Specified by:
getAttributes in interface PersistentType
getAttributeNamed
JavaSpecifiedPersistentAttribute getAttributeNamed(String attributeName)
- Description copied from interface:
PersistentType
- Return the persistent attribute with the specified name,
if it exists locally on the persistent type (as opposed to in its
inheritance hierarchy).
- Specified by:
getAttributeNamed in interface PersistentType
hasAnyAnnotatedAttributes
boolean hasAnyAnnotatedAttributes()
- Return whether any attribute in this persistent type is annotated
getAttributeFor
JavaSpecifiedPersistentAttribute getAttributeFor(JavaResourceAttribute javaResourceAttribute)
Copyright (c) 2012 Oracle. All rights reserved.