Package org.syncany.config.to
Class TypedPropertyListTO
- java.lang.Object
-
- org.syncany.config.to.TypedPropertyListTO
-
- Direct Known Subclasses:
RepoTO.ChunkerTO
,RepoTO.MultiChunkerTO
,RepoTO.TransformerTO
public abstract class TypedPropertyListTO extends java.lang.Object
The typed property list is a helper data structure that allows storing an object of a certain type with its properties .It is used in the
RepoTO
for chunker, multichunker and transformer, and in theConfigTO
for the connection settings.It uses the Simple framework for XML serialization, and its corresponding annotation-based configuration.
- See Also:
- Simple framework
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,java.lang.String>
settings
-
Constructor Summary
Constructors Constructor Description TypedPropertyListTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
getSettings()
java.lang.String
getType()
void
setSettings(java.util.Map<java.lang.String,java.lang.String> settings)
void
setType(java.lang.String type)
-
-
-
Field Detail
-
settings
protected java.util.Map<java.lang.String,java.lang.String> settings
-
-
Constructor Detail
-
TypedPropertyListTO
public TypedPropertyListTO()
-
-
Method Detail
-
getType
public java.lang.String getType()
-
setType
public void setType(java.lang.String type)
-
getSettings
public java.util.Map<java.lang.String,java.lang.String> getSettings()
-
setSettings
public void setSettings(java.util.Map<java.lang.String,java.lang.String> settings)
-
-