ilog.views.maps.filters
Class IlvSplitGreaterThanFilter

java.lang.Object
  extended by ilog.views.maps.datasource.IlvHierarchicalDataSource.CriterionFilter
      extended by ilog.views.maps.datasource.IlvHierarchicalDataSource.SingleAttributeFilter
          extended by ilog.views.maps.filters.IlvSplitFeatureFilter
              extended by ilog.views.maps.filters.IlvSplitGreaterThanFilter
All Implemented Interfaces:
IlvPersistentObject

public class IlvSplitGreaterThanFilter
extends IlvSplitFeatureFilter

Filter for the "greater than" and "lower than or equal to" selections.

Since:
JViews 8.0
See Also:
IlvSplitDataSource

Field Summary
 
Fields inherited from class ilog.views.maps.filters.IlvSplitFeatureFilter
reference, RESULT_BOTH, RESULT_NOK, RESULT_OK, resultType
 
Constructor Summary
IlvSplitGreaterThanFilter(IlvInputStream stream)
          Creates a new IlvSplitGreaterThanFilter.
IlvSplitGreaterThanFilter(String name, String ref, int resultType)
          Creates a new IlvSplitGreaterThanFilter.
 
Method Summary
 boolean compare(double ref, double value)
          
 boolean compare(String ref, String value)
          
 String getFailedDescription()
          
 
Methods inherited from class ilog.views.maps.filters.IlvSplitFeatureFilter
getValue, write
 
Methods inherited from class ilog.views.maps.datasource.IlvHierarchicalDataSource.SingleAttributeFilter
getAttributeDescription, getAttributeName, getCriterionDescription, setAttributeDescription, setAttributeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvSplitGreaterThanFilter

public IlvSplitGreaterThanFilter(IlvInputStream stream)
                          throws IlvReadFileException
Creates a new IlvSplitGreaterThanFilter.

Parameters:
stream - The stream to read from.
Throws:
IlvReadFileException

IlvSplitGreaterThanFilter

public IlvSplitGreaterThanFilter(String name,
                                 String ref,
                                 int resultType)
Creates a new IlvSplitGreaterThanFilter.

Parameters:
name - The name of the property to be used for splitting.
ref - The reference value to compare with.
resultType - Determines whether matching and/or non-matching values should be kept.
See Also:
IlvSplitFeatureFilter.IlvSplitFeatureFilter(String, String, String, int)
Method Detail

compare

public boolean compare(double ref,
                       double value)


compare

public boolean compare(String ref,
                       String value)


getFailedDescription

public String getFailedDescription()



Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.