eece496.util
Class parentListElement

java.lang.Object
  extended byeece496.util.parentListElement

public class parentListElement
extends java.lang.Object

Element for Parent List in Symbol Table.

$Source: K:/cvsrepo/ee496/codes/jbuilder/src/TestCaseGenerator/src/eece496/util/parentListElement.java,v $
Last updated by $Author: cyiu $
$Date: 2003/08/07 19:36:26 $
$Revision: 1.4 $
$State: Exp $

Author:
Charles Chung Man Yiu

Field Summary
 boolean isShown
           
 
Constructor Summary
parentListElement()
          Constructor.
parentListElement(java.util.Vector parentNames, java.util.Vector roids)
          initialize the parent list element with the list of roids and list of parent names.
 
Method Summary
 boolean addROID(java.lang.Double roid)
          Append a single new roid to the parent ROIDs.
 boolean addROIDs(java.util.Vector roids)
          Append new roids to the parent ROIDs.
 java.util.Vector getNames()
          Get the parent names
 java.util.Vector getROIDs()
          Get the parent ROIDs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isShown

public boolean isShown
Constructor Detail

parentListElement

public parentListElement()
Constructor. Construct an empty parent list element.


parentListElement

public parentListElement(java.util.Vector parentNames,
                         java.util.Vector roids)
initialize the parent list element with the list of roids and list of parent names.

Parameters:
roids - roids used to initialize the element.
Method Detail

addROIDs

public boolean addROIDs(java.util.Vector roids)
Append new roids to the parent ROIDs.

Parameters:
roids - vector of ROIDs to be added to the list.
Returns:
true if successful; false otherwise.

addROID

public boolean addROID(java.lang.Double roid)
Append a single new roid to the parent ROIDs.

Parameters:
roid - a ROID to be added to the list
Returns:
true if sucdessful; false otherwise.

getROIDs

public java.util.Vector getROIDs()
Get the parent ROIDs.

Returns:
a Vector of parent ROIDs.

getNames

public java.util.Vector getNames()
Get the parent names

Returns:
a Vector of parent names.