fix: use public description in data property template model (#322)
Co-authored-by: Georgy Litvinov <georgy.litvinov@tib.eu>
This commit is contained in:
parent
3a14872c7c
commit
ce680d9cd7
1 changed files with 6 additions and 0 deletions
|
@ -64,6 +64,7 @@ public class DataPropertyTemplateModel extends PropertyTemplateModel {
|
|||
private DataPropertyListConfig config;
|
||||
private String objectKey;
|
||||
private String queryString;
|
||||
private String publicDescription;
|
||||
private String rangeDatatypeURI;
|
||||
private Set<String> constructQueries;
|
||||
private int displayLimit;
|
||||
|
@ -82,6 +83,7 @@ public class DataPropertyTemplateModel extends PropertyTemplateModel {
|
|||
|
||||
queryString = getSelectQuery();
|
||||
constructQueries = getConstructQueries();
|
||||
publicDescription = dp.getPublicDescription();
|
||||
|
||||
statements = new ArrayList<DataPropertyStatementTemplateModel>();
|
||||
displayLimit = dp.getDisplayLimit();
|
||||
|
@ -158,6 +160,10 @@ public class DataPropertyTemplateModel extends PropertyTemplateModel {
|
|||
return Route.DATA_PROPERTY_EDIT;
|
||||
}
|
||||
|
||||
public String getPublicDescription() {
|
||||
return publicDescription;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getDisplayLimit() {
|
||||
return displayLimit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue