Module sharingPluginPlatform
Class SearchResultDTO
java.lang.Object
org.codeability.sharing.plugins.api.search.SearchResultDTO
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleangetFile()intfinal inthashCode()voidsetExerciseId(String exerciseId) voidvoidsetMetadata(UserProvidedMetadataDTO metadata) voidsetProject(GitProjectDTO project) voidsetRanking5(int ranking5) voidsetSearchStatistics(SearchStatisticsDTO searchStatistics) voidsetSupportedActions(List<SearchResultDTO.PluginActionInfo> supportedActions) toString()
-
Constructor Details
-
SearchResultDTO
public SearchResultDTO() -
SearchResultDTO
clone constructor.- Parameters:
toClone- source of clone
-
-
Method Details
-
getProject
-
setProject
-
getExerciseId
- Returns:
- the exerciseId
-
getFile
-
setFile
-
getMetadata
-
setMetadata
-
toString
-
hashCode
public final int hashCode() -
equals
-
setExerciseId
- Parameters:
exerciseId- the exerciseId to set
-
getRanking5
public int getRanking5()- Returns:
- the ranking5
-
setRanking5
public void setRanking5(int ranking5) - Parameters:
ranking5- the ranking5 to set
-
getSupportedActions
- Returns:
- the supportedActions
-
setSupportedActions
- Parameters:
supportedActions- the supportedActions to set
-
getSearchStatistics
-
setSearchStatistics
-