Class Keyword
- java.lang.Object
-
- de.hybris.platform.solrfacetsearch.search.Keyword
-
- All Implemented Interfaces:
java.io.Serializable
public class Keyword extends java.lang.Object implements java.io.SerializableClass representing a keyword.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Keyword(java.lang.String value, KeywordModifier... modifiers)Creates a new keyword.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<KeywordModifier>getModifiers()Returns the modifiers of the keyword.java.lang.StringgetValue()Returns the value of the keyword.
-
-
-
Constructor Detail
-
Keyword
public Keyword(java.lang.String value, KeywordModifier... modifiers)Creates a new keyword.- Parameters:
value- - the valuemodifiers- - the modifiers
-
-
Method Detail
-
getValue
public java.lang.String getValue()
Returns the value of the keyword.- Returns:
- the value
-
getModifiers
public java.util.Collection<KeywordModifier> getModifiers()
Returns the modifiers of the keyword.- Returns:
- the modifiers
-
-