Source code: org/mobicents/slee/resource/ActivityTypeEntry.java
1 /*
2 * Created on Oct 21, 2004
3 *
4 * The Open SLEE Project
5 *
6 * A SLEE for the People
7 *
8 * The source code contained in this file is in in the public domain.
9 * It can be used in any project or product without prior permission,
10 * license or royalty payments. There is no claim of correctness and
11 * NO WARRANTY OF ANY KIND provided with this code.
12 */
13 package org.mobicents.slee.resource;
14
15 import java.io.Serializable;
16
17 /**
18 * See Spec Section 15.1.2 (page 240)
19 *
20 * Resource adaptor type deployment descriptor.
21 * This corresponds to the <activity-type> node of the resource adaptor
22 * deployment descriptor. Zero or more activity-type elements. The Java types
23 * of all the resource adaptor type’s Activity objects must be declared. Each
24 * activity-type element declares one of these Java types. Each activity-type
25 * element contains the following sub-elements:
26 * <p>
27 * A description element. This is
28 * an optional informational element. This element should document the
29 * conditions that end Activity objects of this Java type.
30 * <p>
31 * An
32 * activity-type-name element. This element identifies the name of the Java
33 * type. The Java type must be either an interface or a class.
34 *
35 * @author F.Moggia
36 */
37 public class ActivityTypeEntry implements Serializable {
38 private String description;
39
40 private String activityTypeName;
41
42 /**
43 * @return Returns the activityTypeName.
44 */
45 public String getActivityTypeName() {
46 return activityTypeName;
47 }
48
49 /** Set the activity type name -- this element identifies
50 * the name of the Java type. The Java type must be either
51 * an interface or a class.
52 *
53 * @param activityTypeName
54 * The activityTypeName to set.
55 *
56
57 *
58 */
59 public void setActivityTypeName(String className) {
60 this.activityTypeName = className;
61 }
62
63 /**
64 * @return Returns the description element.
65 *
66 */
67 public String getDescription() {
68 return description;
69 }
70
71 /**
72 * @param description
73 * The description to set.
74 */
75 public void setDescription(String description) {
76 this.description = description;
77 }
78 }