Beispiel #1
0
 /* (non-Javadoc)
  * @see net.cbtltd.client.panel.AbstractPopup#getValue(java.lang.Object)
  */
 private License getValue(License license) {
   license.setState(state);
   license.setId(id);
   license.setOrganizationid(AbstractRoot.getOrganizationid());
   license.setActorid(AbstractRoot.getActorid());
   license.setId(id);
   license.setUpstreamid(AbstractRoot.getOrganizationid());
   license.setDownstreamid(downstreamidField.getValue());
   license.setProductid(productField.getValue()); // TODO: set null for zero???
   license.setType(typeField.getValue());
   license.setWait(waitField.getValue());
   license.setFromdate(fromtodateField.getValue());
   license.setTodate(fromtodateField.getTovalue());
   license.setSubscription(subscriptionField.getValue());
   license.setTransaction(transactionField.getValue());
   license.setUpstream(upstreamField.getValue());
   license.setDownstream(downstreamField.getValue());
   license.setNotes(notesField.getValue());
   Log.debug("getValue " + license);
   return license;
 }