de.cau.cs.kieler.kex.model
Class Category

java.lang.Object
  extended by de.cau.cs.kieler.kex.model.Category

public class Category
extends Object

The example category model.

Rating red

Constructor Summary
Category(String idParam, String titleParam, String descriptionParam, String iconPathParam, String parentIdParam)
          creates a new example category.
 
Method Summary
 String getDescription()
          Getter for category description.
 String getIconPath()
          Getter for category icon path.
 String getId()
          Getter for category id.
 String getNamespaceId()
          Getter for namespaceId.
 String getParentId()
          Getter for category parent id.
 String getTitle()
          Getter for category title.
 void setNamespaceId(String namespaceId)
          Setter for namespace id of an example.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Category

public Category(String idParam,
                String titleParam,
                String descriptionParam,
                String iconPathParam,
                String parentIdParam)
creates a new example category.

Parameters:
idParam - , String, required.
titleParam - , String, required.
descriptionParam - , String, additional.
iconPathParam - , String, additional.
parentIdParam - , Category, set the parent category if that category is a sub category a parent category.
Method Detail

getId

public String getId()
Getter for category id.

Returns:
String

getTitle

public String getTitle()
Getter for category title.

Returns:
String

getIconPath

public String getIconPath()
Getter for category icon path.

Returns:
String

getParentId

public String getParentId()
Getter for category parent id.

Returns:
String

getDescription

public String getDescription()
Getter for category description.

Returns:
String

toString

public String toString()
Overrides:
toString in class Object

setNamespaceId

public void setNamespaceId(String namespaceId)
Setter for namespace id of an example.

Parameters:
namespaceId - , String

getNamespaceId

public String getNamespaceId()
Getter for namespaceId.

Returns:
String