es.uned.compiler.intermediate
Class TemporalTable

java.lang.Object
  extended by es.uned.compiler.intermediate.TemporalTable
All Implemented Interfaces:
TemporalTableIF

public class TemporalTable
extends java.lang.Object
implements TemporalTableIF

Clase que implementa una tabla de temporales. Es creada al crearse un objeto Scope


Constructor Summary
TemporalTable(ScopeIF scope)
          Returns the scope of this temporal table.
 
Method Summary
 void addTemporal(Temporal temporal)
          Sets a temporal to the temporal table.
 boolean containsTemporal(Temporal temporal)
          Indicates whether the temporal is contained in the temporal table.
 ScopeIF getScope()
          Returns the scope of this Symbol table.
 java.util.List getTemporals()
          Returns the list of temporals.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemporalTable

public TemporalTable(ScopeIF scope)
Returns the scope of this temporal table.

Method Detail

addTemporal

public void addTemporal(Temporal temporal)
Sets a temporal to the temporal table.

Specified by:
addTemporal in interface TemporalTableIF
Parameters:
temporal - the temporal to add.

containsTemporal

public boolean containsTemporal(Temporal temporal)
Indicates whether the temporal is contained in the temporal table.

Specified by:
containsTemporal in interface TemporalTableIF
Parameters:
temporal - The temporal.
Returns:
True if the temporal is contained in the temporal table.

getScope

public ScopeIF getScope()
Returns the scope of this Symbol table.

Specified by:
getScope in interface TemporalTableIF
Returns:
the scope of this Symbol table.

getTemporals

public java.util.List getTemporals()
Returns the list of temporals.

Specified by:
getTemporals in interface TemporalTableIF
Returns:
A list of temporals.