KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > nightlabs > ipanema > person > PersonDisplayNamePart


1 /*
2  * Created on Jan 4, 2005
3  * by alex
4  *
5  */

6 package com.nightlabs.ipanema.person;
7
8 import java.io.Serializable JavaDoc;
9
10 /**
11  *
12  * @author Alexander Bieber <alex[AT]nightlabs[DOT]de>
13  *
14  */

15 /**
16  * @jdo.persistence-capable
17  * identity-type = "datastore"
18  * detachable = "true"
19  *
20  * @jdo.inheritance strategy = "new-table"
21  */

22 public class PersonDisplayNamePart implements Serializable JavaDoc {
23     
24     public PersonDisplayNamePart() {
25     }
26     
27     public PersonDisplayNamePart(AbstractPersonStructField field, String JavaDoc suffix) {
28         this.structField = field;
29         this.structFieldSuffix = suffix;
30     }
31
32     private AbstractPersonStructField structField;
33     
34     public AbstractPersonStructField getStructField() {
35         return this.structField;
36     }
37     
38     public void setStructField(AbstractPersonStructField structField) {
39         this.structField = structField;
40     }
41     
42     private String JavaDoc structFieldSuffix;
43
44     public String JavaDoc getStructFieldSuffix() {
45         return structFieldSuffix;
46     }
47     public void setStructFieldSuffix(String JavaDoc structFieldSuffix) {
48         this.structFieldSuffix = structFieldSuffix;
49     }
50 }
51
Popular Tags