public abstract class AbstractMetadataSearchField extends Object implements SearchField
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
_joinPaths
The join paths
|
protected String |
_path
The field path.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMetadataSearchField(List<String> joinPaths,
String finalPath)
Build a Metadata SearchField
|
protected |
AbstractMetadataSearchField(String path)
Build a Metadata SearchField
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
_getFacetFieldSuffix()
Get the facet field suffix corresponding to this field.
|
protected abstract String |
_getSortFieldSuffix()
Get the sort field suffix corresponding to this field.
|
String |
getFacetField()
Get the facet field corresponding to this field.
|
List<String> |
getJoinedPaths()
Gets the joined paths
|
String |
getName()
Get the search field name.
|
String |
getSortField()
Get the sort field corresponding to this field.
|
boolean |
isJoined()
Indicates if the search field is joined
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFacetFunctionprotected List<String> _joinPaths
protected AbstractMetadataSearchField(String path)
path - The field pathprotected AbstractMetadataSearchField(List<String> joinPaths, String finalPath)
joinPaths - The join field pathsfinalPath - The final field pathpublic String getSortField()
SearchFieldgetSortField in interface SearchFieldprotected abstract String _getSortFieldSuffix()
public boolean isJoined()
SearchFieldisJoined in interface SearchFieldtrue if the search field is joinedpublic List<String> getJoinedPaths()
SearchFieldgetJoinedPaths in interface SearchFieldpublic String getFacetField()
SearchFieldgetFacetField in interface SearchFieldprotected abstract String _getFacetFieldSuffix()
public String getName()
SearchFieldgetName in interface SearchField