ilog.views.maps.filters
Class IlvSplitContainsFilter

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

public class IlvSplitContainsFilter
extends IlvSplitFeatureFilter

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

IlvSplitContainsFilter

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

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

IlvSplitContainsFilter

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

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.