@Override
  public schemway.core.models.RemoteJob toModel(
      final schemway.core.entities.RemoteJobEntity entity) {
    Assert.notNull(entity, ENTITY_MUST_NOT_BE_NULL);

    final schemway.core.models.RemoteJob model = new schemway.core.models.RemoteJob();
    model.setId(entity.getId());
    model.setRequestUrl(entity.getRequestUrl());
    model.setRequestMethod(entity.getRequestMethod());
    model.setAuthString(entity.getAuthString());
    model.setPostJson(entity.getPostJson());
    return model;
  }
  @Override
  public void populateEntity(
      final schemway.core.entities.RemoteJobEntity entity,
      final schemway.core.models.RemoteJob model) {
    Assert.notNull(entity, ENTITY_MUST_NOT_BE_NULL);
    Assert.notNull(model, USER_MUST_NOT_BE_NULL);

    entity.setId(model.getId());
    entity.setRequestUrl(model.getRequestUrl());
    entity.setRequestMethod(model.getRequestMethod());
    entity.setAuthString(model.getAuthString());
    entity.setPostJson(model.getPostJson());
  }