public static MobileOperation convertToMobileOperation(Operation operation) {
   MobileOperation mobileOperation = new MobileOperation();
   MobileOperationProperty operationProperty;
   List<MobileOperationProperty> properties = new LinkedList<MobileOperationProperty>();
   mobileOperation.setFeatureCode(operation.getCode());
   mobileOperation.setCreatedDate(new Date().getTime());
   Properties operationProperties = operation.getProperties();
   for (String key : operationProperties.stringPropertyNames()) {
     operationProperty = new MobileOperationProperty();
     operationProperty.setProperty(key);
     operationProperty.setValue(operationProperties.getProperty(key));
     properties.add(operationProperty);
   }
   mobileOperation.setProperties(properties);
   return mobileOperation;
 }