public class CkanDataset extends CkanDatasetBase
CkanDatasetBase
with fields found in search operations.Constructor and Description |
---|
CkanDataset() |
CkanDataset(String name) |
Modifier and Type | Method and Description |
---|---|
String |
getCreatorUserId() |
String |
getLicenseTitle() |
String |
getLicenseUrl() |
Timestamp |
getMetadataCreated()
CKAN always refer to UTC timezone
|
Timestamp |
getMetadataModified()
CKAN always refers to UTC timezone
|
String |
getNotesRendered() |
int |
getNumResources() |
int |
getNumTags() |
CkanOrganization |
getOrganization()
The organization that owns the dataset.
|
String |
getRevisionId()
Returns the alphanumerical id, like
"39d94b20-ea72-4c5e-bd8f-967a77e03946"
|
Timestamp |
getRevisionTimestamp()
Returns date in UTC timezone.
|
CkanTrackingSummary |
getTrackingSummary() |
Boolean |
isOpen()
Legacy api 1/2 docs says: boolean indication of whether dataset is
open according to Open Knowledge Definition, based on other fields
|
Boolean |
isPriv()
Actually it is named "private" in the CKAN API.
|
void |
setCreatorUserId(String creatorUserId) |
void |
setLicenseTitle(String licenseTitle) |
void |
setLicenseUrl(String licenseUrl) |
void |
setMetadataCreated(Timestamp metadataCreated)
CKAN always refer to UTC timezone
|
void |
setMetadataModified(Timestamp metadataModified)
CKAN always refers to UTC timezone
|
void |
setNotesRendered(String notesRendered) |
void |
setNumResources(int numResources) |
void |
setNumTags(int numTags) |
void |
setOpen(Boolean isOpen) |
void |
setOrganization(CkanOrganization organization)
Sets the organization that owns the dataset.
|
void |
setPriv(Boolean priv)
Actually it is named "private" in the CKAN API.
|
void |
setRevisionId(String revisionId)
Sets the alphanumerical id, like "39d94b20-ea72-4c5e-bd8f-967a77e03946"
|
void |
setRevisionTimestamp(Timestamp revisionTimestamp)
CKAN always refer to UTC timezone.
|
void |
setTrackingSummary(CkanTrackingSummary trackingSummary) |
getAuthor, getAuthorEmail, getExtras, getExtrasAsHashMap, getGroups, getId, getLicenseId, getMaintainer, getMaintainerEmail, getName, getNotes, getOthers, getOwnerOrg, getRelationshipsAsObject, getRelationshipsAsSubject, getResources, getState, getTags, getTitle, getType, getUrl, getVersion, idOrName, nameOrId, putOthers, setAuthor, setAuthorEmail, setExtras, setGroups, setId, setLicenseId, setMaintainer, setMaintainerEmail, setName, setNotes, setOthers, setOwnerOrg, setRelationshipsAsObject, setRelationshipsAsSubject, setResources, setState, setTags, setTitle, setType, setUrl, setVersion
public CkanDataset()
public CkanDataset(String name)
public String getCreatorUserId()
public Boolean isOpen()
public String getLicenseTitle()
public void setLicenseTitle(String licenseTitle)
public String getLicenseUrl()
public void setLicenseUrl(String licenseUrl)
public Timestamp getMetadataCreated()
public void setMetadataCreated(Timestamp metadataCreated)
public Timestamp getMetadataModified()
public void setMetadataModified(Timestamp metadataModified)
public String getNotesRendered()
public void setNotesRendered(String notesRendered)
public int getNumTags()
public void setNumTags(int numTags)
public CkanOrganization getOrganization()
CkanClient.getDataset(java.lang.String)
call, the returned
organization won't have all the params you would get with a
CkanClient.getOrganization(java.lang.String)
call.public void setOrganization(CkanOrganization organization)
public Boolean isPriv()
public void setPriv(Boolean priv)
public int getNumResources()
public void setNumResources(int numResources)
public String getRevisionId()
public void setRevisionId(String revisionId)
public Timestamp getRevisionTimestamp()
public void setRevisionTimestamp(Timestamp revisionTimestamp)
revisionTimestamp
- public CkanTrackingSummary getTrackingSummary()
public void setTrackingSummary(CkanTrackingSummary trackingSummary)
Copyright © 2015 Trento Rise. All rights reserved.