|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JavaEntity
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 |
|---|
| Fields inherited from interface org.eclipse.jpt.core.context.GeneratorHolder |
|---|
SEQUENCE_GENERATOR_PROPERTY, TABLE_GENERATOR_PROPERTY |
| Fields inherited from interface org.eclipse.jpt.core.context.QueryContainer |
|---|
NAMED_NATIVE_QUERIES_LIST, NAMED_QUERIES_LIST |
| Fields inherited from interface org.eclipse.jpt.core.context.IdClassHolder |
|---|
ID_CLASS_PROPERTY |
| Fields inherited from interface org.eclipse.jpt.core.context.GeneratorHolder |
|---|
SEQUENCE_GENERATOR_PROPERTY, TABLE_GENERATOR_PROPERTY |
| Method Summary | |
|---|---|
JavaNamedNativeQuery |
addNamedNativeQuery(int index)
Add a named native query to the entity return the object representing it. |
JavaNamedQuery |
addNamedQuery(int index)
Add a named query to the entity return the object representing it. |
JavaPrimaryKeyJoinColumn |
addSpecifiedPrimaryKeyJoinColumn(int index)
|
JavaSecondaryTable |
addSpecifiedSecondaryTable()
Add a specified secondary table to the entity return the object representing it. |
JavaSecondaryTable |
addSpecifiedSecondaryTable(int index)
Add a specified secondary table to the entity return the object representing it. |
java.util.ListIterator<JavaAssociationOverride> |
associationOverrides()
Return a list iterator of the association overrides whether specified or default. |
java.util.ListIterator<JavaAttributeOverride> |
attributeOverrides()
Return a list iterator of the attribute overrides whether specified or default. |
JavaAttributeOverride |
getAttributeOverrideNamed(java.lang.String name)
Return the attribute overrides, whether specified or default, with the given name. |
JavaPrimaryKeyJoinColumn |
getDefaultPrimaryKeyJoinColumn()
|
JavaDiscriminatorColumn |
getDiscriminatorColumn()
|
JavaTable |
getTable()
Return the table for this entity, either specified or default. |
java.util.ListIterator<JavaNamedNativeQuery> |
namedNativeQueries()
Return a list iterator of the specified named native queries. |
java.util.ListIterator<JavaNamedQuery> |
namedQueries()
Return a list iterator of the named queries. |
java.util.Iterator<JavaPersistentAttribute> |
overridableAssociations()
Return an Iterator of associations that can be overriden. |
java.util.Iterator<JavaPersistentAttribute> |
overridableAttributes()
Return an Iterator of attributes. |
java.util.ListIterator<JavaPrimaryKeyJoinColumn> |
primaryKeyJoinColumns()
|
java.util.ListIterator<JavaSecondaryTable> |
secondaryTables()
Return a list iterator of the secondary tables whether specified or default. |
java.util.ListIterator<JavaAssociationOverride> |
specifiedAssociationOverrides()
Return a list iterator of the specified association overrides. |
java.util.ListIterator<JavaAttributeOverride> |
specifiedAttributeOverrides()
Return a list iterator of the specified attribute overrides. |
java.util.ListIterator<JavaPrimaryKeyJoinColumn> |
specifiedPrimaryKeyJoinColumns()
|
java.util.ListIterator<JavaSecondaryTable> |
specifiedSecondaryTables()
Return a list iterator of the specified secondary tables. |
java.util.ListIterator<JavaAssociationOverride> |
virtualAssociationOverrides()
Return the number of default association overrides. |
java.util.ListIterator<JavaAttributeOverride> |
virtualAttributeOverrides()
Return a list iterator of the virtual attribute overrides, those not specified. |
| Methods inherited from interface org.eclipse.jpt.core.context.java.JavaTypeMapping |
|---|
correspondingAnnotationNames, getAnnotationName, getPersistentType, initialize, update |
| Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode |
|---|
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, postUpdate |
| Methods inherited from interface org.eclipse.jpt.core.context.java.JavaJpaContextNode |
|---|
getValidationTextRange, javaCompletionProposals, validate |
| Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode |
|---|
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, postUpdate |
| Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode |
|---|
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, postUpdate |
| Methods inherited from interface org.eclipse.jpt.core.context.GeneratorHolder |
|---|
removeSequenceGenerator, removeTableGenerator |
| Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode |
|---|
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, postUpdate |
| Methods inherited from interface org.eclipse.jpt.core.context.QueryContainer |
|---|
moveNamedNativeQuery, moveNamedQuery, namedNativeQueriesSize, namedQueriesSize, removeNamedNativeQuery, removeNamedNativeQuery, removeNamedQuery, removeNamedQuery |
| Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode |
|---|
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, postUpdate |
| Methods inherited from interface org.eclipse.jpt.core.context.IdClassHolder |
|---|
getIdClass, getIdClassEnclosingTypeSeparator, setIdClass |
| Methods inherited from interface org.eclipse.jpt.core.context.java.JavaGeneratorHolder |
|---|
addSequenceGenerator, addTableGenerator, getSequenceGenerator, getTableGenerator |
| Methods inherited from interface org.eclipse.jpt.core.context.GeneratorHolder |
|---|
removeSequenceGenerator, removeTableGenerator |
| Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode |
|---|
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, postUpdate |
| Method Detail |
|---|
JavaTable getTable()
Entity
getTable in interface EntityJavaDiscriminatorColumn getDiscriminatorColumn()
getDiscriminatorColumn in interface Entityjava.util.ListIterator<JavaSecondaryTable> secondaryTables()
Entity
secondaryTables in interface Entityjava.util.ListIterator<JavaSecondaryTable> specifiedSecondaryTables()
Entity
specifiedSecondaryTables in interface EntityJavaSecondaryTable addSpecifiedSecondaryTable(int index)
Entity
addSpecifiedSecondaryTable in interface EntityJavaSecondaryTable addSpecifiedSecondaryTable()
Entity
addSpecifiedSecondaryTable in interface Entityjava.util.ListIterator<JavaPrimaryKeyJoinColumn> primaryKeyJoinColumns()
primaryKeyJoinColumns in interface EntityJavaPrimaryKeyJoinColumn getDefaultPrimaryKeyJoinColumn()
getDefaultPrimaryKeyJoinColumn in interface Entityjava.util.ListIterator<JavaPrimaryKeyJoinColumn> specifiedPrimaryKeyJoinColumns()
specifiedPrimaryKeyJoinColumns in interface EntityJavaPrimaryKeyJoinColumn addSpecifiedPrimaryKeyJoinColumn(int index)
addSpecifiedPrimaryKeyJoinColumn in interface Entityjava.util.ListIterator<JavaAttributeOverride> attributeOverrides()
Entity
attributeOverrides in interface Entityjava.util.ListIterator<JavaAttributeOverride> specifiedAttributeOverrides()
EntityAttributeOverride.setVirtual(boolean) to add/remove the attribute
override from the source
specifiedAttributeOverrides in interface Entityjava.util.ListIterator<JavaAttributeOverride> virtualAttributeOverrides()
Entity
virtualAttributeOverrides in interface EntityJavaAttributeOverride getAttributeOverrideNamed(java.lang.String name)
Entity
getAttributeOverrideNamed in interface Entityjava.util.ListIterator<JavaAssociationOverride> associationOverrides()
Entity
associationOverrides in interface Entityjava.util.ListIterator<JavaAssociationOverride> specifiedAssociationOverrides()
EntityAssociationOverride.setVirtual(boolean) to add/remove the association
override from the source
specifiedAssociationOverrides in interface Entityjava.util.ListIterator<JavaAssociationOverride> virtualAssociationOverrides()
Entity
virtualAssociationOverrides in interface Entityjava.util.ListIterator<JavaNamedQuery> namedQueries()
QueryContainer
namedQueries in interface QueryContainerJavaNamedQuery addNamedQuery(int index)
QueryContainer
addNamedQuery in interface QueryContainerjava.util.ListIterator<JavaNamedNativeQuery> namedNativeQueries()
QueryContainer
namedNativeQueries in interface QueryContainerJavaNamedNativeQuery addNamedNativeQuery(int index)
QueryContainer
addNamedNativeQuery in interface QueryContainerjava.util.Iterator<JavaPersistentAttribute> overridableAttributes()
TypeMapping
overridableAttributes in interface JavaTypeMappingoverridableAttributes in interface TypeMappingjava.util.Iterator<JavaPersistentAttribute> overridableAssociations()
TypeMapping
overridableAssociations in interface JavaTypeMappingoverridableAssociations in interface TypeMapping
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||