Interface AbstractClusterSource.HasWeightProperty

All Known Subinterfaces:
AbstractClusterSource.HasClusterSourceOptions
All Known Implementing Classes:
ClusterSource, NoOpClusterSource
Enclosing class:
AbstractClusterSource

public static interface AbstractClusterSource.HasWeightProperty
Interface to be implemented by sources that should provide weight property management. weightProperty should be defined in a feature or in an entity. The property should contain value that will be used when calculating cluster value.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    setWeightProperty(String weightProperty)
    Sets weight property that is defined in a feature or in an entity.
  • Method Details

    • getWeightProperty

      String getWeightProperty()
      Returns:
      weight property or null if not set
    • setWeightProperty

      void setWeightProperty(String weightProperty)
      Sets weight property that is defined in a feature or in an entity. This property should contain value that will be used when calculating the summed up value of the cluster (by default, the number of points is used).
      Parameters:
      weightProperty - property in a feature or in an entity