View Javadoc

1   /*
2    * Created on 07.03.2005
3    *
4    */
5   package test.crispy.example.model;
6   
7   import java.io.Serializable;
8   import java.math.BigDecimal;
9   import java.util.ArrayList;
10  import java.util.Collection;
11  import java.util.Date;
12  import java.util.HashMap;
13  import java.util.HashSet;
14  import java.util.Hashtable;
15  import java.util.List;
16  import java.util.Map;
17  import java.util.Set;
18  import java.util.Vector;
19  
20  /**
21   * @author Linke
22   *
23   */
24  public class Kunde implements Serializable {
25      
26  	private static final long serialVersionUID = 82842834L;
27  	
28  	private Long primaryKey = null;
29  	
30  	private String name = null;
31      private String vorname = null;
32      private String gebDatum = null; 
33      private BigDecimal gehalt = null;
34      private Date date = null;
35      private Date date2 = null;
36      private Date date3 = null;    
37      private Double doubleValue = null;
38      private Long longValue = null;
39      private Character character = null;
40  
41      private Status aktuellerStatus = null;
42      private Status vorgaengerStatus = null;
43  
44      private List adressen = new ArrayList();
45      private Collection collection = new Vector();
46      private List nullList = null;
47      private Set cars = new HashSet();
48      private Set sets = new HashSet();
49      private Map map1 = new Hashtable();
50      private Map map2 = new HashMap();
51      
52      private Car car = null;
53      
54      private Adresse adresseArray[] = null;
55      
56      public Kunde() { }
57      public Kunde(String pvName) { setName(pvName); }
58      public Kunde(String pvName, Long pvPrimaryKey) { setName(pvName);  setPrimaryKey(pvPrimaryKey); }
59      
60      public Long getPrimaryKey() { return primaryKey; }
61      protected void setPrimaryKey(Long pvPrimaryKey) { primaryKey = pvPrimaryKey; }
62  
63          
64      public void setDouble(Double pvDouble) { doubleValue = pvDouble; }
65      public Double getDouble() { return doubleValue; }
66      
67      public Long getLongValue() { return longValue; }
68      public void setLongValue(Long pvLongValue) { longValue = pvLongValue; }
69      
70      public void setCharacter(Character pvCharacter) { character = pvCharacter; }
71      public Character getCharacter() { return character; }
72      
73      public BigDecimal getGehalt() { return gehalt; }
74      public void setGehalt(BigDecimal pvGehalt) { gehalt = pvGehalt; }
75       
76  
77      public void setAdressen(List pvAdressen) { adressen = pvAdressen; }
78      public List getAdressen() { return adressen; }
79      
80      public Collection getCollection() { return collection; }
81      public void setCollection(Collection pvCollection) { collection = pvCollection; }
82      
83      public List getNullList() { return nullList; }
84      public void setNullList(List pvNullList) { nullList = pvNullList; }
85      
86      public Set getCars() { return cars; }
87      public void setCars(Set pvCars) { cars = pvCars; }
88      
89      public Set getSets() { return sets; }
90      public void setSets(Set pvSets) { sets = pvSets; }
91      
92      
93      public Map getMap1() { return map1; }
94      public void setMap1(Map pvMap1) { map1 = pvMap1; }
95      
96      public Map getMap2() { return map2; }
97      public void setMap2(Map pvMap2) { map2 = pvMap2; }
98      
99      public Car getCar() { return car; }
100     public void setCar(Car pvCars) { car = pvCars; }
101     
102     public String getGebDatum() { return gebDatum; }
103     public void setGebDatum(String pvGebDatum) { gebDatum = pvGebDatum; }
104     
105     public Date getDate() { return date; }
106     public void setDate(Date pvDate) { date = pvDate; }
107 
108     public Date getDate2() { return date2; }
109     public void setDate2(Date pvDate) { date2 = pvDate; }
110 
111     public Date getdate3() { return date3; }
112     public void setdate3(Date pvDate) { date3 = pvDate; }
113 
114     public String getName() { return name; }
115     public void setName(String pvName) { name = pvName; }
116 
117     public String getVorname() { return vorname; }
118     public void setVorname(String pvVorname) { vorname = pvVorname; }
119         
120 
121     public void setAktuellerStatus(Status pvStatus1) { aktuellerStatus = pvStatus1; }
122     public Status getAktuellerStatus() { return aktuellerStatus; }
123 
124     public void setVorgaengerStatus(Status pvStatus2) { vorgaengerStatus = pvStatus2; }
125     public Status getVorgaengerStatus() { return vorgaengerStatus; }
126 
127     
128     public Adresse[] getAdresseArray() { return adresseArray; }
129     public void setAdresseArray(Adresse[] pvAdresseArray) { adresseArray = pvAdresseArray; }
130 }