View Javadoc

1   /*
2    * Copyright 2004 Sun Microsystems, Inc.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   *
16   */
17  package com.sun.syndication.feed.rss;
18  
19  import com.sun.syndication.common.ObjectBean;
20  
21  /***
22   * Bean for clouds of RSS feeds.
23   * <p>
24   * @author Alejandro Abdelnur
25   *
26   */
27  public class Cloud extends ObjectBean {
28      private String _domain;
29      private int _port;
30      private String _path;
31      private String _registerProcedure;
32      private String _protocol;
33  
34      /***
35       * Default constructor. All properties are set to <b>null</b>.
36       * <p>
37       *
38       */
39      public Cloud() {
40          super(Cloud.class);
41      }
42  
43      /***
44       * Returns the cloud domain.
45       * <p>
46       * @return the cloud domain, <b>null</b> if none.
47       *
48       */
49      public String getDomain() {
50          return _domain;
51      }
52  
53      /***
54       * Sets the cloud domain.
55       * <p>
56       * @param domain the cloud domain to set, <b>null</b> if none.
57       *
58       */
59      public void setDomain(String domain) {
60          _domain = domain;
61      }
62  
63      /***
64       * Returns the cloud port.
65       * <p>
66       * @return the cloud port, <b>null</b> if none.
67       *
68       */
69      public int getPort() {
70          return _port;
71      }
72  
73      /***
74       * Sets the cloud port.
75       * <p>
76       * @param port the cloud port to set, <b>null</b> if none.
77       *
78       */
79      public void setPort(int port) {
80          _port = port;
81      }
82  
83      /***
84       * Returns the cloud path.
85       * <p>
86       * @return the cloud path, <b>null</b> if none.
87       *
88       */
89      public String getPath() {
90          return _path;
91      }
92  
93      /***
94       * Sets the cloud path.
95       * <p>
96       * @param path the cloud path to set, <b>null</b> if none.
97       *
98       */
99      public void setPath(String path) {
100         _path = path;
101     }
102 
103     /***
104      * Returns the cloud register procedure.
105      * <p>
106      * @return the cloud register procedure, <b>null</b> if none.
107      *
108      */
109     public String getRegisterProcedure() {
110         return _registerProcedure;
111     }
112 
113     /***
114      * Sets the cloud register procedure.
115      * <p>
116      * @param registerProcedure the cloud register procedure to set, <b>null</b> if none.
117      *
118      */
119     public void setRegisterProcedure(String registerProcedure) {
120         _registerProcedure = registerProcedure;
121     }
122 
123     /***
124      * Returns the cloud protocol.
125      * <p>
126      * @return the cloud protocol, <b>null</b> if none.
127      *
128      */
129     public String getProtocol() {
130         return _protocol;
131     }
132 
133     /***
134      * Sets the cloud protocol.
135      * <p>
136      * @param protocol the cloud protocol to set, <b>null</b> if none.
137      *
138      */
139     public void setProtocol(String protocol) {
140         _protocol = protocol;
141     }
142 
143 }