public class ServiceEntity {
@Branch(key="serviceTypeId",parent="superId")
private VdmServicetype vdmServicetype;
@Leaf(key="serviceName",parent="serviceTypeId")
private VdmServiceinfo vdmServiceinfo;
@Children
private Set<ServiceEntity> children;
}
比如这个实体类,我想通过只传入一个ServiceEntity.class,然后去读他的属性,读出来VdmServicetype.class 和 VdmServiceinfo.class, 能做到么?