3 * Copyright (C) 2009 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.cdm
.persistence
.dao
.initializer
;
12 import eu
.etaxonomy
.cdm
.model
.common
.Marker
;
15 * @author a.kohlbecker
19 public class MarkerTypeAutoInitializer
extends AutoPropertyInitializer
<Marker
> {
23 * @see eu.etaxonomy.cdm.persistence.dao.BeanAutoInitializer#initialize(eu.etaxonomy.cdm.model.common.CdmBase)
26 public void initialize(Marker bean
) {
27 beanInitializer
.initializeInstance(bean
.getMarkerType());
31 public String
hibernateFetchJoin(Class
<?
> clazz
, String beanAlias
){
32 return String
.format(" LEFT JOIN FETCH %s.markerType ", beanAlias
);