else if(ptype.isEnum()) {
prop = new EnumPropertyValue(pname, pdata, obj == null ? null : (Enum<?>) obj);
}
else if(long.class == ptype || Long.class == ptype) {
prop = new LongPropertyValue(pname, pdata, (Long) obj);
}
else if(int.class == ptype || Integer.class == ptype) {
prop = new IntPropertyValue(pname, pdata, (Integer) obj);
}