/*
 *  The MIT License (MIT)
 *
 *  View the full license at:
 *  https://github.com/hendrixjoseph/FamilyTree/blob/master/LICENSE.md
 *
 *  Copyright (c) 2015 Joseph Hendrix
 *
 *  Hosted on GitHub at https://github.com/hendrixjoseph/FamilyTree
 *
 */

package edu.wright.hendrix11.familyTree.bean.place;

import edu.wright.hendrix11.familyTree.bean.AbstractBean;
import edu.wright.hendrix11.familyTree.dataBean.DataBean;
import edu.wright.hendrix11.familyTree.entity.place.City;

import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.faces.view.ViewScoped;
import javax.inject.Named;

import java.io.Serializable;

/**
 * @author Joe
 */
@Named
@ViewScoped
public class CityBean extends AbstractBean<City> implements Serializable
{
    @EJB
    private DataBean<City, Integer> cityDataBean;

    /**
     *
     */
    @Override
    @PostConstruct
    protected void initialize()
    {
        cityDataBean.initialize(City.class);
        super.initialize(cityDataBean);
    }
}

@@ -647,16 +647,24 @@
 thor Joe
+ Hendrix
 %0A */%0A@Na

Update CityBean.java