Modul sharingPluginPlatform
Klasse SearchInputMetadataDTO
java.lang.Object
org.codeability.sharing.plugins.api.search.SearchInputMetadataDTO
transfers the queried meta data
- Autor:
- Michael Breu
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunga string containing the keywordsthe licensethe programming languagebooleanchecks for minimal meta datavoidsetter for authorvoidsets the formatvoidsetKeyword(String keyword) voidsetLearningResourceType(String learningResourceType) voidsetLicense(String license) voidsetNaturalLanguage(List<String> naturalLanguages) voidsetParentId(String parentId) voidsetProgrammingLanguage(String programmingLanguage) toString()to string
-
Konstruktordetails
-
SearchInputMetadataDTO
public SearchInputMetadataDTO()just for JSON -
SearchInputMetadataDTO
public SearchInputMetadataDTO(String programmingLanguage, String keyword, List<String> naturalLanguage, String license, String author, String format) a convenience constructor.- Parameter:
programmingLanguage- the programmingLanguagekeyword- the keywordsnaturalLanguage- the list of requested languageslicense- the license(s)author- the authorformat- the format
-
-
Methodendetails
-
getFormat
- Gibt zurück:
- the format
-
setFormat
sets the format- Parameter:
format- the format
-
hasMetadataInput
public boolean hasMetadataInput()checks for minimal meta data- Gibt zurück:
- the meta data
-
getProgrammingLanguage
the programming language- Gibt zurück:
- the programming language
-
setProgrammingLanguage
- Parameter:
programmingLanguage- the programming language
-
getKeyword
a string containing the keywords- Gibt zurück:
- a string containing the keywords
-
setKeyword
- Parameter:
keyword- a string containing the keywords
-
getNaturalLanguage
- Gibt zurück:
- the selected natural languages
-
getNaturalLanguagesAsString
- Gibt zurück:
- the selected natural languages
-
setNaturalLanguage
- Parameter:
naturalLanguages- the list of selected natural languages
-
getLicense
the license- Gibt zurück:
- the requested license
-
setLicense
- Parameter:
license- the requested license
-
getAuthor
- Gibt zurück:
- the author
-
setAuthor
setter for author- Parameter:
author- the author
-
getLearningResourceType
-
setLearningResourceType
-
getParentId
- Gibt zurück:
- the parentId
-
setParentId
- Parameter:
parentId- the parentId to set
-
toString
to string
-