com.sun.syndication.feed.rss
Class Cloud

java.lang.Object
  extended by com.sun.syndication.feed.rss.Cloud
All Implemented Interfaces:
Serializable, Cloneable

public class Cloud
extends Object
implements Cloneable, Serializable

Bean for clouds of RSS feeds.

Author:
Alejandro Abdelnur
See Also:
Serialized Form

Constructor Summary
Cloud()
          Default constructor.
 
Method Summary
 Object clone()
          Creates a deep 'bean' clone of the object.
 boolean equals(Object other)
          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
 String getDomain()
          Returns the cloud domain.
 String getPath()
          Returns the cloud path.
 int getPort()
          Returns the cloud port.
 String getProtocol()
          Returns the cloud protocol.
 String getRegisterProcedure()
          Returns the cloud register procedure.
 int hashCode()
          Returns a hashcode value for the object.
 void setDomain(String domain)
          Sets the cloud domain.
 void setPath(String path)
          Sets the cloud path.
 void setPort(int port)
          Sets the cloud port.
 void setProtocol(String protocol)
          Sets the cloud protocol.
 void setRegisterProcedure(String registerProcedure)
          Sets the cloud register procedure.
 String toString()
          Returns the String representation for the object.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Cloud

public Cloud()
Default constructor. All properties are set to null.

Method Detail

clone

public Object clone()
             throws CloneNotSupportedException
Creates a deep 'bean' clone of the object.

Overrides:
clone in class Object
Returns:
a clone of the object.
Throws:
CloneNotSupportedException - thrown if an element of the object cannot be cloned.

equals

public boolean equals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.

Overrides:
equals in class Object
Parameters:
other - he reference object with which to compare.
Returns:
true if 'this' object is equal to the 'other' object.

hashCode

public int hashCode()
Returns a hashcode value for the object.

It follows the contract defined by the Object hashCode() method.

Overrides:
hashCode in class Object
Returns:
the hashcode of the bean object.

toString

public String toString()
Returns the String representation for the object.

Overrides:
toString in class Object
Returns:
String representation for the object.

getDomain

public String getDomain()
Returns the cloud domain.

Returns:
the cloud domain, null if none.

setDomain

public void setDomain(String domain)
Sets the cloud domain.

Parameters:
domain - the cloud domain to set, null if none.

getPort

public int getPort()
Returns the cloud port.

Returns:
the cloud port, null if none.

setPort

public void setPort(int port)
Sets the cloud port.

Parameters:
port - the cloud port to set, null if none.

getPath

public String getPath()
Returns the cloud path.

Returns:
the cloud path, null if none.

setPath

public void setPath(String path)
Sets the cloud path.

Parameters:
path - the cloud path to set, null if none.

getRegisterProcedure

public String getRegisterProcedure()
Returns the cloud register procedure.

Returns:
the cloud register procedure, null if none.

setRegisterProcedure

public void setRegisterProcedure(String registerProcedure)
Sets the cloud register procedure.

Parameters:
registerProcedure - the cloud register procedure to set, null if none.

getProtocol

public String getProtocol()
Returns the cloud protocol.

Returns:
the cloud protocol, null if none.

setProtocol

public void setProtocol(String protocol)
Sets the cloud protocol.

Parameters:
protocol - the cloud protocol to set, null if none.


Copyright © 2004-2013 ROME Project. All Rights Reserved.