org.ow2.clif.scenario.isac.egui.plugins.nodes
Class Node

java.lang.Object
  extended by org.ow2.clif.scenario.isac.egui.plugins.nodes.Node

public class Node
extends java.lang.Object

This interface defined the differents types allowed for tree nodes

Author:
JC Meillaud, A Peyrard

Field Summary
static java.lang.String ACTION
          Xml name for action tag (replacement of sample?)
static java.lang.String BEHAVIOR
          Xml name for behavior tag
static java.lang.String BEHAVIORS
          Xml name for behaviorS tag
static java.lang.String CHOICE
          Type for separate the different choice for a nchoice controler
static java.lang.String CONDITION
          Xml name for condition tag
static java.lang.String CONTROL
          Xml name for control tag
static java.lang.String ELSE
          Type for a control node
static java.lang.String GROUP
          type for a definition of a group
static java.lang.String IF
          Type for a control node
static java.lang.String LOAD_PROFILE
          Xml name for loadprofile tag
static java.lang.String NCHOICE
          Type for a control node
static java.lang.String PARAM
          Type for a param node
static java.lang.String PARAMS
          Xml name for paramS tag
static java.lang.String PLUGINS
          Xml name for plugins tag
static java.lang.String POINT
          type for a point node
static java.lang.String POINTS
          type for the definition of the points of a ramp
static java.lang.String PREEMPTIVE
          Type for a control node
static java.lang.String RAMP
          type for the definition of a ramp
static java.lang.String SAMPLE
          Xml name for sample tag
static java.lang.String SCENARIO
          Type for a control scenario
static java.lang.String TEST
          Xml name for test tag
static java.lang.String THEN
          Type for a control node
static java.lang.String TIMER
          Xml name for timer tag
static java.lang.String UNKNOW
          This type is used to be an unknow type
static java.lang.String USE
          Xml name for use tag
static java.lang.String WHILE
          Type for a control node
 
Constructor Summary
Node()
           
 
Method Summary
static boolean isBehaviorsNode(java.lang.String type)
          This method evaluate if the given type is a behaviors tree node
static boolean isChoiceNode(java.lang.String type)
          Method which return if the type is a choice node type
static boolean isControllerNode(java.lang.String type)
          Method which evaluate if the given string is a type of a controler node
static boolean isPluginNode(java.lang.String type)
          Method which evaluate if the given string is a type of a plugin node
static boolean isStructureNode(java.lang.String type)
          Method which return if the type is a structure node type
static boolean isUseNode(java.lang.String type)
          ethod which evaluate if the given string is a type of a use node
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNKNOW

public static final java.lang.String UNKNOW
This type is used to be an unknow type

See Also:
Constant Field Values

SCENARIO

public static final java.lang.String SCENARIO
Type for a control scenario

See Also:
Constant Field Values

IF

public static final java.lang.String IF
Type for a control node

See Also:
Constant Field Values

THEN

public static final java.lang.String THEN
Type for a control node

See Also:
Constant Field Values

ELSE

public static final java.lang.String ELSE
Type for a control node

See Also:
Constant Field Values

WHILE

public static final java.lang.String WHILE
Type for a control node

See Also:
Constant Field Values

PREEMPTIVE

public static final java.lang.String PREEMPTIVE
Type for a control node

See Also:
Constant Field Values

NCHOICE

public static final java.lang.String NCHOICE
Type for a control node

See Also:
Constant Field Values

CHOICE

public static final java.lang.String CHOICE
Type for separate the different choice for a nchoice controler

See Also:
Constant Field Values

BEHAVIORS

public static final java.lang.String BEHAVIORS
Xml name for behaviorS tag

See Also:
Constant Field Values

BEHAVIOR

public static final java.lang.String BEHAVIOR
Xml name for behavior tag

See Also:
Constant Field Values

PLUGINS

public static final java.lang.String PLUGINS
Xml name for plugins tag

See Also:
Constant Field Values

TEST

public static final java.lang.String TEST
Xml name for test tag

See Also:
Constant Field Values

TIMER

public static final java.lang.String TIMER
Xml name for timer tag

See Also:
Constant Field Values

CONTROL

public static final java.lang.String CONTROL
Xml name for control tag

See Also:
Constant Field Values

SAMPLE

public static final java.lang.String SAMPLE
Xml name for sample tag

See Also:
Constant Field Values

ACTION

public static final java.lang.String ACTION
Xml name for action tag (replacement of sample?)

See Also:
Constant Field Values

USE

public static final java.lang.String USE
Xml name for use tag

See Also:
Constant Field Values

LOAD_PROFILE

public static final java.lang.String LOAD_PROFILE
Xml name for loadprofile tag

See Also:
Constant Field Values

CONDITION

public static final java.lang.String CONDITION
Xml name for condition tag

See Also:
Constant Field Values

PARAMS

public static final java.lang.String PARAMS
Xml name for paramS tag

See Also:
Constant Field Values

PARAM

public static final java.lang.String PARAM
Type for a param node

See Also:
Constant Field Values

GROUP

public static final java.lang.String GROUP
type for a definition of a group

See Also:
Constant Field Values

RAMP

public static final java.lang.String RAMP
type for the definition of a ramp

See Also:
Constant Field Values

POINTS

public static final java.lang.String POINTS
type for the definition of the points of a ramp

See Also:
Constant Field Values

POINT

public static final java.lang.String POINT
type for a point node

See Also:
Constant Field Values
Constructor Detail

Node

public Node()
Method Detail

isPluginNode

public static boolean isPluginNode(java.lang.String type)
Method which evaluate if the given string is a type of a plugin node

Parameters:
type - The type which will be evaluate
Returns:
True if it's a plugin node

isUseNode

public static boolean isUseNode(java.lang.String type)
ethod which evaluate if the given string is a type of a use node

Parameters:
type - he type which will be evaluate
Returns:
True if it's a use node

isControllerNode

public static boolean isControllerNode(java.lang.String type)
Method which evaluate if the given string is a type of a controler node

Parameters:
type - The type which will be evaluate
Returns:
True if it's a controler type

isBehaviorsNode

public static boolean isBehaviorsNode(java.lang.String type)
This method evaluate if the given type is a behaviors tree node

Parameters:
type - The type wich will be evaluate
Returns:
True if the type is a behaviors tree node, False in the others cases

isStructureNode

public static boolean isStructureNode(java.lang.String type)
Method which return if the type is a structure node type

Parameters:
type - The node type
Returns:
True id the type is structure node type

isChoiceNode

public static boolean isChoiceNode(java.lang.String type)
Method which return if the type is a choice node type

Parameters:
type - The node type
Returns:
True id the type is choice node type