|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.fh_mannheim.mm.dms.framework.Category
Describes a category.
| Field Summary | |
static int |
UNKNOWN
UKNOWN is set as initial value for id of category |
| Constructor Summary | |
Category()
Constructor. |
|
Category(int nID,
java.lang.String strShortname,
java.lang.String strName,
java.lang.String strDescription,
java.lang.String strKeywords)
Constructor. |
|
Category(java.lang.String strName)
Constructor. |
|
Category(java.lang.String strShortname,
java.lang.String strName,
java.lang.String strDescription,
java.lang.String strKeywords)
Constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object other)
Compares two category objects. |
java.lang.String |
getDescription()
Get description of category. |
int |
getID()
Get ID of category. |
java.lang.String |
getKeywords()
Get keywords of category. |
java.lang.String |
getName()
Get name of category. |
java.lang.String |
getShortname()
Get shortname of category. |
void |
setDescription(java.lang.String strDescription)
Set description of category. |
void |
setID(int nCategoryID)
Set ID of category. |
void |
setKeywords(java.lang.String strKeywords)
Set keywords of category. |
void |
setName(java.lang.String strName)
Set name of category. |
void |
setShortname(java.lang.String strShortname)
Set shortname of category. |
org.w3c.dom.Element |
toElement(org.w3c.dom.Document doc)
Write information of category in a xml element. |
org.w3c.dom.Element |
toElement(org.w3c.dom.Element element,
org.w3c.dom.Document doc)
Write information of category in a xml element. |
java.lang.String |
toString()
Write information of category in a string. |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int UNKNOWN
| Constructor Detail |
public Category()
public Category(java.lang.String strShortname,
java.lang.String strName,
java.lang.String strDescription,
java.lang.String strKeywords)
strShortname - Shortname of categorystrName - Name of categorystrDescription - Description of categorystrKeywords - Keywordspublic Category(java.lang.String strName)
strName - Name of category
public Category(int nID,
java.lang.String strShortname,
java.lang.String strName,
java.lang.String strDescription,
java.lang.String strKeywords)
nID - ID of categorystrShortname - Shortname of categorystrName - Name of categorystrDescription - Description of categorystrKeywords - Keywords| Method Detail |
public boolean equals(java.lang.Object other)
other - Category to compare
public int getID()
public java.lang.String getDescription()
public java.lang.String getName()
public java.lang.String getKeywords()
public java.lang.String getShortname()
public void setKeywords(java.lang.String strKeywords)
strKeywords - Keywords of categorypublic void setID(int nCategoryID)
nCategoryID - ID of categorypublic void setName(java.lang.String strName)
strName - Name of categorypublic void setShortname(java.lang.String strShortname)
strShortname - Shortname of categorypublic void setDescription(java.lang.String strDescription)
strDescription - Description of categorypublic org.w3c.dom.Element toElement(org.w3c.dom.Document doc)
toElement in interface IElementdoc - XML Document
public org.w3c.dom.Element toElement(org.w3c.dom.Element element,
org.w3c.dom.Document doc)
toElement in interface IElementelement - Root elementdoc - XML Document
public java.lang.String toString()
toString in interface IElement
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||