01: /*
02: * Copyright 2005 Sun Microsystems, Inc. All
03: * rights reserved. Use of this product is subject
04: * to license terms. Federal Acquisitions:
05: * Commercial Software -- Government Users
06: * Subject to Standard License Terms and
07: * Conditions.
08: *
09: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
10: * are trademarks or registered trademarks of Sun Microsystems,
11: * Inc. in the United States and other countries.
12: */
13:
14: package com.sun.portal.wsrp.common.registry.ebxml;
15:
16: import com.sun.portal.wsrp.common.registry.WSRPProducer;
17:
18: import java.util.ArrayList;
19: import java.util.Collection;
20: import java.util.Iterator;
21: import java.util.List;
22:
23: public class WSRPProducerImpl implements WSRPProducer {
24:
25: private Collection producerURL = null;
26: private String name = null;
27: private String description = null;
28: private String key = null;
29: private boolean requiresRegistration = false;
30: private String requiresInitCookie = "none";
31:
32: public WSRPProducerImpl() {
33: }
34:
35: public void setProducerURL(Collection url) {
36: this .producerURL = url;
37: }
38:
39: public void setName(String name) {
40: this .name = name;
41: }
42:
43: public void setDescription(String description) {
44: this .description = description;
45: }
46:
47: public Collection getProducerURL() {
48: return producerURL;
49: }
50:
51: public String getName() {
52: return name;
53: }
54:
55: public String getDescription() {
56: return description;
57: }
58:
59: public void setKey(String key) {
60: this .key = key;
61: }
62:
63: public String getKey() {
64: return key;
65: }
66:
67: public void setOfferedPortlets(List portlets) {
68: //TODO implement this - Porducers offering portlets is not
69: // supported published in ebXML
70: }
71:
72: public List getOfferedPortlets() {
73: return null;
74: }
75:
76: public boolean getRequiresRegistration() {
77: return this .requiresRegistration;
78: }
79:
80: public String getRequiresInitCookie() {
81: return this .requiresInitCookie;
82: }
83:
84: public void setRequiresRegistration(boolean requiresRegistration) {
85: this .requiresRegistration = requiresRegistration;
86: }
87:
88: public void setRequiresInitCookie(String initCookie) {
89: this.requiresInitCookie = initCookie;
90: }
91: }
|