Class GeometryRoutedServicesWriterSettings
- java.lang.Object
-
- org.goplanit.converter.FileBasedConverterWriterSettings
-
- org.goplanit.geoio.util.GeoIoWriterSettings
-
- org.goplanit.geoio.converter.service.GeometryRoutedServicesWriterSettings
-
- All Implemented Interfaces:
ConverterWriterSettings
public class GeometryRoutedServicesWriterSettings extends GeoIoWriterSettings implements ConverterWriterSettings
Settings relevant for persisting the PLANit network in any Geo IO output format- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_LAYER_PREFIXstatic booleanDEFAULT_PERSIST_SERVICESdefault persist services flag valuestatic booleanDEFAULT_PERSIST_TRIPS_FREQUENCYdefault persist trips (frequency based) flag valuestatic booleanDEFAULT_PERSIST_TRIPS_SCHEDULEdefault persist trips (schedule based) flag valuestatic StringDEFAULT_SERVICES_FILE_NAMEdefault services file name to use (without extension)static StringDEFAULT_TRIP_FREQUENCIES_FILE_NAMEdefault trip frequencies file name to use (without extension)static StringDEFAULT_TRIP_SCHEDULES_FILE_NAMEdefault trip schedules file name to use (without extension)-
Fields inherited from class org.goplanit.geoio.util.GeoIoWriterSettings
DEFAULT_EXTENSION
-
Fields inherited from class org.goplanit.converter.FileBasedConverterWriterSettings
DEFAULT_COUNTRY, destinationCoordinateReferenceSystem
-
-
Constructor Summary
Constructors Constructor Description GeometryRoutedServicesWriterSettings()Default constructorGeometryRoutedServicesWriterSettings(String outputPathDirectory)ConstructorGeometryRoutedServicesWriterSettings(String outputPathDirectory, String countryName)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLayerPrefix()StringgetServicesFileName()StringgetTripsFrequencyFileName()StringgetTripsScheduleFileName()booleanisPersistServices()booleanisPersistTripsFrequency()booleanisPersistTripsSchedule()voidlogSettings()Convenience method to log all the current settingsvoidreset()Reset contentvoidsetLayerPrefix(String layerPrefix)voidsetPersistServices(boolean persistServices)voidsetPersistTripsFrequency(boolean persistTripsFrequency)voidsetPersistTripsSchedule(boolean persistTripsSchedule)voidsetServicesFileName(String servicesFileName)voidsetTripsFrequencyFileName(String tripFrequencyFileName)voidsetTripsScheduleFileName(String tripSchedulesFileName)-
Methods inherited from class org.goplanit.geoio.util.GeoIoWriterSettings
getFileExtension
-
Methods inherited from class org.goplanit.converter.FileBasedConverterWriterSettings
getCountry, getDestinationCoordinateReferenceSystem, getOutputDirectory, setCountry, setDestinationCoordinateReferenceSystem, setOutputDirectory, validate
-
-
-
-
Field Detail
-
DEFAULT_LAYER_PREFIX
public static final String DEFAULT_LAYER_PREFIX
- See Also:
- Constant Field Values
-
DEFAULT_SERVICES_FILE_NAME
public static final String DEFAULT_SERVICES_FILE_NAME
default services file name to use (without extension)- See Also:
- Constant Field Values
-
DEFAULT_TRIP_SCHEDULES_FILE_NAME
public static final String DEFAULT_TRIP_SCHEDULES_FILE_NAME
default trip schedules file name to use (without extension)- See Also:
- Constant Field Values
-
DEFAULT_TRIP_FREQUENCIES_FILE_NAME
public static final String DEFAULT_TRIP_FREQUENCIES_FILE_NAME
default trip frequencies file name to use (without extension)- See Also:
- Constant Field Values
-
DEFAULT_PERSIST_SERVICES
public static boolean DEFAULT_PERSIST_SERVICES
default persist services flag value
-
DEFAULT_PERSIST_TRIPS_SCHEDULE
public static boolean DEFAULT_PERSIST_TRIPS_SCHEDULE
default persist trips (schedule based) flag value
-
DEFAULT_PERSIST_TRIPS_FREQUENCY
public static boolean DEFAULT_PERSIST_TRIPS_FREQUENCY
default persist trips (frequency based) flag value
-
-
Constructor Detail
-
GeometryRoutedServicesWriterSettings
public GeometryRoutedServicesWriterSettings()
Default constructor
-
GeometryRoutedServicesWriterSettings
public GeometryRoutedServicesWriterSettings(String outputPathDirectory)
Constructor- Parameters:
outputPathDirectory- to use
-
-
Method Detail
-
logSettings
public void logSettings()
Convenience method to log all the current settings- Overrides:
logSettingsin classGeoIoWriterSettings
-
reset
public void reset()
Reset content- Specified by:
resetin interfaceConverterWriterSettings- Overrides:
resetin classGeoIoWriterSettings
-
getLayerPrefix
public String getLayerPrefix()
-
setLayerPrefix
public void setLayerPrefix(String layerPrefix)
-
getServicesFileName
public String getServicesFileName()
-
setServicesFileName
public void setServicesFileName(String servicesFileName)
-
getTripsScheduleFileName
public String getTripsScheduleFileName()
-
setTripsScheduleFileName
public void setTripsScheduleFileName(String tripSchedulesFileName)
-
getTripsFrequencyFileName
public String getTripsFrequencyFileName()
-
setTripsFrequencyFileName
public void setTripsFrequencyFileName(String tripFrequencyFileName)
-
isPersistServices
public boolean isPersistServices()
-
setPersistServices
public void setPersistServices(boolean persistServices)
-
isPersistTripsSchedule
public boolean isPersistTripsSchedule()
-
setPersistTripsSchedule
public void setPersistTripsSchedule(boolean persistTripsSchedule)
-
isPersistTripsFrequency
public boolean isPersistTripsFrequency()
-
setPersistTripsFrequency
public void setPersistTripsFrequency(boolean persistTripsFrequency)
-
-