|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.iphrase.onestep.beans.Breadcrumb.Item
Contains data for formatting of a single breadcrumb entry.
Constructor Summary | |
Breadcrumb.Item(java.lang.String label,
com.iphrase.runtime.query.constraint.Constraint constraint,
com.iphrase.runtime.query.result.TallyFeature tallyFeature,
boolean isRemoveIndividualTerms)
Constructs a Item |
Method Summary | |
java.lang.String |
getId()
Returns the feature id for constraints or "Mentions" for the search string. |
boolean |
getIsRemoveIndividualTerms()
Identical to isRemoveIndividualTerms() , but starts with 'get' in order to
expose bean property to JSP/JSTL. |
boolean |
getIsRequired()
Identical to isRequired() , but starts with 'get' in order to
expose bean property to JSP/JSTL. |
java.lang.String |
getLabel()
Returns the feature label for constraints or "Mentions" for the search string. |
int |
getSize()
Returns the number of the sibling items. |
TallyValueHandler[] |
getValues()
Returns current constraint value (first in the list) followed by all available alternatives. |
boolean |
isRemoveIndividualTerms()
Is true if:
end-user is allowed to remove individual terms of a text query, and
this item is based on a corresponding Mentions constraint.
|
boolean |
isRequired()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Breadcrumb.Item(java.lang.String label, com.iphrase.runtime.query.constraint.Constraint constraint, com.iphrase.runtime.query.result.TallyFeature tallyFeature, boolean isRemoveIndividualTerms)
Item
label
- a label to be used with the specified Item
constraint
- the Constraint
of the specified Item
tallyFeature
- the TallyFeature
of the specified Item
isRemoveIndividualTerms
- if true
, allow end-user to remove individual terms of a Mentions constraintMethod Detail |
public java.lang.String getLabel()
public java.lang.String getId()
public TallyValueHandler[] getValues()
TallyValueHandler
objectspublic int getSize()
public boolean isRemoveIndividualTerms()
true
if:public boolean getIsRemoveIndividualTerms()
isRemoveIndividualTerms()
, but starts with 'get' in order to
expose bean property to JSP/JSTL.public boolean isRequired()
true
if constraint submitted with state 8 REQUIRED
(do not permit SWAPPING/REMOVAL)public boolean getIsRequired()
isRequired()
, but starts with 'get' in order to
expose bean property to JSP/JSTL.
|
© Copyright 2005, 2006. IBM Corporation. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |