public static final class TLcdModelQueryConfiguration.Builder extends Object
TLcdModelQueryConfiguration
instances.
Consult the class javadoc of TLcdModelQueryConfiguration
for more information.Modifier and Type | Method and Description |
---|---|
TLcdModelQueryConfiguration.Builder |
addContent(double aMinScale,
double aMaxScale,
ILcdOGCCondition aCondition)
Adds a condition for the specified scale range.
|
TLcdModelQueryConfiguration.Builder |
addContent(TLcdDimensionInterval<TLcdMapScale> aScaleRange,
ILcdOGCCondition aCondition)
Adds a condition for the specified scale range.
|
TLcdModelQueryConfiguration |
build()
Returns a new
TLcdModelQueryConfiguration instance. |
TLcdModelQueryConfiguration.Builder |
loadEverythingForUndefinedScales()
Specifies that all data must be loaded for scales for which no filter information is specified.
|
TLcdModelQueryConfiguration.Builder |
loadNothingForUndefinedScales()
Specifies that no data must be loaded for scales for which no filter information is specified.
|
TLcdModelQueryConfiguration.Builder |
nonDefinedScales(ILcdOGCCondition aCondition)
Defines the data loading condition used for scales for which no filter information
is specified.
|
public TLcdModelQueryConfiguration.Builder addContent(double aMinScale, double aMaxScale, ILcdOGCCondition aCondition)
TLcdModelQueryConfiguration
for more information on
how overlapping scale ranges are interpreted.
The scales are expressed as a unitless scale.
For example specifying a scale of "1/5000" means that one centimetre on the map equals 5000 centimetres
in reality.
Valid scale values go from TLcdModelQueryConfiguration.FULLY_ZOOMED_OUT
(=0.0) to TLcdModelQueryConfiguration.FULLY_ZOOMED_IN
(=Double.MAX_VALUE
).
No modifications should be made to the aCondition
instance afterwards.aMinScale
- The minimum scale (inclusive).aMaxScale
- The maximum scale (exclusive).aCondition
- The condition.
A null
instance means that all data should be loaded and
TLcdModelQueryConfiguration.LOAD_NOTHING_CONDITION
means that no data should be loaded.public TLcdModelQueryConfiguration.Builder addContent(TLcdDimensionInterval<TLcdMapScale> aScaleRange, ILcdOGCCondition aCondition)
TLcdModelQueryConfiguration
for more information on
how overlapping scale ranges are interpreted.
The scales are expressed as a unitless scale.
For example specifying a scale of "1/5000" means that one centimetre on the map equals 5000 centimetres
in reality.
No modifications should be made to the aCondition
instance afterwards.aScaleRange
- The minimum (inclusive) and maximum scale (exclusive).aCondition
- The condition, or null
to load all data,
or TLcdModelQueryConfiguration.LOAD_NOTHING_CONDITION
to load no data.public TLcdModelQueryConfiguration.Builder nonDefinedScales(ILcdOGCCondition aCondition)
TLcdModelQueryConfiguration.LOAD_NOTHING_CONDITION
, indicating that no data should be loaded.
No modifications should be made to the aCondition
instance afterwards.aCondition
- The condition.
A null
instance means that all data should be loaded and
TLcdModelQueryConfiguration.LOAD_NOTHING_CONDITION
means that no data should be loaded.public TLcdModelQueryConfiguration.Builder loadNothingForUndefinedScales()
nonDefinedScales(LOAD_NOTHING_CONDITION);
public TLcdModelQueryConfiguration.Builder loadEverythingForUndefinedScales()
nonDefinedScales(null);
public TLcdModelQueryConfiguration build()
TLcdModelQueryConfiguration
instance.
After calling this method, this builder can no longer be usedTLcdModelQueryConfiguration
instance.