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 SummaryModifier and TypeMethodDescriptionvoidsetWeightProperty(String weightProperty) Sets weight property that is defined in a feature or in an entity.
- 
Method Details- 
getWeightPropertyString getWeightProperty()- Returns:
- weight property or nullif not set
 
- 
setWeightPropertySets 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
 
 
-