public interface SearchFacetDescriptorContains information that can be used to uniquely identify a facet. The facet type is the class its values have. The owners are the types the facet belongs to. The path consists of the derived names of the methods annotated that eventually lead to the facet. An example: we annotated
ElementHolder.getWebsite(), which leads to
Website.getTitle(), which returns a
String. This gives us the following results:
path: ["website", "title"]. The owning type is always the type in which the annotation is present.
Class<?> getOwnerType()Returns the owning type of the facet.
- the owner
Class<?> getValuesType()Returns the facet values' type.
- the type of the values