Ejemplo n.º 1
0
 /**
  * Get Period Control
  *
  * @param DocBaseType Document Base Type
  * @return period control or null
  */
 public MPeriodControl getPeriodControl(String DocBaseType) {
   if (DocBaseType == null) return null;
   getPeriodControls(false);
   for (MPeriodControl element : m_controls) {
     //	log.fine("getPeriodControl - " + 1 + " - " + m_controls[i]);
     if (DocBaseType.equals(element.getDocBaseType())) return element;
   }
   return null;
 } //	getPeriodControl