|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface ManagedType
Context managed 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 | |
|---|---|
static class |
ManagedType.NameTransformer
|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.JpaModel |
|---|
JpaModel.JpaVersionIsCompatibleWith |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
JptResourceTypeReference.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer |
| Field Summary | |
|---|---|
static String |
NAME_PROPERTY
|
static org.eclipse.jpt.common.utility.transformer.Transformer<ManagedType,String> |
NAME_TRANSFORMER
|
| Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
TRANSFORMER |
| Method Summary | |
|---|---|
JavaResourceType |
getJavaResourceType()
Return the Java resource type. |
String |
getName()
Return the managed type's [fully-qualified] name. |
String |
getSimpleName()
Return the managed type's simple name. |
Class<? extends ManagedType> |
getType()
Return the managed type's type. |
String |
getTypeQualifiedName()
Return the persistent type's type-qualified name; i.e. the type's name without its package qualification. |
boolean |
isFor(String typeName)
Return whether the managed type applies to the specified type name qualified with '.' |
boolean |
isIn(IPackageFragment packageFragment)
Return whether the managed type resolves to a Java class in the specified package fragment. |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextModel |
|---|
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate |
| Methods inherited from interface org.eclipse.jpt.jpa.core.JpaModel |
|---|
getJpaPlatform, getJpaProject, getJpaProjectManager, getResource, stateChanged |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Methods inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
getResourceType |
| Field Detail |
|---|
static final String NAME_PROPERTY
static final org.eclipse.jpt.common.utility.transformer.Transformer<ManagedType,String> NAME_TRANSFORMER
| Method Detail |
|---|
Class<? extends ManagedType> getType()
OrmManagedTypeDefinition.getContextType(),
JavaManagedTypeDefinition.getType()String getName()
'.',
as opposed to '$'.
getSimpleName(),
getTypeQualifiedName()String getSimpleName()
getName(),
getTypeQualifiedName()String getTypeQualifiedName()
getName(),
getSimpleName()JavaResourceType getJavaResourceType()
boolean isFor(String typeName)
'.'.
boolean isIn(IPackageFragment packageFragment)
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||