-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
98 additions
and
1 deletion.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
...n/java/de/uni_jena/thunibib/his/api/v1/cs/sys/values/publisher/PublisherWrappedValue.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
package de.uni_jena.thunibib.his.api.v1.cs.sys.values.publisher; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import de.uni_jena.thunibib.his.api.v1.cs.sys.values.LanguageValue; | ||
import de.uni_jena.thunibib.his.api.v1.cs.sys.values.SysValue; | ||
|
||
/** | ||
* Endpoint for <strong>searching</strong> publishers. | ||
* | ||
* PublisherWrappedValue | ||
* | ||
* Path: <code>/api/v1/fs/res/wrapped/publisher?q=</code> | ||
* */ | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class PublisherWrappedValue extends SysValue { | ||
@JsonProperty("_foreigntext") | ||
String _foreigntext; | ||
|
||
@JsonProperty("place") | ||
String place; | ||
|
||
@JsonProperty("label") | ||
String label; | ||
|
||
@JsonProperty("language") | ||
LanguageValue language; | ||
|
||
public String getForeignText() { | ||
return _foreigntext; | ||
} | ||
|
||
public String getPlace() { | ||
return place; | ||
} | ||
|
||
public String getLabel() { | ||
return label; | ||
} | ||
|
||
public static String getPath() { | ||
return "fs/res/wrapped/publisher"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters