public class Submission extends Object implements Serializable
Submission
is used for creating new Things.Constructor and Description |
---|
Submission() |
Modifier and Type | Method and Description |
---|---|
void |
addTag(String tag) |
CategoryId |
getCategory()
The category this Thing belongs to.
|
String |
getDescription()
A descriptive text about the Thing.
|
LanguageId |
getLanguage()
The language this Thing is written in.
|
List<String> |
getTags()
Tags this Thing is tagged with.
|
String |
getTagsAsString()
Returns the set of tags as a comma separated list.
|
String |
getTitle()
Title of the Thing.
|
String |
getUrl()
URL of the Thing.
|
Boolean |
isHidden()
Is the Thing hidden from the public list of Things at Flattr?
|
void |
setCategory(CategoryId category) |
void |
setDescription(String description) |
void |
setHidden(Boolean hidden) |
void |
setLanguage(LanguageId language) |
void |
setTags(List<String> tags) |
void |
setTitle(String title) |
void |
setUrl(String url) |
FlattrObject |
toFlattrObject()
Returns the submission as
FlattrObject . |
public Submission()
public String getDescription()
public void setDescription(String description)
public CategoryId getCategory()
public void setCategory(CategoryId category)
public LanguageId getLanguage()
public void setLanguage(LanguageId language)
public String getTagsAsString()
public FlattrObject toFlattrObject() throws FlattrException
FlattrObject
.FlattrObject
of this submission.FlattrException
Copyright © 2010–2017. All rights reserved.