Example #1
0
 /** 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);
 }
Example #2
0
 /** 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);
 }