com.sun.syndication.feed.rss

Class Cloud

public class Cloud extends Object implements Cloneable, Serializable

Bean for clouds of RSS feeds.

Author: Alejandro Abdelnur

Field Summary
String_domain
ObjectBean_objBean
String_path
int_port
String_protocol
String_registerProcedure
Constructor Summary
Cloud()
Default constructor.
Method Summary
Objectclone()
Creates a deep 'bean' clone of the object.
booleanequals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
StringgetDomain()
Returns the cloud domain.
StringgetPath()
Returns the cloud path.
intgetPort()
Returns the cloud port.
StringgetProtocol()
Returns the cloud protocol.
StringgetRegisterProcedure()
Returns the cloud register procedure.
inthashCode()
Returns a hashcode value for the object.
voidsetDomain(String domain)
Sets the cloud domain.
voidsetPath(String path)
Sets the cloud path.
voidsetPort(int port)
Sets the cloud port.
voidsetProtocol(String protocol)
Sets the cloud protocol.
voidsetRegisterProcedure(String registerProcedure)
Sets the cloud register procedure.
StringtoString()
Returns the String representation for the object.

Field Detail

_domain

private String _domain

_objBean

private ObjectBean _objBean

_path

private String _path

_port

private int _port

_protocol

private String _protocol

_registerProcedure

private String _registerProcedure

Constructor Detail

Cloud

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

Method Detail

clone

public Object clone()
Creates a deep 'bean' clone of the 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.

Parameters: other he reference object with which to compare.

Returns: true if 'this' object is equal to the 'other' object.

getDomain

public String getDomain()
Returns the cloud domain.

Returns: the cloud domain, null if none.

getPath

public String getPath()
Returns the cloud path.

Returns: the cloud path, null if none.

getPort

public int getPort()
Returns the cloud port.

Returns: the cloud port, null if none.

getProtocol

public String getProtocol()
Returns the cloud protocol.

Returns: the cloud protocol, null if none.

getRegisterProcedure

public String getRegisterProcedure()
Returns the cloud register procedure.

Returns: the cloud register procedure, null if none.

hashCode

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

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

Returns: the hashcode of the bean object.

setDomain

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

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

setPath

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

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

setPort

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

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

setProtocol

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

Parameters: protocol the cloud protocol to set, 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.

toString

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

Returns: String representation for the object.

Copyright © Sun Microsystems. All Rights Reserved.