com.iphrase.runtime.query.result
Class Taxonomy

java.lang.Object
  |
  +--com.iphrase.runtime.query.result.Taxonomy

public class Taxonomy
extends java.lang.Object

Represent a taxonomy feature value as an array of string components.


Constructor Summary
Taxonomy(java.lang.String[] comps)
          Construct a new Taxonomy feature value.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Override Object.equals(java.lang.Object)
 java.lang.String[] getComponents()
          Get the components for this taxonomy value.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Taxonomy

public Taxonomy(java.lang.String[] comps)
Construct a new Taxonomy feature value.
Parameters:
comps - array of String components
Method Detail

getComponents

public java.lang.String[] getComponents()
Get the components for this taxonomy value.
Returns:
array of String components

equals

public boolean equals(java.lang.Object obj)
Override Object.equals(java.lang.Object)
Overrides:
equals in class java.lang.Object
Parameters:
obj - the reference object with which to compare.
Returns:
true if this object is the same as the obj argument; false otherwise.

© Copyright 2005, 2006. IBM Corporation. All rights reserved.