|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
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 java.lang.String |
DESCRIPTOR_PROPERTY Property name used to store the EntityTypeImpl on each descriptor in its ClassDescriptor.properties . |
Method Summary | |
---|---|
boolean |
containsProperty(java.lang.String propertyName) |
java.lang.String |
getClassName() |
ClassDescriptor |
getDescriptor() |
java.lang.Class<? extends DynamicEntity> |
getJavaClass() |
java.lang.String |
getName() Return the entity type's name. |
int |
getNumberOfProperties() The current number of properties. |
DynamicType |
getParentType() |
java.util.List<java.lang.String> |
getPropertiesNames() The current names of properties. |
int |
getPropertyIndex(java.lang.String propertyName) |
java.lang.Class<?> |
getPropertyType(int propertyIndex) |
java.lang.Class<?> |
getPropertyType(java.lang.String propertyName) |
DynamicEntity |
newDynamicEntity() |
Field Detail |
---|
static final java.lang.String DESCRIPTOR_PROPERTY
ClassDescriptor.properties
. The EntityType instance is generally populated by the DynamicTypeBuilder
and should only be done when properly initialized.
Method Detail |
---|
java.lang.String getName()
ClassDescriptor.getAlias()
java.lang.String getClassName()
DynamicType getParentType()
int getNumberOfProperties()
Note: Some implementations support adding mapped attributes at runtime so it is best to avoid caching the result.
java.util.List<java.lang.String> getPropertiesNames()
Note: Some implementations support adding mapped attributes at runtime so it is best to avoid caching the result.
boolean containsProperty(java.lang.String propertyName)
int getPropertyIndex(java.lang.String propertyName)
java.lang.Class<? extends DynamicEntity> getJavaClass()
DynamicEntity newDynamicEntity()
java.lang.Class<?> getPropertyType(int propertyIndex)
java.lang.Class<?> getPropertyType(java.lang.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 |