Uses of Interface
org.eclipse.persistence.dynamic.DynamicType
-
Packages that use DynamicType Package Description org.eclipse.persistence.dynamic org.eclipse.persistence.exceptions org.eclipse.persistence.internal.dynamic org.eclipse.persistence.tools.schemaframework -
-
Uses of DynamicType in org.eclipse.persistence.dynamic
Methods in org.eclipse.persistence.dynamic that return DynamicType Modifier and Type Method Description DynamicTypeDynamicType. getParentType()DynamicTypeDynamicHelper. getType(String typeName)Lookup the dynamic type for an alias.static DynamicTypeDynamicHelper. getType(ClassDescriptor descriptor)static DynamicTypeDynamicHelper. getType(DynamicEntity entity)Provide access to the entity's type.DynamicTypeDynamicTypeBuilder. getType()Methods in org.eclipse.persistence.dynamic with parameters of type DynamicType Modifier and Type Method Description AggregateObjectMappingDynamicTypeBuilder. addAggregateObjectMapping(String name, DynamicType refType, boolean allowsNull)Add aAggregateObjectMapping(Embeddablein JPA) to theDynamicTypeBuilder.entityTypebeing built or extended.protected voidDynamicTypeBuilder. addDynamicClasses(DynamicClassLoader dcl, String className, DynamicType parentType)Register aDynamicClassWriterwith the providedDynamicClassLoaderso that a dynamic class can be generated when needed.voidDynamicTypeBuilder. addManyToManyMapping(String name, DynamicType refType, String relationshipTableName)Add aManyToManyMappingto theDynamicTypeBuilder.entityTypebeing built or extended.OneToManyMappingDynamicTypeBuilder. addOneToManyMapping(String name, DynamicType refType, String... fkFieldNames)Add aOneToManyMappingto theDynamicTypeBuilder.entityTypebeing built or extended.OneToOneMappingDynamicTypeBuilder. addOneToOneMapping(String name, DynamicType refType, String... fkFieldNames)AllowsOneToOneMapping(@OneToOne and @ManyToOne) mappings to be added to a dynamic type through API.voidDynamicHelper. addTypes(boolean createMissingTables, boolean generateFKConstraints, DynamicType... types)Add one or more EntityType instances to a session and optionally generate needed tables with or without FK constraints.Constructors in org.eclipse.persistence.dynamic with parameters of type DynamicType Constructor Description DynamicTypeBuilder(Class<?> dynamicClass, DynamicType parentType, String... tableNames)Create an EntityType for a new dynamic type.DynamicTypeBuilder(DynamicClassLoader dcl, ClassDescriptor descriptor, DynamicType parentType)Create an EntityTypeBuilder for an existing descriptor. -
Uses of DynamicType in org.eclipse.persistence.exceptions
Methods in org.eclipse.persistence.exceptions with parameters of type DynamicType Modifier and Type Method Description static DynamicExceptionDynamicException. invalidPropertyIndex(DynamicType type, int propertyIndex)Exception throw when attempting to access a dynamic property by index which does not have an associated mapping.static DynamicExceptionDynamicException. invalidPropertyName(DynamicType type, String propertyName)A request to get a persistent value from a DynamicEntity was made providing a propertyName that does not correspond to any mappings in the underlying descriptor. -
Uses of DynamicType in org.eclipse.persistence.internal.dynamic
Classes in org.eclipse.persistence.internal.dynamic that implement DynamicType Modifier and Type Class Description classDynamicTypeImplAn EntityType provides a metadata facade into the EclipseLink object-relational metadata (descriptors & mappings) with specific knowledge of the entity types being dynamic.Fields in org.eclipse.persistence.internal.dynamic declared as DynamicType Modifier and Type Field Description protected DynamicTypeDynamicTypeImpl. parentTypeMethods in org.eclipse.persistence.internal.dynamic that return DynamicType Modifier and Type Method Description DynamicTypeDynamicTypeImpl. getParentType()DynamicTypeDynamicPropertiesManager. getType()Methods in org.eclipse.persistence.internal.dynamic with parameters of type DynamicType Modifier and Type Method Description voidDynamicPropertiesManager. setType(DynamicType type)Constructors in org.eclipse.persistence.internal.dynamic with parameters of type DynamicType Constructor Description DynamicTypeImpl(ClassDescriptor descriptor, DynamicType parentType)Creation of an EntityTypeImpl for an existing Descriptor with mappings. -
Uses of DynamicType in org.eclipse.persistence.tools.schemaframework
Methods in org.eclipse.persistence.tools.schemaframework with parameters of type DynamicType Modifier and Type Method Description voidDynamicSchemaManager. createTables(boolean generateFKConstraints, DynamicType... entityTypes)voidDynamicSchemaManager. createTables(DynamicType... entityTypes)Create the database tables for one or more entityTypes.Method parameters in org.eclipse.persistence.tools.schemaframework with type arguments of type DynamicType Modifier and Type Method Description voidDynamicSchemaManager. createTables(boolean generateFKConstraints, Collection<DynamicType> entityTypes)
-