de.upb.hni.vmagic.object
Class VariableGroup

java.lang.Object
  extended by de.upb.hni.vmagic.object.VariableGroup
All Implemented Interfaces:
VhdlObjectGroup<Variable>, VhdlObjectProvider<Variable>

public class VariableGroup
extends java.lang.Object
implements VhdlObjectGroup<Variable>

Variable group.


Constructor Summary
VariableGroup(java.util.List<Variable> variables)
          Creates a group of variables.
VariableGroup(Variable... variables)
          Creates a group of variables.
 
Method Summary
 java.util.List<Variable> getElements()
          Returns the variables in this group.
 java.util.List<Variable> getVhdlObjects()
          Returns a list of VhdlObject that are contained in this VhdlObjectProvider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableGroup

public VariableGroup(java.util.List<Variable> variables)
Creates a group of variables.

Parameters:
variables - a list of variables

VariableGroup

public VariableGroup(Variable... variables)
Creates a group of variables.

Parameters:
variables - a variable number of variables
Method Detail

getElements

public java.util.List<Variable> getElements()
Returns the variables in this group.

Specified by:
getElements in interface VhdlObjectGroup<Variable>
Returns:
a modifiable list of variables

getVhdlObjects

public java.util.List<Variable> getVhdlObjects()
Description copied from interface: VhdlObjectProvider
Returns a list of VhdlObject that are contained in this VhdlObjectProvider.

Specified by:
getVhdlObjects in interface VhdlObjectProvider<Variable>
Returns:
list of VhdlObjects