1 23 package org.apache.slide.search.basic; 24 25 import org.apache.slide.search.CompareHint; 26 import org.apache.slide.search.RequestedResource; 27 28 43 public interface ComparableResource extends RequestedResource { 44 45 46 52 public String getInternalHref (); 53 54 55 61 public String getExternalHref (); 62 63 64 74 public int greaterThan (String propName, String propNamespace, String literal); 75 76 86 public int lowerThan (String propName, String propNamespace, String literal); 87 88 98 public int greaterThanEquals (String propName, String propNamespace, String literal); 99 100 110 public int lowerThanEquals (String propName, String propNamespace, String literal); 111 112 122 public int equals (String propName, String propNamespace, String literal); 123 124 131 public Object getThisValue (String propName, String propNamespace); 132 133 134 147 public int compareTo (ComparableResource otherResource, CompareHint hint); 148 149 157 public boolean isDefined (String propName, String propNamespace); 158 159 168 public int propContains (String propName, String propNamespace, String literal); 169 170 178 public int contains (String literal); 179 180 } 181 182 183 | Popular Tags |