ilog.views.maps.filters
Class IlvSplitEndsFilter

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

public class IlvSplitEndsFilter
extends IlvSplitFeatureFilter

Filter for the "ends with" and "does not end with" 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
IlvSplitEndsFilter(IlvInputStream stream)
          Creates a new IlvSplitEndsFilter.
IlvSplitEndsFilter(String name, String ref, int resultType)
          Creates a new IlvSplitEndsFilter.
 
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

IlvSplitEndsFilter

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

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

IlvSplitEndsFilter

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

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.