PredicateSuggestion.java
1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* aQute.bnd.annotation.ProviderType
*/
package com.adobe.granite.omnisearch.api.suggestion;
import aQute.bnd.annotation.ProviderType;
import java.util.Map;
@ProviderType
public final class PredicateSuggestion {
private String type;
private String typePath;
private String optionTitle;
private String optionPath;
private Map<String, String> queryParameters;
public PredicateSuggestion(String type, String optionTitle) {
this(type, optionTitle, null, null);
}
public PredicateSuggestion(String type, String optionTitle, String typePath, String optionPath) {
this.type = type;
this.optionTitle = optionTitle;
this.typePath = typePath;
this.optionPath = optionPath;
this.queryParameters = null;
}
public String getType() {
return this.type;
}
public String getTypePath() {
return this.typePath;
}
public String getOptionTitle() {
return this.optionTitle;
}
public String getOptionPath() {
return this.optionPath;
}
public Map<String, String> getQueryParameters() {
return this.queryParameters;
}
public void setQueryParameters(Map<String, String> queryParameters) {
this.queryParameters = queryParameters;
}
}