org.apache.oodt.profile.handlers.lightweight
Class SearchableEnumeratedProfileElement

java.lang.Object
  extended by org.apache.oodt.profile.ProfileElement
      extended by org.apache.oodt.profile.EnumeratedProfileElement
          extended by org.apache.oodt.profile.handlers.lightweight.SearchableEnumeratedProfileElement
All Implemented Interfaces:
Serializable, Cloneable, Comparable, Documentable

public class SearchableEnumeratedProfileElement
extends EnumeratedProfileElement

Searchable, enumerated, profile element.

Version:
$Revision: 1.1.1.1 $
Author:
Kelly
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.oodt.profile.EnumeratedProfileElement
values
 
Fields inherited from class org.apache.oodt.profile.ProfileElement
comments, desc, id, maxOccurrence, name, obligation, profile, synonyms, type, unit
 
Constructor Summary
SearchableEnumeratedProfileElement(SearchableProfile profile, String name, String id, String desc, String type, String unit, List synonyms, boolean obligation, int maxOccurrence, String comment, List values)
           
 
Method Summary
 org.apache.oodt.profile.handlers.lightweight.Result result(String value, String operator)
          Produce a search result.
 
Methods inherited from class org.apache.oodt.profile.EnumeratedProfileElement
addElementSpecificProperties, addValues, getMaxValue, getMinValue, getValues, isEnumerated
 
Methods inherited from class org.apache.oodt.profile.ProfileElement
clone, compareTo, createProfElementDocument, createProfileElement, elements, equals, getComments, getDescription, getID, getMaxOccurrence, getName, getProfile, getSynonyms, getType, getUnit, hashCode, isObligatory, profiles, setComments, setDescription, setID, setMaxOccurrence, setName, setObligation, setProfile, setType, setUnit, toString, toXML, toXMLWithoutValues
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SearchableEnumeratedProfileElement

public SearchableEnumeratedProfileElement(SearchableProfile profile,
                                          String name,
                                          String id,
                                          String desc,
                                          String type,
                                          String unit,
                                          List synonyms,
                                          boolean obligation,
                                          int maxOccurrence,
                                          String comment,
                                          List values)
Method Detail

result

public org.apache.oodt.profile.handlers.lightweight.Result result(String value,
                                                                  String operator)
Produce a search result.

Parameters:
value - The desired value.
operator - What operator to use for comparison.
Returns:
A search result.


Copyright © 1999-2013
Apache OODT. All Rights Reserved.