org.apache.oodt.profile.handlers.lightweight
Class SearchableRangedProfileElement
java.lang.Object
org.apache.oodt.profile.ProfileElement
org.apache.oodt.profile.RangedProfileElement
org.apache.oodt.profile.handlers.lightweight.SearchableRangedProfileElement
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable, Documentable
public class SearchableRangedProfileElement
- extends RangedProfileElement
Searchable profile element with a range of valid values.
- Version:
- $Revision: 1.1.1.1 $
- Author:
- Kelly
- See Also:
- Serialized Form
|
Constructor Summary |
SearchableRangedProfileElement(SearchableProfile profile,
String name,
String id,
String desc,
String type,
String unit,
List synonyms,
boolean obligation,
int maxOccurrence,
String comment,
String min,
String max)
|
|
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.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 |
SearchableRangedProfileElement
public SearchableRangedProfileElement(SearchableProfile profile,
String name,
String id,
String desc,
String type,
String unit,
List synonyms,
boolean obligation,
int maxOccurrence,
String comment,
String min,
String max)
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-2011 Apache OODT. All Rights Reserved.