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

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

public class SearchableUnspecifiedProfileElement
extends UnspecifiedProfileElement

Searchable profile element with unspecified values.

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

Field Summary
 
Fields inherited from class org.apache.oodt.profile.ProfileElement
comments, desc, id, maxOccurrence, name, obligation, profile, synonyms, type, unit
 
Constructor Summary
SearchableUnspecifiedProfileElement(SearchableProfile profile, String name, String id, String desc, String type, String unit, List synonyms, boolean obligation, int maxOccurrence, String comment)
           
 
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.UnspecifiedProfileElement
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

SearchableUnspecifiedProfileElement

public SearchableUnspecifiedProfileElement(SearchableProfile profile,
                                           String name,
                                           String id,
                                           String desc,
                                           String type,
                                           String unit,
                                           List synonyms,
                                           boolean obligation,
                                           int maxOccurrence,
                                           String comment)
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.