Interface VirtualEntity
public interface VirtualEntity
Marker interface for entities that represent a virtual (non-content) entity.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <T extends com.coremedia.objectserver.dataviews.AssumesIdentity>
TofBean(T bean) Replace the given bean with a bean that additionally implementsVirtualEntityand assumed the identity of the given bean.
-
Method Details
-
ofBean
static <T extends com.coremedia.objectserver.dataviews.AssumesIdentity> T ofBean(T bean) Replace the given bean with a bean that additionally implementsVirtualEntityand assumed the identity of the given bean.Caution: The method annotations of the given bean are not copied to the new bean. Especially the
Autowiredannotation is not copied.
-