org.blojsom.plugin.crosspost.beans
Class Destination

java.lang.Object
  extended byorg.blojsom.plugin.crosspost.beans.Destination

public class Destination
extends java.lang.Object

Destination POJO

Since:
blojsom 2.23
Version:
$Id: Destination.java,v 1.3 2006/01/04 16:53:00 czarneckid Exp $
Author:
Mark Lussier

Constructor Summary
Destination()
          Default constructor
 
Method Summary
 int getApiType()
          Get the API type for the destination.
 java.lang.String getBlogId()
          Get the blog ID of the destination
 java.lang.String getCategory()
          Get the category of the destination
 java.lang.String getPassword()
          Get the password for the user ID posting to the destination
 java.lang.String getTitle()
          Title of the destination
 java.lang.String getUrl()
          XML-RPC URL for the destination
 java.lang.String getUserId()
          Get the user ID posting to the destination
 void setApiType(int apiType)
          Set the API type for the destination.
 void setBlogId(java.lang.String blogId)
          Set the blog ID of the destination
 void setCategory(java.lang.String category)
          Set the category of the destination
 void setPassword(java.lang.String password)
          Set the password for the user ID posting to the destination
 void setTitle(java.lang.String title)
          Set the title of the destination
 void setUrl(java.lang.String url)
          Set the XML-RPC URL for the destination
 void setUserId(java.lang.String userId)
          Set the user ID posting to the destination
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Destination

public Destination()
Default constructor

Method Detail

getTitle

public java.lang.String getTitle()
Title of the destination

Returns:
Title

setTitle

public void setTitle(java.lang.String title)
Set the title of the destination

Parameters:
title - Title

getUrl

public java.lang.String getUrl()
XML-RPC URL for the destination

Returns:
XML-RPC URL

setUrl

public void setUrl(java.lang.String url)
Set the XML-RPC URL for the destination

Parameters:
url - XML-RPC URL

getApiType

public int getApiType()
Get the API type for the destination. Currently 0 = Blogger, 1 = MetaWeblog

Returns:
API type for destination

setApiType

public void setApiType(int apiType)
Set the API type for the destination. Currently 0 = Blogger, 1 = MetaWeblog

Parameters:
apiType - API type for destination

getUserId

public java.lang.String getUserId()
Get the user ID posting to the destination

Returns:
User ID

setUserId

public void setUserId(java.lang.String userId)
Set the user ID posting to the destination

Parameters:
userId - User ID posting to the destination

getPassword

public java.lang.String getPassword()
Get the password for the user ID posting to the destination

Returns:
Password for the user ID posting to the destination

setPassword

public void setPassword(java.lang.String password)
Set the password for the user ID posting to the destination

Parameters:
password - Password for the user ID posting to the destination

getBlogId

public java.lang.String getBlogId()
Get the blog ID of the destination

Returns:
Blog ID of the destination

setBlogId

public void setBlogId(java.lang.String blogId)
Set the blog ID of the destination

Parameters:
blogId - Blog ID of the destination

getCategory

public java.lang.String getCategory()
Get the category of the destination

Returns:
category of the destination

setCategory

public void setCategory(java.lang.String category)
Set the category of the destination

Parameters:
category - Category of the destination