de.unikassel.android.sdcframework.data
Class TimeProviderConfigurationEntries

Package class diagram package TimeProviderConfigurationEntries
java.lang.Object
  extended by de.unikassel.android.sdcframework.data.TimeProviderConfigurationEntries

public class TimeProviderConfigurationEntries
extends Object

A time provider configuration entry hold the address of a single NTP time provider.

Example:

<provider> ptbtime1.ptb.de <provider>

See Also:
SDCConfiguration

Field Summary
private  String errorStrategy
          The description of the strategy in case of time provider syncronization errors.
private  List<String> providers
          The provider for the file transfer
 
Constructor Summary
TimeProviderConfigurationEntries()
          Constructor
 
Method Summary
 String getErrorStrategy()
          Getter for the error strategy
 List<String> getProviders()
          Getter for the provider list
 void setErrorStrategy(String errorStrategy)
          Setter for the error strategy
 void setProviders(List<String> providers)
          Setter for the provider list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

providers

private List<String> providers
The provider for the file transfer


errorStrategy

private String errorStrategy
The description of the strategy in case of time provider syncronization errors.
Has to be the string representation of a valid de.unikassel.android.sdcframework .persistence.facade.DBFullStrategyDescriptiontrategyDescription strategy description}.

Constructor Detail

TimeProviderConfigurationEntries

public TimeProviderConfigurationEntries()
Constructor

Method Detail

getProviders

public List<String> getProviders()
Getter for the provider list

Returns:
the provider list

setProviders

public void setProviders(List<String> providers)
Setter for the provider list

Parameters:
providers - the provider list to set

setErrorStrategy

public void setErrorStrategy(String errorStrategy)
Setter for the error strategy

Parameters:
errorStrategy - the errorStrategy to set

getErrorStrategy

public String getErrorStrategy()
Getter for the error strategy

Returns:
the errorStrategy