agg.parser
Class Triple

java.lang.Object
  extended by agg.parser.Triple

public class Triple
extends java.lang.Object

A triple stores three data. This triple stores only specific data. This class is necessary to push three data on a stack at the same time.


Constructor Summary
Triple(Graph hostGraph, RuleInstances eri, java.lang.Integer layer)
          Creates a new tripel.
 
Method Summary
 Graph getHostGraph()
          Returns the first data.
 java.lang.Integer getLayer()
          The third data.
 RuleInstances getRuleInstance()
          Returns the second data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Triple

public Triple(Graph hostGraph,
              RuleInstances eri,
              java.lang.Integer layer)
Creates a new tripel.

Parameters:
hostGraph - The first data.
eri - The second data.
layer - The third data.
Method Detail

getHostGraph

public Graph getHostGraph()
Returns the first data.

Returns:
The host graph.

getRuleInstance

public RuleInstances getRuleInstance()
Returns the second data.

Returns:
The rule instance.

getLayer

public java.lang.Integer getLayer()
The third data.

Returns:
The layer.