|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.iphrase.runtime.query.result.TallyFeature.Value
Represent a tally feature value.
Method Summary | |
boolean |
equals(java.lang.Object obj)
Override Object.equals(java.lang.Object) |
TallyFeature.Value[] |
getChildren()
Get the tally feature value children associated with this tally feature value. |
java.lang.Object[] |
getComponents()
Get the array of Object components for this tally feature value. |
Constraint |
getConstraint(java.lang.String featureId)
Get a Constraint instance used to compute the tallies for this value. |
java.lang.String |
getConstraintLabel()
Get the (optional) constraint label used to compute the tallies for this value. |
java.lang.String |
getConstraintOp()
Get the constraint op used to compute the tallies for this value. |
java.lang.String |
getConstraintType()
Get the constraint type used to compute the tallies for this value. |
java.lang.Object |
getFeatureValue()
Get the feature value associated with this tally feature value. |
int |
getFlags(FeatureMetaData meta)
Get the tally feature flags specialized for this value. |
int |
getTallyCount()
Get the tally count for this tally feature value. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.Object getFeatureValue()
Object
feature value of type FeatureMetaData.getBaseType()
public int getTallyCount()
int
tally countpublic java.lang.String getConstraintType()
String
query string constraint typepublic java.lang.String getConstraintOp()
String
query string constraint oppublic java.lang.String getConstraintLabel()
String
query string constraint labelpublic Constraint getConstraint(java.lang.String featureId) throws ArgumentError
Constraint
instance used to compute the tallies for this value.
This is useful for building a drillDown or drillSideways control.featureId
- String
feature idConstraint
new Constraint subclass instanceArgumentError
- public TallyFeature.Value[] getChildren()
TallyFeature.Value
public java.lang.Object[] getComponents()
Currently, Taxonomy is the only hierarchical feature value. But by returning Object[] instead of String[], we support future hierarchical feature values that do not have String components (as Taxonomy does).
Object
components (can be 0-length but never null)public int getFlags(FeatureMetaData meta)
meta
- the parent feature meta data or tally feature containing this valuepublic boolean equals(java.lang.Object obj)
Object.equals(java.lang.Object)
equals
in class java.lang.Object
obj
- the reference object with which to compare.true
if this object is the same as the obj
argument; false
otherwise.
|
© Copyright 2005, 2006. IBM Corporation. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |