Package org.cyclos.model.system.monitor
Class DatabaseUpgradeData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.system.monitor.DatabaseUpgradeData
-
- All Implemented Interfaces:
Serializable
public class DatabaseUpgradeData extends Bean
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<String,DatabaseUpgradeData>APPLICATION_VERSIONstatic StringCLASS_NAMEstatic BasicProperty<Integer,DatabaseUpgradeData>DATABASE_VERSIONstatic BasicProperty<DateTime,DatabaseUpgradeData>DATEstatic BasicProperty<String,DatabaseUpgradeData>ERRORstatic BasicProperty<Boolean,DatabaseUpgradeData>LOG_GENERATED
-
Constructor Summary
Constructors Constructor Description DatabaseUpgradeData()DatabaseUpgradeData(Property<T,? super DatabaseUpgradeData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()StringgetApplicationVersion()intgetDatabaseVersion()DateTimegetDate()StringgetError()booleanisLogGenerated()voidsetApplicationVersion(String applicationVersion)voidsetDatabaseVersion(int databaseVersion)voidsetDate(DateTime date)voidsetError(String error)voidsetLogGenerated(boolean logGenerated)-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
APPLICATION_VERSION
public static final BasicProperty<String,DatabaseUpgradeData> APPLICATION_VERSION
-
DATABASE_VERSION
public static final BasicProperty<Integer,DatabaseUpgradeData> DATABASE_VERSION
-
DATE
public static final BasicProperty<DateTime,DatabaseUpgradeData> DATE
-
ERROR
public static final BasicProperty<String,DatabaseUpgradeData> ERROR
-
LOG_GENERATED
public static final BasicProperty<Boolean,DatabaseUpgradeData> LOG_GENERATED
-
-
Constructor Detail
-
DatabaseUpgradeData
public DatabaseUpgradeData()
-
DatabaseUpgradeData
public DatabaseUpgradeData(Property<T,? super DatabaseUpgradeData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
getApplicationVersion
public String getApplicationVersion()
-
setApplicationVersion
public void setApplicationVersion(String applicationVersion)
-
getDatabaseVersion
public int getDatabaseVersion()
-
setDatabaseVersion
public void setDatabaseVersion(int databaseVersion)
-
getDate
public DateTime getDate()
-
setDate
public void setDate(DateTime date)
-
getError
public String getError()
-
setError
public void setError(String error)
-
isLogGenerated
public boolean isLogGenerated()
-
setLogGenerated
public void setLogGenerated(boolean logGenerated)
-
-