|
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.domain.DriveMapping
public class DriveMapping
abstraction for mapping paths between windows and linux systems. Used to access serverside VDR-recordings and images from both systems.
Persistence always contains linux view of the world, cause background processing will not be available for windows systems in near future. So on windows clients, path-entries will be converted on read- and write-access. The client applications running on windows systems will always present windows paths to the user.
Field Summary |
---|
Fields inherited from interface de.schwarzrot.data.ChildEntity |
---|
PARENT_ATTR_NAME |
Constructor Summary | |
---|---|
DriveMapping()
|
|
DriveMapping(String desktopValue,
String hostValue)
|
Method Summary | |
---|---|
String |
getDesktopValue()
return the windows view of the world |
String |
getHostValue()
get linux view of the world |
String |
getName()
|
AbstractSysConfig |
getParent()
returns the parent entity instance of this entity instance |
Class<AbstractSysConfig> |
getParentType()
returns the type of the parent entity |
Map<String,Integer> |
getSkipList()
returns a map with property names, that EntityManager s should
ignore. |
List<String> |
getUserAttributes()
return a list of properties, that are user attributes. |
boolean |
isValid()
|
void |
setDesktopValue(String desktopValue)
change windows view of the world |
void |
setDirty(boolean dirty)
marks an instance as dirty, which means the instance has changes, not written to persistence yet. |
void |
setHostValue(String hostValue)
change linux view of the world |
void |
setName(String notUsed)
|
void |
setParent(AbstractSysConfig parent)
sets the parent entity instance to the given instance |
Methods inherited from class de.schwarzrot.data.support.AbstractEntity |
---|
adoptChildren, adoptChildren, adoptGroupedChildren, compareTo, equals, getCModified, getCode, getDefaultOrder, getDtCreated, getDtModified, getId, getLogger, getMappings, getPersistenceName, getSchemaName, getSystemClass, getUCreated, getUModified, getUniqColumnNames, getVariantColumnName, getVariantTypeMap, hashCode, isDirty, isUserType, isVirtual, setCModified, 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 de.schwarzrot.data.Entity |
---|
getCModified, getDefaultOrder, getDtCreated, getDtModified, getId, getMappings, getPersistenceName, getSchemaName, getSystemClass, getUCreated, getUModified, getUniqColumnNames, getVariantColumnName, getVariantTypeMap, isDirty, isUserType, isVirtual, setCModified, setDtCreated, setDtModified, setId, setUCreated, setUModified, validate |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface com.jgoodies.binding.beans.Observable |
---|
addPropertyChangeListener, removePropertyChangeListener |
Constructor Detail |
---|
public DriveMapping()
public DriveMapping(String desktopValue, String hostValue)
Method Detail |
---|
public final String getDesktopValue()
String
public final String getHostValue()
String
public final String getName()
getName
in interface NamedEntity<String>
public final AbstractSysConfig getParent()
ChildEntity
getParent
in interface ChildEntity<AbstractSysConfig>
public final Class<AbstractSysConfig> getParentType()
ChildEntity
getParentType
in interface ChildEntity<AbstractSysConfig>
public Map<String,Integer> getSkipList()
Entity
EntityManager
s should
ignore. These properties may be virtual properties, that not should be
saved to persistence and/or methods that start with 'get' and that are
not getters.
Implemention uses HashMaps
for performance reasons, but the
values are never used. So the map consists of propertynames as keys and
an Integer as Value.
Every implementation should use the Map from parent class:
public Map<String, Integer> getSkipList() { Map<String, Integer> skipList = super.getSkipList(); skipList.put("a_virtual_field", 1); return skipList; }
getSkipList
in interface Entity
getSkipList
in class AbstractEntity
public List<String> getUserAttributes()
Entity
getUserAttributes
in interface Entity
getUserAttributes
in class AbstractEntity
public boolean isValid()
public final void setDesktopValue(String desktopValue)
desktopValue
- - the drive value for the desktop systempublic final void setDirty(boolean dirty)
Entity
setDirty
in interface Entity
setDirty
in class AbstractEntity
dirty
- - true if instance has unsafed changesAbstractEntity
public final void setHostValue(String hostValue)
hostValue
- - the drive value for the host systempublic final void setName(String notUsed)
setName
in interface NamedEntity<String>
public final void setParent(AbstractSysConfig parent)
ChildEntity
setParent
in interface ChildEntity<AbstractSysConfig>
parent
- the new parent entity instance
|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |