Removed method to return moniker or vclass, now unnecessary after corrections to IndividualJena.getMoniker() in r5103.
This commit is contained in:
parent
c92f69134c
commit
29544748e3
2 changed files with 11 additions and 5 deletions
|
@ -28,10 +28,12 @@ public class IndividualTemplateModel extends BaseTemplateModel {
|
|||
}
|
||||
|
||||
/* These methods perform some manipulation of the data returned by the Individual methods */
|
||||
public String getTagline() {
|
||||
String tagline = individual.getMoniker();
|
||||
return StringUtils.isEmpty(tagline) ? individual.getVClass().getName() : tagline;
|
||||
}
|
||||
// RY Individiual.getMoniker() was already trying to do this, but due to errors in the code it was not.
|
||||
// That's fixed now.
|
||||
// public String getTagline() {
|
||||
// String tagline = individual.getMoniker();
|
||||
// return StringUtils.isEmpty(tagline) ? individual.getVClass().getName() : tagline;
|
||||
// }
|
||||
|
||||
// Return link to individual's profile page.
|
||||
// There may be other urls associated with the individual. E.g., we might need
|
||||
|
@ -88,6 +90,10 @@ public class IndividualTemplateModel extends BaseTemplateModel {
|
|||
public String getName() {
|
||||
return individual.getName();
|
||||
}
|
||||
|
||||
public String getMoniker() {
|
||||
return individual.getMoniker();
|
||||
}
|
||||
|
||||
public String getUri() {
|
||||
return individual.getURI();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue