Skip to content
stemey edited this page Jul 3, 2012 · 4 revisions

A dynamic entity type provides reflective access to dyanmic entities. A dynamic entity is basically just a map and a string identifiying its EntityType. Dynamic entity types are built using an EntityTypeBuilder or an Atem TransformationBuilder.

Dynamic Entities can be configured to make sure that its primitive attributes are serializable by keeping the result of ´´PrimitiveType.serialize´´ in its internal map. You cannot lookup a dynamic entity by its associated class, because all dynamic entities share the same java class.

<bean id="dynamicEntity-repository"
	class="org.atemsource.atem.impl.dynamic.DynamicEntityTypeRepository">
	<property name="serializingPrimitiveValues" value="false" />
</bean>