I found this code for a generic DAO interface while browsing around: public interface GenericDAO<T, ID extends Serializable> {
I have a class hierachy like this public class A { protected开发者_JAVA百科 class B { String Name { get; set; }