public class CkanTag extends CkanTagBase
CkanTagBase
with fields found in search operations.Constructor and Description |
---|
CkanTag() |
CkanTag(String name)
You can use this constructor when adding a free tag to a dataset.
|
CkanTag(String name,
String vocabularyId)
You can use this constructor when creating a tag associated to a
controlled vocabulary
|
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName() |
Timestamp |
getRevisionTimestamp() |
CkanState |
getState() |
void |
setDisplayName(String displayName) |
void |
setRevisionTimestamp(Timestamp revisionTimestamp) |
void |
setState(CkanState state) |
getId, getName, getVocabularyId, setId, setName, setVocabularyId
public CkanTag()
public CkanTag(String name)
name
- the name for the new tag, a string between 2 and 100
characters long containing only alphanumeric characters and -, _ and .,
e.g. 'Jazz'public String getDisplayName()
public void setDisplayName(String displayName)
displayName
- a human readable name, i.e. "Habitat Quality"public CkanState getState()
public void setState(CkanState state)
Copyright © 2015 Trento Rise. All rights reserved.