tico.rules
Class TAttribute

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

public class TAttribute
extends java.lang.Object

The TAttribute object that contains a name, a nameXML and a value.

Version:
1.0 Sep 27, 2007
Author:
Beatriz Mateo

Constructor Summary
TAttribute()
          Creates a new empty TAttribute with no initial name.
TAttribute(int value)
          Creates a new empty TAttribute with the specified initial value
TAttribute(java.lang.String name, java.lang.String nameXML)
          Creates a new empty TAttribute with the specified initial name and nameXML.
TAttribute(java.lang.String name, java.lang.String nameXML, java.lang.Object value)
          Creates a new empty TAttribute with the specified initial name, nameXML and value
 
Method Summary
 java.lang.String getLimitType()
          Returns the attribute limitation type.
 java.lang.String getName()
          Returns the attribute name.
 java.lang.String getNameXML()
          Returns the attribute nameXML.
 java.lang.Object getValue()
          Returns the attribute value.
 void setLimitType(java.lang.String limitType)
          Sets the attribute limitation type.
 void setName(java.lang.String name)
          Sets the attribute name.
 void setNameXML(java.lang.String nameXML)
          Sets the attribute nameXML.
 void setValue(java.lang.Object value)
          Sets the attribute value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TAttribute

public TAttribute()
Creates a new empty TAttribute with no initial name.


TAttribute

public TAttribute(java.lang.String name,
                  java.lang.String nameXML)
Creates a new empty TAttribute with the specified initial name and nameXML.

Parameters:
name - The specified initial name
nameXML - The specified initial nameXML

TAttribute

public TAttribute(int value)
Creates a new empty TAttribute with the specified initial value

Parameters:
value - The specified initial value

TAttribute

public TAttribute(java.lang.String name,
                  java.lang.String nameXML,
                  java.lang.Object value)
Creates a new empty TAttribute with the specified initial name, nameXML and value

Parameters:
name - The specified initial name
nameXML - The specified initial nameXML
value - The specified initial value
Method Detail

getName

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

Returns:
The attribute name

setName

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

Parameters:
name - The attribute name to set

getNameXML

public java.lang.String getNameXML()
Returns the attribute nameXML.

Returns:
The attribute nameXML

setNameXML

public void setNameXML(java.lang.String nameXML)
Sets the attribute nameXML.

Parameters:
nameXML - The attribute nameXML to set

getValue

public java.lang.Object getValue()
Returns the attribute value.

Returns:
The attribute value

setValue

public void setValue(java.lang.Object value)
Sets the attribute value.

Parameters:
value - The attribute value to set

getLimitType

public java.lang.String getLimitType()
Returns the attribute limitation type.

Returns:
The attribute limitation type

setLimitType

public void setLimitType(java.lang.String limitType)
Sets the attribute limitation type.

Parameters:
limitType - The attribute limitation type to set