ilog.views.maps.datasource
Class IlvSDODataSource.SDOLayerFilter

java.lang.Object
  extended by ilog.views.maps.datasource.IlvHierarchicalDataSource.CriterionFilter
      extended by ilog.views.maps.datasource.IlvSDODataSource.SDOLayerFilter
All Implemented Interfaces:
IlvPersistentObject
Enclosing class:
IlvSDODataSource

public static class IlvSDODataSource.SDOLayerFilter
extends IlvHierarchicalDataSource.CriterionFilter

SDOLayerFilter represents an SDO layer filter.

Since:
JViews 7.5

Constructor Summary
IlvSDODataSource.SDOLayerFilter(IlvInputStream stream)
          Reads a filter from a saved file.
IlvSDODataSource.SDOLayerFilter(String value)
          Sets the filter associated with a layer name.
 
Method Summary
 String getCriterionDescription()
          This implementation always returns null.
 Object getValue(IlvMapFeature feature)
          Returns a value for the specified map feature.
 void write(IlvOutputStream stream)
          Writes the value field to an output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvSDODataSource.SDOLayerFilter

public IlvSDODataSource.SDOLayerFilter(String value)
Sets the filter associated with a layer name.

Parameters:
value - The layer name.

IlvSDODataSource.SDOLayerFilter

public IlvSDODataSource.SDOLayerFilter(IlvInputStream stream)
Reads a filter from a saved file.

Parameters:
stream - The input stream to read from.
Method Detail

getValue

public Object getValue(IlvMapFeature feature)
Returns a value for the specified map feature.

Specified by:
getValue in class IlvHierarchicalDataSource.CriterionFilter
Parameters:
feature - The map feature whose value you want to retrieve.
Returns:
the value for the specified map feature.
See Also:
IlvHierarchicalDataSource.CriterionFilter.getValue(ilog.views.maps.IlvMapFeature)

getCriterionDescription

public String getCriterionDescription()
This implementation always returns null.

Specified by:
getCriterionDescription in class IlvHierarchicalDataSource.CriterionFilter
Returns:
Always returns null.
See Also:
IlvHierarchicalDataSource.CriterionFilter.getCriterionDescription()

write

public void write(IlvOutputStream stream)
           throws IOException
Writes the value field to an output stream.

Parameters:
stream - The output stream to write to.
Throws:
IOException - thrown when an exception occurs during the write operation for this object.
See Also:
IlvPersistentObject.write(ilog.views.io.IlvOutputStream)


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