Class: Summon::Facet
Instance Attribute Summary collapse
-
#combine_mode ⇒ Object
readonly
Returns the value of attribute combine_mode.
-
#counts ⇒ Object
readonly
Returns the value of attribute counts.
-
#display_name ⇒ Object
readonly
Returns the value of attribute display_name.
-
#field_name ⇒ Object
readonly
Returns the value of attribute field_name.
-
#has_applied_value? ⇒ Object
readonly
Returns the value of attribute has_applied_value?.
-
#has_limiting_value? ⇒ Object
readonly
Returns the value of attribute has_limiting_value?.
-
#list_values_command ⇒ Object
readonly
Returns the value of attribute list_values_command.
-
#page_number ⇒ Object
readonly
Returns the value of attribute page_number.
-
#page_size ⇒ Object
readonly
Returns the value of attribute page_size.
-
#remove_command ⇒ Object
readonly
Returns the value of attribute remove_command.
-
#remove_value_filters_command ⇒ Object
readonly
Returns the value of attribute remove_value_filters_command.
Instance Method Summary collapse
Methods inherited from Schema
Instance Attribute Details
#combine_mode ⇒ Object (readonly)
Returns the value of attribute combine_mode.
6 7 8 |
# File 'lib/summon/schema/facet.rb', line 6 def combine_mode @combine_mode end |
#counts ⇒ Object (readonly)
Returns the value of attribute counts.
8 9 10 |
# File 'lib/summon/schema/facet.rb', line 8 def counts @counts end |
#display_name ⇒ Object (readonly)
Returns the value of attribute display_name.
4 5 6 |
# File 'lib/summon/schema/facet.rb', line 4 def display_name @display_name end |
#field_name ⇒ Object (readonly)
Returns the value of attribute field_name.
5 6 7 |
# File 'lib/summon/schema/facet.rb', line 5 def field_name @field_name end |
#has_applied_value? ⇒ Object (readonly)
Returns the value of attribute has_applied_value?.
10 11 12 |
# File 'lib/summon/schema/facet.rb', line 10
def has_applied_value?
@has_applied_value?
end
|
#has_limiting_value? ⇒ Object (readonly)
Returns the value of attribute has_limiting_value?.
11 12 13 |
# File 'lib/summon/schema/facet.rb', line 11
def has_limiting_value?
@has_limiting_value?
end
|
#list_values_command ⇒ Object (readonly)
Returns the value of attribute list_values_command.
12 13 14 |
# File 'lib/summon/schema/facet.rb', line 12 def list_values_command @list_values_command end |
#page_number ⇒ Object (readonly)
Returns the value of attribute page_number.
7 8 9 |
# File 'lib/summon/schema/facet.rb', line 7 def page_number @page_number end |
#page_size ⇒ Object (readonly)
Returns the value of attribute page_size.
3 4 5 |
# File 'lib/summon/schema/facet.rb', line 3 def page_size @page_size end |
#remove_command ⇒ Object (readonly)
Returns the value of attribute remove_command.
9 10 11 |
# File 'lib/summon/schema/facet.rb', line 9 def remove_command @remove_command end |
#remove_value_filters_command ⇒ Object (readonly)
Returns the value of attribute remove_value_filters_command.
13 14 15 |
# File 'lib/summon/schema/facet.rb', line 13 def remove_value_filters_command @remove_value_filters_command end |
Instance Method Details
#empty? ⇒ Boolean
24 25 26 |
# File 'lib/summon/schema/facet.rb', line 24 def empty? @counts.empty? end |
#range? ⇒ Boolean
20 21 22 |
# File 'lib/summon/schema/facet.rb', line 20 def range? false end |
#to_s ⇒ Object
16 17 18 |
# File 'lib/summon/schema/facet.rb', line 16 def to_s "Facet(#{display_name}, #{field_name})" end |