forked from EBISPOT/OLS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added conditional display of license and reasoner info from config fi…
…le for EBISPOT#474
- Loading branch information
Erhun Giray Tuncay
committed
Jan 6, 2022
1 parent
e6a26f4
commit 99a886c
Showing
5 changed files
with
106 additions
and
7 deletions.
There are no files selected for viewing
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
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
49 changes: 49 additions & 0 deletions
49
ontology-tools/src/main/java/uk/ac/ebi/spot/ols/util/License.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,49 @@ | ||
package uk.ac.ebi.spot.ols.util; | ||
|
||
public class License { | ||
|
||
String url; | ||
String logo; | ||
String label; | ||
|
||
public License() {} | ||
|
||
public License(String url, String logo, String label) { | ||
super(); | ||
this.url = url; | ||
this.logo = logo; | ||
this.label = label; | ||
} | ||
|
||
public String getUrl() { | ||
return url; | ||
} | ||
|
||
public void setUrl(String url) { | ||
this.url = url; | ||
} | ||
|
||
public String getLogo() { | ||
return logo; | ||
} | ||
|
||
public void setLogo(String logo) { | ||
this.logo = logo; | ||
} | ||
|
||
public String getLabel() { | ||
return label; | ||
} | ||
|
||
public void setLabel(String label) { | ||
this.label = label; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "License [url=" + url + ", logo=" + logo + ", label=" + label + "]"; | ||
} | ||
|
||
|
||
|
||
} |