Package org.bedework.synch.shared
Interface SerializableProperties<T>
- Type Parameters:
T-
- All Superinterfaces:
Comparable<T>
- All Known Subinterfaces:
SubscriptionConnectorInfo<T>,SubscriptionInfo<T>
Serializable form of information for a connection to a system via a
connector - a connector id and the serialized proeprties.
-
Method Summary
Modifier and TypeMethodDescriptionorg.bedework.synch.wsmessages.ArrayOfSynchPropertiesbooleangetProperty(String name) Get a property from the internal properties - loading them from the external value first if necessary.voidLoad the properties from the serialized form.voidreset the changed flag.voidsetChanged(boolean val) Set the changed flagvoidsetProperty(String name, String val) Set a property in the internal properties - loading them from the external value first if necessary.voidsetSynchProperties(String val) Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getAllSynchProperties
- Throws:
SynchException
-
setSynchProperties
- Parameters:
val- serialized properties
-
getSynchProperties
- Returns:
- serialized properties
- Throws:
SynchException
-
setChanged
void setChanged(boolean val) Set the changed flag- Parameters:
val-
-
getChanged
boolean getChanged()- Returns:
- changed flag.
-
resetChanged
void resetChanged()reset the changed flag. -
loadProperties
Load the properties from the serialized form.- Throws:
SynchException
-
setProperty
Set a property in the internal properties - loading them from the external value first if necessary.- Parameters:
name-val-- Throws:
SynchException
-
getProperty
Get a property from the internal properties - loading them from the external value first if necessary.- Parameters:
name-- Returns:
- val
- Throws:
SynchException
-