|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.feed.module.itunes.types.Category
public class Category
This Category information. Basically a name and an optional Subcategory. Categories are defined by Apple. See ITMS for a view.
Constructor Summary | |
---|---|
Category()
Creates a new instance of Category |
|
Category(java.lang.String name)
Creates a new instance of Category with a given name. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns a copy of this category. |
java.lang.String |
getName()
Returns the name of the category |
Subcategory |
getSubcategory()
Returns the Subcategory object for this category |
void |
setName(java.lang.String name)
Sets the name of the category |
void |
setSubcategory(Subcategory subcategory)
Sets the Subcategory object for this category |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Category()
public Category(java.lang.String name)
name
- Name of the category.Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- Sets the name of the categorypublic Subcategory getSubcategory()
public void setSubcategory(Subcategory subcategory)
subcategory
- Sets the Subcategory object for this categorypublic java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |