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, wait
getFacetFunction
protected 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()
SearchField
getSortField
in interface SearchField
protected abstract String _getSortFieldSuffix()
public boolean isJoined()
SearchField
isJoined
in interface SearchField
true
if the search field is joinedpublic List<String> getJoinedPaths()
SearchField
getJoinedPaths
in interface SearchField
public String getFacetField()
SearchField
getFacetField
in interface SearchField
protected abstract String _getFacetFieldSuffix()
public String getName()
SearchField
getName
in interface SearchField