#import <EMFacetValue.h>
Inherits NSObject.
Public Member Functions | |
(id) | - initWithName:value: |
(id) | - initWithName:value:removable: |
(id) | - initWithName:value:removable:ancestors: |
Static Public Member Functions | |
(id) | + facetValueSelectionWithName:value: |
(id) | + facetValueSelectionWithName:value:removable: |
Protected Attributes | |
NSString * | _facetValue |
NSString * | _facetValueId |
EMFacetValue * | _root |
NSMutableArray * | _ancestors |
BOOL | _removable |
NSString * | _separator |
Properties | |
NSString * | facetName |
NSString * | facetValue |
NSString * | facetValueId |
EMFacetValue * | root |
BOOL | removable |
NSString * | separator |
NSMutableArray * | ancestors |
Like a descriptor in Endeca
- (NSMutableArray*) ancestors [read, write, retain] |
An array of EMFacetValue objects
- (BOOL) removable [read, write, assign] |
This flag can be used to tell the user interface to treat this facet as if it cannot be removed from the list of facets.
Default = YES.
- (NSString*) separator [read, write, retain] |
If specified, the EMSearchQueryFacetsController will create a EMSeparatedFacetCell object, splitting the value of the EMFacetValue into two parts.
For example, for a facet that had values like Ornamentation:Glitter, you could set the separator to ":".
Default = nil.