SMILA (incubation) API documentation

org.eclipse.smila.blackboard.path
Class PathStep

java.lang.Object
  extended by org.eclipse.smila.blackboard.path.PathStep
All Implemented Interfaces:
java.io.Serializable

public class PathStep
extends java.lang.Object
implements java.io.Serializable

The Class PathStep.

See Also:
Serialized Form

Field Summary
static int ATTRIBUTE_ANNOTATION
          The Constant ATTRIBUTE_ANNOTATION.
static char LEFT_BRACKET
          The Constant LEFT_BRACKET.
static char RIGHT_BRACKET
          The Constant RIGHT_BRACKET.
 
Constructor Summary
PathStep(java.lang.String name)
          Instantiates a new path step.
PathStep(java.lang.String name, int index)
          Instantiates a new path step.
 
Method Summary
 boolean equals(java.lang.Object other)
          
 int getIndex()
          Gets the index.
 java.lang.String getName()
          Gets the name.
 int hashCode()
          
 void incIndex()
          Increase the index by 1.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

LEFT_BRACKET

public static final char LEFT_BRACKET
The Constant LEFT_BRACKET.

See Also:
Constant Field Values

RIGHT_BRACKET

public static final char RIGHT_BRACKET
The Constant RIGHT_BRACKET.

See Also:
Constant Field Values

ATTRIBUTE_ANNOTATION

public static final int ATTRIBUTE_ANNOTATION
The Constant ATTRIBUTE_ANNOTATION.

See Also:
Constant Field Values
Constructor Detail

PathStep

public PathStep(java.lang.String name)
Instantiates a new path step.

Parameters:
name - the name

PathStep

public PathStep(java.lang.String name,
                int index)
Instantiates a new path step.

Parameters:
name - the name
index - the index
Method Detail

getName

public java.lang.String getName()
Gets the name.

Returns:
the name

getIndex

public int getIndex()
Gets the index.

Returns:
the index

incIndex

public void incIndex()
Increase the index by 1.


equals

public boolean equals(java.lang.Object other)

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

SMILA (incubation) API documentation