KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > sun > dd > api > ejb > EnterpriseBeans


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19 /*
20  * EnterpriseBeans.java
21  *
22  * Created on November 17, 2004, 4:38 PM
23  */

24
25 package org.netbeans.modules.j2ee.sun.dd.api.ejb;
26
27 import org.netbeans.modules.j2ee.sun.dd.api.common.WebserviceDescription;
28 import org.netbeans.modules.j2ee.sun.dd.api.common.MessageDestination;
29
30 /**
31  *
32  * @author Nitya Doraisamy
33  */

34 public interface EnterpriseBeans extends org.netbeans.modules.j2ee.sun.dd.api.CommonDDBean {
35
36     public static final String JavaDoc NAME = "Name"; // NOI18N
37
public static final String JavaDoc UNIQUE_ID = "UniqueId"; // NOI18N
38
public static final String JavaDoc EJB = "Ejb"; // NOI18N
39
public static final String JavaDoc PM_DESCRIPTORS = "PmDescriptors"; // NOI18N
40
public static final String JavaDoc CMP_RESOURCE = "CmpResource"; // NOI18N
41
public static final String JavaDoc MESSAGE_DESTINATION = "MessageDestination"; // NOI18N
42
public static final String JavaDoc WEBSERVICE_DESCRIPTION = "WebserviceDescription"; // NOI18N
43

44     public String JavaDoc getName();
45     public void setName(String JavaDoc value);
46     
47     public String JavaDoc getUniqueId();
48     public void setUniqueId(String JavaDoc value);
49     
50     public Ejb[] getEjb();
51     public Ejb getEjb(int index);
52     public void setEjb(Ejb[] value);
53     public void setEjb(int index, Ejb value);
54     public int addEjb(Ejb value);
55     public int removeEjb(Ejb value);
56     public int sizeEjb();
57     public Ejb newEjb();
58     
59     public PmDescriptors getPmDescriptors();
60     public void setPmDescriptors(PmDescriptors value);
61     public PmDescriptors newPmDescriptors();
62     
63     public CmpResource getCmpResource();
64     public void setCmpResource(CmpResource value);
65     public CmpResource newCmpResource();
66     
67     public MessageDestination[] getMessageDestination();
68     public MessageDestination getMessageDestination(int index);
69     public void setMessageDestination(MessageDestination[] value);
70     public void setMessageDestination(int index, MessageDestination value);
71     public int addMessageDestination(MessageDestination value);
72     public int removeMessageDestination(MessageDestination value);
73     public int sizeMessageDestination();
74     public MessageDestination newMessageDestination();
75     
76     public WebserviceDescription[] getWebserviceDescription();
77     public WebserviceDescription getWebserviceDescription(int index);
78     public void setWebserviceDescription(WebserviceDescription[] value);
79     public void setWebserviceDescription(int index, WebserviceDescription value);
80     public int addWebserviceDescription(WebserviceDescription value);
81     public int removeWebserviceDescription(WebserviceDescription value);
82     public int sizeWebserviceDescription();
83     public WebserviceDescription newWebserviceDescription();
84     
85     
86 }
87
Popular Tags