author | František Kučera <franta-hg@frantovo.cz> |
Sat Feb 28 17:56:24 2009 +0100 (2009-02-28) | |
changeset 2 | dc31dce8773f |
child 4 | dfb345ef9452 |
permissions | -rw-r--r-- |
franta-hg@0 | 1 |
/* |
franta-hg@0 | 2 |
* To change this template, choose Tools | Templates |
franta-hg@0 | 3 |
* and open the template in the editor. |
franta-hg@0 | 4 |
*/ |
franta-hg@0 | 5 |
|
franta-hg@0 | 6 |
package cz.frantovo.postak; |
franta-hg@0 | 7 |
|
franta-hg@0 | 8 |
import java.util.ArrayList; |
franta-hg@0 | 9 |
|
franta-hg@0 | 10 |
/** |
franta-hg@0 | 11 |
* |
franta-hg@0 | 12 |
* @author fiki |
franta-hg@0 | 13 |
*/ |
franta-hg@0 | 14 |
public class Nastaveni { |
franta-hg@0 | 15 |
|
franta-hg@0 | 16 |
private String postovniServer = "localhost"; |
franta-hg@0 | 17 |
private int postovniPort = 25; |
franta-hg@0 | 18 |
private String postovniJmeno; |
franta-hg@0 | 19 |
private char[] postovniHeslo; |
franta-hg@0 | 20 |
private int limitZprav = 1000; |
franta-hg@0 | 21 |
|
franta-hg@0 | 22 |
/** Připojovací řetězec */ |
franta-hg@0 | 23 |
private String databaze; |
franta-hg@0 | 24 |
private String dbJmeno; |
franta-hg@0 | 25 |
private char[] dbHeslo; |
franta-hg@0 | 26 |
|
franta-hg@0 | 27 |
/** Výchozí příjemci */ |
franta-hg@0 | 28 |
private ArrayList<InternetAddressKomu> vychoziPrijemci; |
franta-hg@0 | 29 |
|
franta-hg@0 | 30 |
/** Přejatá konstanta od SuperPošťáka */ |
franta-hg@0 | 31 |
private String cestaKCertifikatum; |
franta-hg@0 | 32 |
|
franta-hg@0 | 33 |
public String getCestaKCertifikatum() { |
franta-hg@0 | 34 |
return cestaKCertifikatum; |
franta-hg@0 | 35 |
} |
franta-hg@0 | 36 |
|
franta-hg@0 | 37 |
public void setCestaKCertifikatum(String cestaKCertifikatum) { |
franta-hg@0 | 38 |
this.cestaKCertifikatum = cestaKCertifikatum; |
franta-hg@0 | 39 |
} |
franta-hg@0 | 40 |
|
franta-hg@0 | 41 |
public String getPostovniServer() { |
franta-hg@0 | 42 |
return postovniServer; |
franta-hg@0 | 43 |
} |
franta-hg@0 | 44 |
|
franta-hg@0 | 45 |
public void setPostovniServer(String postovniServer) { |
franta-hg@0 | 46 |
this.postovniServer = postovniServer; |
franta-hg@0 | 47 |
} |
franta-hg@0 | 48 |
|
franta-hg@0 | 49 |
public int getPostovniPort() { |
franta-hg@0 | 50 |
return postovniPort; |
franta-hg@0 | 51 |
} |
franta-hg@0 | 52 |
|
franta-hg@0 | 53 |
public void setPostovniPort(int postovniPort) { |
franta-hg@0 | 54 |
this.postovniPort = postovniPort; |
franta-hg@0 | 55 |
} |
franta-hg@0 | 56 |
|
franta-hg@0 | 57 |
public String getPostovniJmeno() { |
franta-hg@0 | 58 |
return postovniJmeno; |
franta-hg@0 | 59 |
} |
franta-hg@0 | 60 |
|
franta-hg@0 | 61 |
public void setPostovniJmeno(String postovniJmeno) { |
franta-hg@0 | 62 |
this.postovniJmeno = postovniJmeno; |
franta-hg@0 | 63 |
} |
franta-hg@0 | 64 |
|
franta-hg@0 | 65 |
public char[] getPostovniHeslo() { |
franta-hg@0 | 66 |
return postovniHeslo; |
franta-hg@0 | 67 |
} |
franta-hg@0 | 68 |
|
franta-hg@0 | 69 |
public void setPostovniHeslo(char[] postovniHeslo) { |
franta-hg@0 | 70 |
this.postovniHeslo = postovniHeslo; |
franta-hg@0 | 71 |
} |
franta-hg@0 | 72 |
|
franta-hg@0 | 73 |
public int getLimitZprav() { |
franta-hg@0 | 74 |
return limitZprav; |
franta-hg@0 | 75 |
} |
franta-hg@0 | 76 |
|
franta-hg@0 | 77 |
public void setLimitZprav(int limitZprav) { |
franta-hg@0 | 78 |
this.limitZprav = limitZprav; |
franta-hg@0 | 79 |
} |
franta-hg@0 | 80 |
|
franta-hg@0 | 81 |
public String getDatabaze() { |
franta-hg@0 | 82 |
return databaze; |
franta-hg@0 | 83 |
} |
franta-hg@0 | 84 |
|
franta-hg@0 | 85 |
public String getDbJmeno() { |
franta-hg@0 | 86 |
return dbJmeno; |
franta-hg@0 | 87 |
} |
franta-hg@0 | 88 |
|
franta-hg@0 | 89 |
public char[] getDbHeslo() { |
franta-hg@0 | 90 |
return dbHeslo; |
franta-hg@0 | 91 |
} |
franta-hg@0 | 92 |
|
franta-hg@0 | 93 |
public ArrayList<InternetAddressKomu> getVychoziPrijemci() { |
franta-hg@0 | 94 |
return vychoziPrijemci; |
franta-hg@0 | 95 |
} |
franta-hg@0 | 96 |
|
franta-hg@0 | 97 |
public void setDatabaze(String databaze) { |
franta-hg@0 | 98 |
this.databaze = databaze; |
franta-hg@0 | 99 |
} |
franta-hg@0 | 100 |
|
franta-hg@0 | 101 |
public void setDbJmeno(String dbJmeno) { |
franta-hg@0 | 102 |
this.dbJmeno = dbJmeno; |
franta-hg@0 | 103 |
} |
franta-hg@0 | 104 |
|
franta-hg@0 | 105 |
public void setDbHeslo(char[] dbHeslo) { |
franta-hg@0 | 106 |
this.dbHeslo = dbHeslo; |
franta-hg@0 | 107 |
} |
franta-hg@0 | 108 |
|
franta-hg@0 | 109 |
public void setVychoziPrijemci(ArrayList<InternetAddressKomu> vychoziPrijemci) { |
franta-hg@0 | 110 |
this.vychoziPrijemci = vychoziPrijemci; |
franta-hg@0 | 111 |
} |
franta-hg@0 | 112 |
|
franta-hg@0 | 113 |
|
franta-hg@0 | 114 |
} |