code: public static Lock toLock(Entity entity) {
  		return new Lock(entity.getKey().getName(), 
  				(String) entity.getProperty(TRANSACTION_PROPERTY), 
  				(Date) entity.getProperty(TIMESTAMP_PROPERTY));
  	}
docs: Translates Google App Engine Datastore entity to Acid House {@code Lock}
  entity.
  
  @param entity oogle App Engine Datastore entity.
  @return Acid House {@code Lock} entity.