public static Object translateOutputWSRPProducer(BaseModel<?> oldModel) {
    WSRPProducerClp newModel = new WSRPProducerClp();

    newModel.setModelAttributes(oldModel.getModelAttributes());

    newModel.setWSRPProducerRemoteModel(oldModel);

    return newModel;
  }
  public static Object translateInputWSRPProducer(BaseModel<?> oldModel) {
    WSRPProducerClp oldClpModel = (WSRPProducerClp) oldModel;

    BaseModel<?> newModel = oldClpModel.getWSRPProducerRemoteModel();

    newModel.setModelAttributes(oldClpModel.getModelAttributes());

    return newModel;
  }