com.sun.syndication.feed.module.itunes.types
Class Subcategory

java.lang.Object
  extended by com.sun.syndication.feed.module.itunes.types.Subcategory
All Implemented Interfaces:
java.io.Serializable

public class Subcategory
extends java.lang.Object
implements java.io.Serializable

This class represents a Subcategor of a Category.

Version:
$Revision: 1.2 $
Author:
Robert "kebernet" Cooper
See Also:
Serialized Form

Constructor Summary
Subcategory()
          Creates a new instance of SubCategory
Subcategory(java.lang.String name)
          Creates a new instance of Category with a given name.
 
Method Summary
 java.lang.Object clone()
          Clones the object.
 java.lang.String getName()
          Returns the name of the subcategory.
 void setName(java.lang.String name)
          Set the name of the subcategory.
 java.lang.String toString()
          String representation of the object.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Subcategory

public Subcategory()
Creates a new instance of SubCategory


Subcategory

public Subcategory(java.lang.String name)
Creates a new instance of Category with a given name.

Parameters:
name - Name of the category.
Method Detail

getName

public java.lang.String getName()
Returns the name of the subcategory.

Returns:
Returns the name of the subcategory.

setName

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

Parameters:
name - Set the name of the subcategory.

clone

public java.lang.Object clone()
Clones the object.

Overrides:
clone in class java.lang.Object
Returns:
Clone of the object.

toString

public java.lang.String toString()
String representation of the object.

Overrides:
toString in class java.lang.Object
Returns:
String representation of the object.


Copyright © 2006-2009. All Rights Reserved.