Class AttributeTypeFilter
java.lang.Object
com.vividsolutions.jump.workbench.ui.AttributeTypeFilter
Filter to select attributes or layers based on their attribute types.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AttributeTypeFilterAttribute filter includes NUMERIC attributes.static final intstatic final AttributeTypeFilterAttribute filter includes BOOLEAN attributes.static final intstatic final AttributeTypeFilterAttribute filter includes DATE attributes.static final intstatic final AttributeTypeFilterAttribute filter includes DOUBLE attributes.static final intstatic final AttributeTypeFilterAttribute filter includes GEOMETRY attributes.static final intstatic final AttributeTypeFilterAttribute filter includes INTEGER attributes.static final intstatic final AttributeTypeFilterAttribute filter includes LONG attributes.static final AttributeTypeFilterAttribute filter includes NON GEOMETRIC attributes.static final AttributeTypeFilterAttribute filter includes NUMERIC attributes.static final AttributeTypeFilterAttribute filter includes NUMERIC and STRING attributes.static final intstatic final AttributeTypeFilterAttribute filter includes OBJECT attributes.static final intstatic final AttributeTypeFilterAttribute filter includes STRING attributes. -
Constructor Summary
ConstructorsConstructorDescriptionAttributeTypeFilter(int filterType) Create a new Filter filtering objects according to the filter type. -
Method Summary
Modifier and TypeMethodDescriptionfilter(FeatureSchema schema) Filter attributes of a FeatureSchema according to their AttributeType.filter(LayerManager layerManager) Filter layers from a LayerManager according to AttributeType of their attributes.filter(Collection<Layer> layers) Filter layers from a LayerManager according to AttributeType of their attributes.Inverse the filter.toString()
-
Field Details
-
GEOMETRY
public static final int GEOMETRY- See Also:
-
STRING
public static final int STRING- See Also:
-
INTEGER
public static final int INTEGER- See Also:
-
DOUBLE
public static final int DOUBLE- See Also:
-
DATE
public static final int DATE- See Also:
-
OBJECT
public static final int OBJECT- See Also:
-
BOOLEAN
public static final int BOOLEAN- See Also:
-
LONG
public static final int LONG- See Also:
-
GEOMETRY_FILTER
Attribute filter includes GEOMETRY attributes. -
STRING_FILTER
Attribute filter includes STRING attributes. -
INTEGER_FILTER
Attribute filter includes INTEGER attributes. -
DOUBLE_FILTER
Attribute filter includes DOUBLE attributes. -
DATE_FILTER
Attribute filter includes DATE attributes. -
OBJECT_FILTER
Attribute filter includes OBJECT attributes. -
BOOLEAN_FILTER
Attribute filter includes BOOLEAN attributes. -
LONG_FILTER
Attribute filter includes LONG attributes. -
NO_GEOMETRY_FILTER
Attribute filter includes NON GEOMETRIC attributes. -
NUMERIC_FILTER
Attribute filter includes NUMERIC attributes. -
NUMSTRING_FILTER
Attribute filter includes NUMERIC and STRING attributes. -
ALL_FILTER
Attribute filter includes NUMERIC attributes.
-
-
Constructor Details
-
AttributeTypeFilter
public AttributeTypeFilter(int filterType) Create a new Filter filtering objects according to the filter type.
-
-
Method Details
-
getInverseFilter
Inverse the filter. -
filter
Filter layers from a LayerManager according to AttributeType of their attributes.- Parameters:
layerManager- the Layer Manager to filter- Returns:
- a List of Layers
-
filter
Filter layers from a LayerManager according to AttributeType of their attributes.- Parameters:
layers- candidate layers to filter- Returns:
- a List of Layers
-
filter
Filter attributes of a FeatureSchema according to their AttributeType.- Parameters:
schema- the FeatureSchema to Filter- Returns:
- a List of attributes matching the filter criteria
-
filter
-
toString
-