Skip to content

Commit 01d47cf

Browse files
committed
Add p18value variable to contrib
1 parent d925e32 commit 01d47cf

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

app/src/main/java/fr/free/nrw/commons/contributions/Contribution.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ public Contribution[] newArray(int i) {
6868
public String decimalCoords;
6969
public boolean isMultiple;
7070
public String wikiDataEntityId;
71+
public String p18Value;
7172
public Uri contentProviderUri;
7273
public String dateCreatedSource;
7374

@@ -271,6 +272,19 @@ public void setWikiDataEntityId(String wikiDataEntityId) {
271272
this.wikiDataEntityId = wikiDataEntityId;
272273
}
273274

275+
public String getP18Value() {
276+
return p18Value;
277+
}
278+
279+
/**
280+
* When the corresponding image property of wiki entity is known as in case of nearby uploads,
281+
* it can be set using the setter method
282+
* @param p18Value p18 value, image property of the wikidata item
283+
*/
284+
public void setP18Value(String p18Value) {
285+
this.p18Value = p18Value;
286+
}
287+
274288
public void setContentProviderUri(Uri contentProviderUri) {
275289
this.contentProviderUri = contentProviderUri;
276290
}

0 commit comments

Comments
 (0)