Class ConfigModel
- java.lang.Object
-
- org.iqtig.pseudonymisierung.gui.model.ConfigModel
-
- All Implemented Interfaces:
EventListener
,ChangeListener
,ListDataListener
,BaseModel
,org.springframework.context.Lifecycle
,org.springframework.context.Phased
,org.springframework.context.SmartLifecycle
@Component public class ConfigModel extends Object implements org.springframework.context.SmartLifecycle, BaseModel, ChangeListener, ListDataListener
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ConfigModel.ChangeEvent
-
Field Summary
Fields Modifier and Type Field Description protected DataCollectionPointModel
dataCollectionPointModel
protected MethodModel
methodModel
protected StateModel
stateModel
-
Constructor Summary
Constructors Constructor Description ConfigModel()
ConfigModel(ConfigModel configModel)
-
Method Summary
-
-
-
Field Detail
-
dataCollectionPointModel
@Autowired protected DataCollectionPointModel dataCollectionPointModel
-
stateModel
@Autowired protected StateModel stateModel
-
methodModel
@Autowired protected MethodModel methodModel
-
-
Constructor Detail
-
ConfigModel
public ConfigModel()
-
ConfigModel
public ConfigModel(ConfigModel configModel)
-
-
Method Detail
-
start
public void start()
- Specified by:
start
in interfaceorg.springframework.context.Lifecycle
-
set
public void set(ConfigModel other)
-
getProperties
public Properties getProperties()
- Specified by:
getProperties
in interfaceBaseModel
-
stop
public void stop()
- Specified by:
stop
in interfaceorg.springframework.context.Lifecycle
-
isRunning
public boolean isRunning()
- Specified by:
isRunning
in interfaceorg.springframework.context.Lifecycle
-
getPhase
public int getPhase()
- Specified by:
getPhase
in interfaceorg.springframework.context.Phased
-
isAutoStartup
public boolean isAutoStartup()
- Specified by:
isAutoStartup
in interfaceorg.springframework.context.SmartLifecycle
-
stop
public void stop(Runnable callback)
- Specified by:
stop
in interfaceorg.springframework.context.SmartLifecycle
-
getDataCollectionPointModel
public DataCollectionPointModel getDataCollectionPointModel()
- Specified by:
getDataCollectionPointModel
in interfaceBaseModel
-
getStateModel
public StateModel getStateModel()
- Specified by:
getStateModel
in interfaceBaseModel
-
getCertificateStartDateModel
public DateModel getCertificateStartDateModel()
- Specified by:
getCertificateStartDateModel
in interfaceBaseModel
-
getCertificateEndDateModel
public DateModel getCertificateEndDateModel()
- Specified by:
getCertificateEndDateModel
in interfaceBaseModel
-
setCertificateStartDate
public void setCertificateStartDate(org.joda.time.DateTime selected)
- Specified by:
setCertificateStartDate
in interfaceBaseModel
-
setCertificateEndDate
public void setCertificateEndDate(org.joda.time.DateTime selected)
- Specified by:
setCertificateEndDate
in interfaceBaseModel
-
getCertificatePassword
public String getCertificatePassword()
- Specified by:
getCertificatePassword
in interfaceBaseModel
-
setCertificatePassword
public void setCertificatePassword(String certificatePassword)
- Specified by:
setCertificatePassword
in interfaceBaseModel
-
getColumnMethod
public String getColumnMethod()
- Specified by:
getColumnMethod
in interfaceBaseModel
-
getMethodModel
public MethodModel getMethodModel()
- Specified by:
getMethodModel
in interfaceBaseModel
-
setMethodModel
public void setMethodModel(String value)
- Specified by:
setMethodModel
in interfaceBaseModel
-
setDataCollectionPointModel
public void setDataCollectionPointModel(String value)
- Specified by:
setDataCollectionPointModel
in interfaceBaseModel
-
setStateModel
public void setStateModel(String value)
- Specified by:
setStateModel
in interfaceBaseModel
-
getRowStart
public String getRowStart()
- Specified by:
getRowStart
in interfaceBaseModel
-
getCsvInputFile
public Path getCsvInputFile()
- Specified by:
getCsvInputFile
in interfaceBaseModel
-
getCsvOutputFile
public Path getCsvOutputFile()
- Specified by:
getCsvOutputFile
in interfaceBaseModel
-
getRegistrationDir
public File getRegistrationDir()
- Specified by:
getRegistrationDir
in interfaceBaseModel
-
setCsvOutputFile
public void setCsvOutputFile(Path csvOutputFile)
- Specified by:
setCsvOutputFile
in interfaceBaseModel
-
setColumnMethod
public void setColumnMethod(String columnMethod)
- Specified by:
setColumnMethod
in interfaceBaseModel
-
setRowStart
public void setRowStart(String rowStart)
- Specified by:
setRowStart
in interfaceBaseModel
-
setCsvInputFile
public void setCsvInputFile(Path csvInputFile)
- Specified by:
setCsvInputFile
in interfaceBaseModel
-
setRegistrationDir
public void setRegistrationDir(File registrationDir)
- Specified by:
setRegistrationDir
in interfaceBaseModel
-
getColumnInputIkbs
public String getColumnInputIkbs()
- Specified by:
getColumnInputIkbs
in interfaceBaseModel
-
getColumnOutputIkbs
public String getColumnOutputIkbs()
- Specified by:
getColumnOutputIkbs
in interfaceBaseModel
-
getColumnInputSto
public String getColumnInputSto()
- Specified by:
getColumnInputSto
in interfaceBaseModel
-
getColumnOutputSto
public String getColumnOutputSto()
- Specified by:
getColumnOutputSto
in interfaceBaseModel
-
setColumnInputIkbs
public void setColumnInputIkbs(String columnInputIkbs)
- Specified by:
setColumnInputIkbs
in interfaceBaseModel
-
setColumnOutputIkbs
public void setColumnOutputIkbs(String columnOutputIkbs)
- Specified by:
setColumnOutputIkbs
in interfaceBaseModel
-
setColumnInputSto
public void setColumnInputSto(String columnInputSto)
- Specified by:
setColumnInputSto
in interfaceBaseModel
-
setColumnOutputSto
public void setColumnOutputSto(String columnOutputSto)
- Specified by:
setColumnOutputSto
in interfaceBaseModel
-
stateChanged
public void stateChanged(ChangeEvent e)
- Specified by:
stateChanged
in interfaceChangeListener
-
intervalAdded
public void intervalAdded(ListDataEvent e)
- Specified by:
intervalAdded
in interfaceListDataListener
-
intervalRemoved
public void intervalRemoved(ListDataEvent e)
- Specified by:
intervalRemoved
in interfaceListDataListener
-
contentsChanged
public void contentsChanged(ListDataEvent e)
- Specified by:
contentsChanged
in interfaceListDataListener
-
addActionModel
public void addActionModel(ActionModel model)
-
removeActionModel
public boolean removeActionModel(ActionModel model)
-
notifyActionModels
public void notifyActionModels()
-
changeComboBox
public void changeComboBox(ConfigModel.ChangeEvent changed, ConfigModel configModel)
-
changeValue
public void changeValue(ConfigModel.ChangeEvent changed, ConfigModel configModel)
-
changeDate
public void changeDate(ConfigModel.ChangeEvent changed, ConfigModel configModel)
-
addChangeListener
public void addChangeListener(org.iqtig.pseudonymisierung.config.Config config, ChangeListener listener)
- Specified by:
addChangeListener
in interfaceBaseModel
-
getListeners
public Map<org.iqtig.pseudonymisierung.config.Config,ChangeListener> getListeners()
-
setListeners
public void setListeners(Map<org.iqtig.pseudonymisierung.config.Config,ChangeListener> listeners)
-
notifyAllChangeListeners
public void notifyAllChangeListeners()
-
-