public class DynamicTypeImpl extends Object implements DynamicType
DESCRIPTOR_PROPERTY| Constructor and Description |
|---|
DynamicTypeImpl(ClassDescriptor descriptor,
DynamicType parentType)
Creation of an EntityTypeImpl for an existing Descriptor with mappings.
|
public DynamicTypeImpl(ClassDescriptor descriptor, DynamicType parentType)
descriptor - public ClassDescriptor getDescriptor()
getDescriptor in interface DynamicTypeClassDescriptor for the mapped typepublic void setDescriptor(ClassDescriptor descriptor)
public DynamicPropertiesManager getDynamicPropertiesManager()
public void setDynamicPropertiesManager(DynamicPropertiesManager dpm)
public DynamicType getParentType()
getParentType in interface DynamicTypepublic List<DatabaseMapping> getMappings()
public String getName()
DynamicTypeClassDescriptor.getAlias()getName in interface DynamicTypeDynamicType.getName()public String getClassName()
getClassName in interface DynamicTypepublic int getNumberOfProperties()
DynamicTypeNote: Some implementations support adding mapped attributes at runtime so it is best to avoid caching the result.
getNumberOfProperties in interface DynamicTypepublic Set<DatabaseMapping> getMappingsRequiringInitialization()
public boolean isInitialized()
public boolean containsProperty(String propertyName)
containsProperty in interface DynamicTypepublic Class<? extends DynamicEntity> getJavaClass()
getJavaClass in interface DynamicTypepublic DatabaseMapping getMapping(String propertyName)
public List<String> getPropertiesNames()
DynamicTypeNote: Some implementations support adding mapped attributes at runtime so it is best to avoid caching the result.
getPropertiesNames in interface DynamicTypepublic Class<?> getPropertyType(String propertyName)
getPropertyType in interface DynamicTypepublic DynamicEntity newDynamicEntity()
newDynamicEntity in interface DynamicTypepublic void checkSet(String propertyName, Object value) throws DynamicException
DynamicExceptionpublic int getPropertyIndex(String propertyName)
getPropertyIndex in interface DynamicTypepublic Class<?> getPropertyType(int propertyIndex)
getPropertyType in interface DynamicTypeEclipseLink 2.6.3, "build v20160428-59c81c5" API Reference