Beispiel #1
0
 /**
  * Returns the valueAt attribute of the BPMsList object
  *
  * @param row The Parameter
  * @param column The Parameter
  * @return The valueAt value
  */
 public Object getValueAt(int row, int column) {
   BPM_Element elm = listModel.elementAt(row);
   if (column == 0) {
     return elm.getName();
   }
   return elm.isActiveObj();
 }
Beispiel #2
0
 /**
  * Returns the bPM attribute of the BPMsTable object
  *
  * @param name The Parameter
  * @return The bPM value
  */
 public BPM_Element getBPM(String name) {
   BPM_Element bpmElm = null;
   Enumeration<BPM_Element> bpm_enum = listModel.elements();
   while (bpm_enum.hasMoreElements()) {
     BPM_Element bpmElm1 = bpm_enum.nextElement();
     if (bpmElm1.getName().equals(name)) {
       bpmElm = bpmElm1;
     }
   }
   return bpmElm;
 }