public interface DynamicType
Modifier and Type | Field and Description |
---|---|
static String |
DESCRIPTOR_PROPERTY
Property name used to store the EntityTypeImpl on each descriptor in its
ClassDescriptor.properties . |
Modifier and Type | Method and Description |
---|---|
boolean |
containsProperty(String propertyName) |
String |
getClassName() |
ClassDescriptor |
getDescriptor() |
Class<? extends DynamicEntity> |
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() |
static final String DESCRIPTOR_PROPERTY
ClassDescriptor.properties
. The EntityType instance is generally
populated by the DynamicTypeBuilder
and should only be done when
properly initialized.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<? extends DynamicEntity> getJavaClass()
DynamicEntity newDynamicEntity()
Class<?> getPropertyType(int propertyIndex)
ClassDescriptor getDescriptor()
ClassDescriptor
for the mapped typeEclipseLink 2.3.2, "build v20111125-r10461" API Reference