|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jgoodies.binding.beans.Model de.schwarzrot.data.support.AbstractEntity de.schwarzrot.app.config.support.AbstractConfigBase
public abstract class AbstractConfigBase
base class for preferences based persistence, mainly configuration stuff, that need to be available independant of existing database connnections.
Configuration is splitted into 2 parts, system defaults and user custom
settings. System defaults are common to all childclasses and the base
location is symbolized by the classname of SystemDefault
, returned as
persistence name. Classes that want different location for system defaults
must override the getPersistenceName
.
Not every system setting is allowed to be overwritten by user customization.
So thats the role of getUserAttributes
, which returns a list of
property names.
Default is to store the user properties in nodes, build by the classpath of the configuration entity, whereas all system properties will be stored in the same node.
Constructor Summary | |
---|---|
AbstractConfigBase()
|
Method Summary | |
---|---|
String |
getPersistenceName()
system default settings of all descendants go to the same node, given by this method. |
protected Map<String,Boolean> |
getSupportedDBDrivers()
|
Class<?> |
getSystemClass()
return the classtype for system usage |
boolean |
isUserType()
configuration IS per default a system type. |
Methods inherited from class de.schwarzrot.data.support.AbstractEntity |
---|
adoptChildren, adoptChildren, adoptGroupedChildren, compareTo, equals, getCModified, getCode, getDefaultOrder, getDtCreated, getDtModified, getId, getLogger, getMappings, getSchemaName, getSkipList, getUCreated, getUModified, getUniqColumnNames, getUserAttributes, getVariantColumnName, getVariantTypeMap, hashCode, isDirty, isVirtual, setCModified, setDirty, setDtCreated, setDtModified, setId, setSchemaName, setUCreated, setUModified, toString, validate |
Methods inherited from class com.jgoodies.binding.beans.Model |
---|
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.jgoodies.binding.beans.Observable |
---|
addPropertyChangeListener, removePropertyChangeListener |
Constructor Detail |
---|
public AbstractConfigBase()
Method Detail |
---|
public String getPersistenceName()
getPersistenceName
in interface Entity
getPersistenceName
in class AbstractEntity
public Class<?> getSystemClass()
Entity
getSystemClass
in interface Entity
getSystemClass
in class AbstractEntity
public final boolean isUserType()
getUserAttributes
.
isUserType
in interface Entity
isUserType
in class AbstractEntity
protected Map<String,Boolean> getSupportedDBDrivers()
|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |