KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > cowsultants > itracker > ejb > beans > entity > CustomFieldLocal


1 /*
2  * This software was designed and created by Jason Carroll.
3  * Copyright (c) 2002, 2003, 2004 Jason Carroll.
4  * The author can be reached at jcarroll@cowsultants.com
5  * ITracker website: http://www.cowsultants.com
6  * ITracker forums: http://www.cowsultants.com/phpBB/index.php
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it only under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  */

18
19 package cowsultants.itracker.ejb.beans.entity;
20
21 import javax.ejb.EJBLocalObject JavaDoc;
22 import javax.ejb.FinderException JavaDoc;
23
24 import java.util.Date JavaDoc;
25 import java.util.Collection JavaDoc;
26 import java.sql.Timestamp JavaDoc;
27
28 import cowsultants.itracker.ejb.client.models.CustomFieldModel;
29
30 public interface CustomFieldLocal extends EJBLocalObject JavaDoc {
31     public static final String JavaDoc JNDI_NAME = "ejb/CustomFieldBean";
32     public static final String JavaDoc ID_NAME = "customfield";
33
34     public Integer JavaDoc getId();
35     public void setId(Integer JavaDoc value);
36
37     public int getFieldType();
38     public void setFieldType(int value);
39
40     public String JavaDoc getDateFormat();
41     public void setDateFormat(String JavaDoc value);
42
43     public int getRequired();
44     public void setRequired(int value);
45
46     public int getSortOptionsByName();
47     public void setSortOptionsByName(int value);
48
49     public Timestamp JavaDoc getCreateDate();
50     public void setCreateDate(Timestamp JavaDoc value);
51
52     public Timestamp JavaDoc getLastModifiedDate();
53     public void setLastModifiedDate(Timestamp JavaDoc value);
54
55     public Collection JavaDoc getValues();
56     public void setValues(Collection JavaDoc values);
57
58     public Collection JavaDoc getProjects();
59     public void setProjects(Collection JavaDoc projects);
60
61     public Collection JavaDoc getFields();
62     public void setFields(Collection JavaDoc fields);
63
64     public CustomFieldModel getModel();
65     public void setModel(CustomFieldModel model);
66 }
Popular Tags