org.alicebot.server.core.targeting
Class Category

java.lang.Object
  extended by org.alicebot.server.core.targeting.Category

public class Category
extends java.lang.Object

Represents a category.

Since:
4.1.5
Author:
Noel Bush

Constructor Summary
Category()
          Creates a new Category with no values.
Category(java.lang.String pattern, java.lang.String that, java.lang.String topic, java.lang.String template)
          Creates a new Category.
 
Method Summary
 java.lang.String getPattern()
          Returns the pattern.
 java.lang.String getTemplate()
          Returns the template.
 java.lang.String getThat()
          Returns the that.
 java.lang.String getTopic()
          Returns the topic.
 void setPattern(java.lang.String pattern)
          Sets the pattern.
 void setTemplate(java.lang.String template)
          Sets the template.
 void setThat(java.lang.String that)
          Sets the that.
 void setTopic(java.lang.String topic)
          Sets the topic.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Category

public Category()
Creates a new Category with no values.


Category

public Category(java.lang.String pattern,
                java.lang.String that,
                java.lang.String topic,
                java.lang.String template)
Creates a new Category.

Parameters:
pattern - the category's pattern contents
that - the category's that contents
topic - the category's topic contents
template - the category's template contents
Method Detail

getPattern

public java.lang.String getPattern()
Returns the pattern.

Returns:
the pattern

getThat

public java.lang.String getThat()
Returns the that.

Returns:
the that

getTopic

public java.lang.String getTopic()
Returns the topic.

Returns:
the topic

getTemplate

public java.lang.String getTemplate()
Returns the template.

Returns:
the template

setPattern

public void setPattern(java.lang.String pattern)
Sets the pattern.

Parameters:
pattern - the pattern

setThat

public void setThat(java.lang.String that)
Sets the that.

Parameters:
topic - the topic

setTopic

public void setTopic(java.lang.String topic)
Sets the topic.

Parameters:
topic - the topic

setTemplate

public void setTemplate(java.lang.String template)
Sets the template.

Parameters:
template - the template