ilog.views.maps.filters
Class IlvSplitGreaterOrEqualFilter

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.IlvSplitGreaterOrEqualFilter
All Implemented Interfaces:
IlvPersistentObject

public class IlvSplitGreaterOrEqualFilter
extends IlvSplitFeatureFilter

Filter for the "greater than or equal to" and "lower than" 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
IlvSplitGreaterOrEqualFilter(IlvInputStream stream)
          Creates a new IlvSplitGreaterOrEqualFilter.
IlvSplitGreaterOrEqualFilter(String name, String ref, int resultType)
          Creates a new IlvSplitGreaterOrEqualFilter.
 
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

IlvSplitGreaterOrEqualFilter

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

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

IlvSplitGreaterOrEqualFilter

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

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.