del.icio.us.beans
Class Bundle

java.lang.Object
  extended bydel.icio.us.beans.Bundle

public class Bundle
extends java.lang.Object

Bundle

Since:
1.9
Version:
$Id: Bundle.java,v 1.6 2007/01/19 00:14:43 czarneckid Exp $
Author:
David Czarnecki

Constructor Summary
Bundle(java.lang.String name, java.lang.String tags)
          Create a new bundle with a bundle name and a space separated list of tags
 
Method Summary
 java.lang.String getName()
          Get the name of this bundle
 java.lang.String getTags()
          Get the space separated list of tags for this bundle
 java.lang.String[] getTagsAsArray()
          Get the list of tags as a String[]
 void setName(java.lang.String name)
          Set the name of this bundle
 void setTags(java.lang.String tags)
          Set the list of tags for this bundle
 java.lang.String toString()
          Object as name:tags string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Bundle

public Bundle(java.lang.String name,
              java.lang.String tags)
Create a new bundle with a bundle name and a space separated list of tags

Parameters:
name - Bundle name
tags - List of tags
Method Detail

getName

public java.lang.String getName()
Get the name of this bundle

Returns:
Name of this bundle

setName

public void setName(java.lang.String name)
Set the name of this bundle

Parameters:
name - Name of this bundle

getTags

public java.lang.String getTags()
Get the space separated list of tags for this bundle

Returns:
Space separated list of tags

setTags

public void setTags(java.lang.String tags)
Set the list of tags for this bundle

Parameters:
tags - List of tags for this bundle

getTagsAsArray

public java.lang.String[] getTagsAsArray()
Get the list of tags as a String[]

Returns:
List of tags as a String []

toString

public java.lang.String toString()
Object as name:tags string

Returns:
name:tags