Class Subcategory
- java.lang.Object
-
- com.rometools.modules.itunes.types.Subcategory
-
- All Implemented Interfaces:
Serializable
public class Subcategory extends Object implements Serializable
This class represents a Subcategor of a Category.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Subcategory()Subcategory(String name)Creates a new instance of Category with a given name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()Clones the object.StringgetName()Returns the name of the subcategory.voidsetName(String name)Set the name of the subcategory.StringtoString()String representation of the object.
-
-
-
Constructor Detail
-
Subcategory
public Subcategory()
-
Subcategory
public Subcategory(String name)
Creates a new instance of Category with a given name.- Parameters:
name- Name of the category.
-
-
Method Detail
-
getName
public String getName()
Returns the name of the subcategory.- Returns:
- Returns the name of the subcategory.
-
setName
public void setName(String name)
Set the name of the subcategory.- Parameters:
name- Set the name of the subcategory.
-
clone
public Object clone()
Clones the object.
-
-