|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DynamicType
An EntityType provides a metadata facade into the EclipseLink object-relational metadata (descriptors & mappings) with specific knowledge of the entity types being dynamic.
Field Summary | |
---|---|
static String |
DESCRIPTOR_PROPERTY
Property name used to store the EntityTypeImpl on each descriptor in its ClassDescriptor.properties . |
Method Summary | |
---|---|
boolean |
containsProperty(String propertyName)
|
String |
getClassName()
|
ClassDescriptor |
getDescriptor()
|
Class<?> |
getJavaClass()
|
String |
getName()
Return the entity type's name. |
int |
getNumberOfProperties()
The current number of properties. |
DynamicType |
getParentType()
|
List<String> |
getPropertiesNames()
The current names of properties. |
int |
getPropertyIndex(String propertyName)
|
Class<?> |
getPropertyType(int propertyIndex)
|
Class<?> |
getPropertyType(String propertyName)
|
DynamicEntity |
newDynamicEntity()
|
Field Detail |
---|
static final String DESCRIPTOR_PROPERTY
ClassDescriptor.properties
. The EntityType instance is generally
populated by the DynamicTypeBuilder
and should only be done when
properly initialized.
Method Detail |
---|
String getName()
ClassDescriptor.getAlias()
String getClassName()
DynamicType getParentType()
int getNumberOfProperties()
Note: Some implementations support adding mapped attributes at runtime so it is best to avoid caching the result.
List<String> getPropertiesNames()
Note: Some implementations support adding mapped attributes at runtime so it is best to avoid caching the result.
boolean containsProperty(String propertyName)
int getPropertyIndex(String propertyName)
Class<?> getJavaClass()
DynamicEntity newDynamicEntity()
Class<?> getPropertyType(int propertyIndex)
Class<?> getPropertyType(String propertyName)
ClassDescriptor getDescriptor()
ClassDescriptor
for the mapped type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |