ar.edu.unr.fceia.bottallo
Class Diamond_info

java.lang.Object
  extended by ar.edu.unr.fceia.bottallo.Diamond_info

public class Diamond_info
extends java.lang.Object

A Statecharts diamond state


Field Summary
static int A_CONSTANT
           
static int A_EXPRESSION
           
static int A_VARIABLE
           
 
Constructor Summary
Diamond_info()
          Creates a new instance of State_Parametrized
 
Method Summary
 int getConstant()
          Get the operator if it appears in the name
 java.lang.String getExpression()
          Get the expression (name) of a diamond state
 java.lang.String getOperator()
          Get the operator if it appears in the name
 int getType()
          Get the type, see the Field Summary part
 java.lang.String getVariable()
          Get the variable if it appears in the name
 void setExpression(java.lang.String exp)
          Evaluate the name of a diamond state, setting variable, operator and constant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

A_VARIABLE

public static final int A_VARIABLE
See Also:
Constant Field Values

A_CONSTANT

public static final int A_CONSTANT
See Also:
Constant Field Values

A_EXPRESSION

public static final int A_EXPRESSION
See Also:
Constant Field Values
Constructor Detail

Diamond_info

public Diamond_info()
Creates a new instance of State_Parametrized

Method Detail

getVariable

public java.lang.String getVariable()
Get the variable if it appears in the name


getOperator

public java.lang.String getOperator()
Get the operator if it appears in the name


getConstant

public int getConstant()
Get the operator if it appears in the name


setExpression

public void setExpression(java.lang.String exp)
Evaluate the name of a diamond state, setting variable, operator and constant


getExpression

public java.lang.String getExpression()
Get the expression (name) of a diamond state


getType

public int getType()
Get the type, see the Field Summary part