|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.stanbol.entityhub.servicesapi.site.License
public final class License
| Constructor Summary | |
|---|---|
License(String name,
String url,
String text)
Constructs an License. |
|
| Method Summary | |
|---|---|
String |
getName()
Getter for the name of the License |
String |
getText()
Getter for the text of the License |
String |
getUrl()
Getter for the Url of the License |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public License(String name,
String url,
String text)
throws IllegalArgumentException
null otherwise an IllegalArgumentException is
thrown
name - the name of the licenseurl - the link to the page about the licensetext - the natural language text defining the license
IllegalArgumentException - if all three parameters are
null or empty strings| Method Detail |
|---|
public final String getName()
public final String getUrl()
public final String getText()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||