/** Grab Min Occurs by looking in PropertyInfo map if no entry found, revert to parent class */ public int getMinOccurs(QName name) { BeanTypePropertyInfo info = getPropertyInfo(name); if (info != null) return info.getMinOccurs(); return super.getMinOccurs(name); }
/** Grab Nillable by looking in PropertyInfo map if no entry found, revert to parent class */ public boolean isNillable(QName name) { BeanTypePropertyInfo info = getPropertyInfo(name); if (info != null) return info.isNillable(); return super.isNillable(name); }