|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttico.rules.TRule
public class TRule
The TRule
is an object that stores all the information of a rule
in the XML file.
Constructor Summary | |
---|---|
TRule()
Creates a new empty TRule with no initial attributes. |
|
TRule(java.lang.String name,
java.lang.String nameXML)
Creates a new empty TRule with the specified initial
name and nameXML . |
|
TRule(java.lang.String name,
java.lang.String nameXML,
TAttribute attribute,
TAttribute attribute2,
TAttribute parameter,
java.lang.String function,
java.lang.String functionXML,
java.lang.String message,
java.lang.String messageXML)
Creates a new empty TRule with the specified initial
name , nameXML , attribute ,
attribute2 , parameter , function ,
functionXML and messageXML . |
Method Summary | |
---|---|
TAttribute |
getAttribute()
Returns the rule attribute . |
TAttribute |
getAttribute2()
Returns the rule attribute2 . |
java.lang.String |
getFunction()
Returns the rule function . |
java.lang.String |
getFunctionXML()
Returns the rule functionXML . |
java.lang.String |
getMessage()
Returns the rule message . |
java.lang.String |
getMessageXML()
Returns the rule messageXML . |
java.lang.String |
getName()
Returns the rule name . |
java.lang.String |
getNameXML()
Returns the rule nameXML . |
TAttribute |
getParameter()
Returns the rule paramter . |
java.lang.String |
getType()
Returns the rule type . |
void |
setAttribute(TAttribute attribute)
Sets the rule attribute . |
void |
setAttribute2(TAttribute attribute2)
Sets the rule attribute2 . |
void |
setFunction(java.lang.String function)
Sets the rule function . |
void |
setFunctionXML(java.lang.String functionXML)
Sets the rule functionXML . |
void |
setMessage(java.lang.String message)
Sets the rule message . |
void |
setMessageXML(java.lang.String messageXML)
Sets the rule messageXML . |
void |
setName(java.lang.String name)
Sets the rule name . |
void |
setNameXML(java.lang.String nameXML)
Sets the rule nameXML . |
void |
setParameter(TAttribute parameter)
Sets the rule parameter . |
void |
setType(java.lang.String type)
Sets the rule type . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TRule()
TRule
with no initial attributes.
public TRule(java.lang.String name, java.lang.String nameXML)
TRule
with the specified initial
name
and nameXML
.
name
- The specified initial name
nameXML
- The specified initial nameXML
public TRule(java.lang.String name, java.lang.String nameXML, TAttribute attribute, TAttribute attribute2, TAttribute parameter, java.lang.String function, java.lang.String functionXML, java.lang.String message, java.lang.String messageXML)
TRule
with the specified initial
name
, nameXML
, attribute
,
attribute2
, parameter
, function
,
functionXML
and messageXML
.
name
- The specified initial name
nameXML
- The specified initial nameXML
attribute
- The specified initial attribute
attribute2
- The specified initial attribute2
parameter
- The specified initial parameter
function
- The specified initial function
functionXML
- The specified initial functionXML
message
- The specified initial message
messageXML
- The specified initial messageXML
Method Detail |
---|
public java.lang.String getName()
name
.
name
public void setName(java.lang.String name)
name
.
name
- The rule name
to setpublic java.lang.String getNameXML()
nameXML
.
nameXML
public void setNameXML(java.lang.String nameXML)
nameXML
.
nameXML
- The rule nameXML
to setpublic TAttribute getAttribute()
attribute
.
attribute
public void setAttribute(TAttribute attribute)
attribute
.
attribute
- The rule attribute
to setpublic TAttribute getAttribute2()
attribute2
.
attribute2
public void setAttribute2(TAttribute attribute2)
attribute2
.
attribute2
- The rule attribute2
to setpublic TAttribute getParameter()
paramter
.
parameter
public void setParameter(TAttribute parameter)
parameter
.
parameter
- The rule parameter
to setpublic java.lang.String getFunction()
function
.
function
public void setFunction(java.lang.String function)
function
.
function
- The rule function
to setpublic java.lang.String getFunctionXML()
functionXML
.
functionXML
public void setFunctionXML(java.lang.String functionXML)
functionXML
.
functionXML
- The rule functionXML
to setpublic java.lang.String getMessage()
message
.
message
public void setMessage(java.lang.String message)
message
.
message
- The rule message
to setpublic java.lang.String getMessageXML()
messageXML
.
messageXML
public void setMessageXML(java.lang.String messageXML)
messageXML
.
messageXML
- The rule messageXML
to setpublic java.lang.String getType()
type
.
type
public void setType(java.lang.String type)
type
.
type
- The rule type
to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |