You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 31, 2025. It is now read-only.
@@ -96,7 +96,7 @@ This is how our Actor Table looks like:
96
96
| 3 | Al Pacino | Some Photos | Long Text | Reference to the Movie Table |
97
97
| ... | ... | ... | ... | ... |
98
98
99
-
Now our Java Class should look like this:
99
+
Now our Java class should look like this:
100
100
```Java
101
101
publicclassActor {
102
102
@@ -156,9 +156,9 @@ and add Getters and Setters for each attribute. The attribute types can be eithe
156
156
`String Array` for references on other Tables or `Attachment` for attached photos and files.
157
157
158
158
159
-
Now we got everything we need to create our first Airtable Table Object.
160
-
We use the Java class we just wrote to specify what kind of Object should be saved in our Table. Then we tell our `base`-Object which Table we want to access.
161
-
All the Records saved in our Airtable DB now should be in our local Table<JAVACLASS> Object.
159
+
Now we got everything we need to create our first Airtable table object.
160
+
We use the Java class we just wrote to specify what kind of Object should be saved in our table. Then we tell our `base`-object which table we want to access.
161
+
All the records saved in our Airtable Base now should be in our local Table<JAVACLASS> Object.
162
162
163
163
Example:
164
164
@@ -171,11 +171,11 @@ Example:
171
171
```
172
172
173
173
### Basic Objects
174
-
The Java implementation of the Airtable-API provides an implementation of basic Airtable objects such as attachments and Thumbnails.
174
+
The Java implementation of the Airtable-API provides an implementation of basic Airtable objects such as attachments and thumbnails.
175
175
Photos and attached files in Airtable are retrieved as `Attachment`s. Photos furthermore contain `Thumbnail`-Objects for different sizes.
176
176
177
177
#### Attachment
178
-
All the `Attachment`-Objects got the following attributes:
178
+
All the `Attachment`-objects got the following attributes:
179
179
180
180
* String `id`
181
181
* String `url`
@@ -188,10 +188,10 @@ Photos additionally have:
188
188
* Map<String,Thumbnail> `thumbnails`
189
189
190
190
#### Thumbnails
191
-
A Thumbnail is generated for image files in Airtable. Thumbnails are bound to an Attachment Object as a key/value Map.
192
-
The Keys are `small` and `large` for the different sizes. The Value is a `Thumbnail`-Object.
191
+
A Thumbnail is generated for image files in Airtable. Thumbnails are bound to an `Attachment`-object as a key/value Map.
192
+
The keys are `small` and `large` for the different sizes. The value is a `Thumbnail`-object.
193
193
194
-
A `Thumbnail`-Object got the following Attributes:
194
+
A `Thumbnail`-object got the following Attributes:
195
195
196
196
* String `name`
197
197
* String `url`
@@ -202,7 +202,7 @@ Note: The `name` of a Thumbnail Object is identical with it´s key ( `small` or
202
202
203
203
### Annotations
204
204
205
-
Use the Java Annotation`@SerializedName` of [Gson](https://github.com/google/gson) to annotate column names containing `-`, empty characters or other not in Java mappable characters.
205
+
Use the annotation`@SerializedName` of [Gson](https://github.com/google/gson) to annotate column names containing `-`, empty characters or other not in Java mappable characters.
206
206
The airtable.java API will respect these mappings automatically.
207
207
208
208
#### Example
@@ -215,7 +215,7 @@ The airtable.java API will respect these mappings automatically.
215
215
privateString name;
216
216
```
217
217
### Sort
218
-
With the integrated Sort element you can retrieve a list of sort objects that specifies how the records will be ordered.
218
+
With the integrated `Sort` element you can retrieve a list of sorted objects that specifies how the records will be ordered.
219
219
Each sort object must have a field key specifying the name of the field to sort on, and an optional direction key that is either "asc" or "desc".
If you set the view parameter, the returned records in that view will be sorted by these fields.
229
229
230
-
Detailed Example see [TableParameterTest](https://github.com/Sybit-Education/airtable.java/blob/develop/src/test/java/com/sybit/airtable/TableParameterTest.java)
230
+
Detailed example see [TableParameterTest](https://github.com/Sybit-Education/airtable.java/blob/develop/src/test/java/com/sybit/airtable/TableParameterTest.java)
Detailed example see [TableDestroyTest.java](https://github.com/Sybit-Education/airtable.java/blob/develop/src/test/java/com/sybit/airtable/TableCreateRecordTest.java)
@@ -312,6 +313,7 @@ Use `update` to update a record of table:
312
313
// detailed Example see TableCreateTest.java
313
314
314
315
Actor marlonBrando =...;
316
+
315
317
marlonBrando.setName("Marlon Brando");
316
318
Actor updated = actorTable.update(marlonBrando);
317
319
```
@@ -349,6 +351,10 @@ Short overview of features, which are supported:
349
351
350
352
We are glad to see your pull requests.
351
353
354
+
We use Travis as our continous integration build. Because of Travis security reasons on a Pull Request only JUnit tests run.
355
+
The integration tests need a valid AIRTABLE_API_KEY which travis doesent provide on PR's from forked reposiorys.
356
+
However the integration tests you wrote will run after the PR is confirmed and merged.
357
+
352
358
## Current status
353
359
354
360
The current status of our project is maintained on our agile board:
@@ -365,8 +371,9 @@ We use [Gradle](https://gradle.org) to compile and package project:
365
371
+ build jar: `./gradlew jar` (The built JARs will be placed under `build/libs`.)
366
372
367
373
## Testing
368
-
There are JUnit tests to verify the API.
369
-
The tests are based on the Airtable template [Movies](https://airtable.com/templates/groups-clubs-and-hobbies/exprTnrH3YV8Vv9BI/favorite-movies) which could be created in your account.
374
+
375
+
There are JUnit tests and integration tests to verify the API.
376
+
The integration tests are based on the Airtable template [Movies](https://airtable.com/templates/groups-clubs-and-hobbies/exprTnrH3YV8Vv9BI/favorite-movies) which could be created in your account.
370
377
For testing, the JSON-responses are mocked by [WireMock](http://wiremock.org/).
0 commit comments