public class CkanLicense extends Object
Constructor and Description |
---|
CkanLicense() |
Modifier and Type | Method and Description |
---|---|
String |
getFamily() |
String |
getId()
Returns the id of the license as used by ckan, i.e.
|
String |
getMaintainer() |
String |
getStatus()
Gets the status, i.e.
|
String |
getTitle()
Gets the title, i.e.
|
String |
getUrl()
Returns the url of a document describing the license i.e.
|
boolean |
isDomainContent()
Returns true if the license applies to content domain.
|
boolean |
isDomainData()
True if the license applies to data domain.
|
boolean |
isDomainSoftware()
True if the license applies to software domain.
|
boolean |
isOkdCompliant()
Returns true if it complies with the OpenDefinition:
http://opendefinition.org/
|
boolean |
isOsiCompliant()
Returns true if it complies with the Open Source Initiative?
http://opensource.org/licenses
|
void |
setDomainContent(boolean domainContent) |
void |
setDomainData(boolean domainData) |
void |
setDomainSoftware(boolean domainSoftware) |
void |
setFamily(String family) |
void |
setId(String id)
Sets the id of the license as used by ckan, i.e.
|
void |
setMaintainer(String maintainer) |
void |
setOkdCompliant(boolean okdCompliant) |
void |
setOsiCompliant(boolean osiCompliant) |
void |
setStatus(String status)
Sets the status, i.e.
|
void |
setTitle(String title)
Sets the title, i.e.
|
void |
setUrl(String url)
Sets the url of a document describing the license i.e.
|
public boolean isOkdCompliant()
public void setOkdCompliant(boolean okdCompliant)
okdCompliant
- True if it complies with the OpenDefinition:
http://opendefinition.org/setOsiCompliant(boolean)
public boolean isOsiCompliant()
public void setOsiCompliant(boolean osiCompliant)
osiCompliant
- True if it complies with the Open Source Initiative?
http://opensource.org/licensessetOkdCompliant(boolean)
public boolean isDomainContent()
isDomainSoftware()
,
isDomainData()
public void setDomainContent(boolean domainContent)
domainContent
- True if the license applies to content domain.setDomainSoftware(boolean)
,
setDomainData(boolean)
public boolean isDomainData()
isDomainContent()
,
isDomainSoftware()
public void setDomainData(boolean domainData)
domainData
- True if the license applies to data domain.setDomainSoftware(boolean)
,
setDomainContent(boolean)
public boolean isDomainSoftware()
isDomainContent()
,
isDomainData()
public void setDomainSoftware(boolean domainSoftware)
domainSoftware
- True if the license applies to software domain.setDomainData(boolean)
,
setDomainContent(boolean)
public String getStatus()
public void setStatus(String status)
public String getMaintainer()
public void setMaintainer(String maintainer)
public String getFamily()
public void setFamily(String family)
public String getTitle()
public void setTitle(String title)
title
- public String getUrl()
public void setUrl(String url)
public String getId()
public void setId(String id)
Copyright © 2015 Trento Rise. All rights reserved.