tico.rules
Class TType

java.lang.Object
  extended by tico.rules.TType

public class TType
extends java.lang.Object

The TType is a structure to comunicate Java Beans with Jess.

Version:
1.0 Oct 1, 2007
Author:
Beatriz Mateo

Constructor Summary
TType()
          Creates a new empty TType with no initial attributes.
TType(java.lang.String name, java.lang.String of, java.lang.Object atr, java.lang.Object par, java.lang.String message)
          Creates a new empty TType with the specified initial name, of, attribute, parameter, and message
 
Method Summary
 java.lang.Object getAttribute()
          Returns the TType attribute.
 java.lang.String getMessage()
          Returns the TType message.
 java.lang.String getName()
          Returns the TType name.
 java.lang.String getOf()
          Returns the TType of.
 java.lang.Object getParameter()
          Returns the TType parameter.
 void setAttribute(java.lang.Object atr)
          Sets the TType attribute.
 void setMessage(java.lang.String message)
          Sets the TType message.
 void setName(java.lang.String name)
          Sets the TType name.
 void setOf(java.lang.String of)
          Sets the TType of.
 void setParameter(java.lang.Object par)
          Sets the TType parameter.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TType

public TType()
Creates a new empty TType with no initial attributes.


TType

public TType(java.lang.String name,
             java.lang.String of,
             java.lang.Object atr,
             java.lang.Object par,
             java.lang.String message)
Creates a new empty TType with the specified initial name, of, attribute, parameter, and message

Parameters:
name - The specified initial name
of - The specified initial of
atr - The specified initial attribute
par - The specified initial parameter
message - The specified initial message
Method Detail

getName

public java.lang.String getName()
Returns the TType name.

Returns:
The TType name

setName

public void setName(java.lang.String name)
Sets the TType name.

Parameters:
name - The TType name to set

getOf

public java.lang.String getOf()
Returns the TType of.

Returns:
The TType of

setOf

public void setOf(java.lang.String of)
Sets the TType of.

Parameters:
of - The TType of to set

getAttribute

public java.lang.Object getAttribute()
Returns the TType attribute.

Returns:
The TType attribute

setAttribute

public void setAttribute(java.lang.Object atr)
Sets the TType attribute.

Parameters:
atr - The TType attribute to set

getParameter

public java.lang.Object getParameter()
Returns the TType parameter.

Returns:
The TType parameter

setParameter

public void setParameter(java.lang.Object par)
Sets the TType parameter.

Parameters:
par - The TType parameter to set

getMessage

public java.lang.String getMessage()
Returns the TType message.

Returns:
The TType message

setMessage

public void setMessage(java.lang.String message)
Sets the TType message.

Parameters:
message - The TType message to set