org.eclipse.jpt.jpa.core.context.java
Interface JavaPersistentType
- All Superinterfaces:
- AccessHolder, IAdaptable, JavaElementReference, JavaManagedType, JpaContextNode, JpaNode, JpaStructureNode, JptResourceTypeReference, ManagedType, Model, PersistentType, ReadOnlyAccessHolder
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, getMappingKey, getOverriddenPersistentType, getOwnerDefaultAccess, getOwnerOverrideAccess, getSuperPersistentType, isMapped, resolveAttribute, setMappingKey |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode |
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate |
ATTRIBUTES_LIST
static final String ATTRIBUTES_LIST
- See Also:
- Constant Field Values
getType
Class<? extends JavaPersistentType> getType()
- Description copied from interface:
ManagedType
- Return the managed type's type.
- Specified by:
getType in interface JavaManagedType- Specified by:
getType in interface JpaStructureNode- Specified by:
getType in interface ManagedType- Specified by:
getType in interface PersistentType
- See Also:
OrmManagedTypeDefinition.getContextType(),
JavaManagedTypeDefinition.getType()
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<JavaPersistentAttribute> getAttributes()
- Description copied from interface:
PersistentType
- Return the persistent type's persistent attributes.
- Specified by:
getAttributes in interface PersistentType
getAttributeNamed
JavaPersistentAttribute 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
JavaPersistentAttribute getAttributeFor(JavaResourceAttribute javaResourceAttribute)
Copyright (c) 2012 Oracle. All rights reserved.