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      }
41  
42      /***
43       * Returns the cloud domain.
44       * <p>
45       * @return the cloud domain, <b>null</b> if none.
46       *
47       */
48      public String getDomain() {
49          return _domain;
50      }
51  
52      /***
53       * Sets the cloud domain.
54       * <p>
55       * @param domain the cloud domain to set, <b>null</b> if none.
56       *
57       */
58      public void setDomain(String domain) {
59          _domain = domain;
60      }
61  
62      /***
63       * Returns the cloud port.
64       * <p>
65       * @return the cloud port, <b>null</b> if none.
66       *
67       */
68      public int getPort() {
69          return _port;
70      }
71  
72      /***
73       * Sets the cloud port.
74       * <p>
75       * @param port the cloud port to set, <b>null</b> if none.
76       *
77       */
78      public void setPort(int port) {
79          _port = port;
80      }
81  
82      /***
83       * Returns the cloud path.
84       * <p>
85       * @return the cloud path, <b>null</b> if none.
86       *
87       */
88      public String getPath() {
89          return _path;
90      }
91  
92      /***
93       * Sets the cloud path.
94       * <p>
95       * @param path the cloud path to set, <b>null</b> if none.
96       *
97       */
98      public void setPath(String path) {
99          _path = path;
100     }
101 
102     /***
103      * Returns the cloud register procedure.
104      * <p>
105      * @return the cloud register procedure, <b>null</b> if none.
106      *
107      */
108     public String getRegisterProcedure() {
109         return _registerProcedure;
110     }
111 
112     /***
113      * Sets the cloud register procedure.
114      * <p>
115      * @param registerProcedure the cloud register procedure to set, <b>null</b> if none.
116      *
117      */
118     public void setRegisterProcedure(String registerProcedure) {
119         _registerProcedure = registerProcedure;
120     }
121 
122     /***
123      * Returns the cloud protocol.
124      * <p>
125      * @return the cloud protocol, <b>null</b> if none.
126      *
127      */
128     public String getProtocol() {
129         return _protocol;
130     }
131 
132     /***
133      * Sets the cloud protocol.
134      * <p>
135      * @param protocol the cloud protocol to set, <b>null</b> if none.
136      *
137      */
138     public void setProtocol(String protocol) {
139         _protocol = protocol;
140     }
141 
142 }