wt.clients.prodmgmt
Class UsesInterfaceList

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.Vector
              extended bywt.clients.prodmgmt.UsageItemList
                  extended bywt.clients.prodmgmt.UsesInterfaceList
All Implemented Interfaces:
Cloneable, Collection, List, RandomAccess, Serializable

public class UsesInterfaceList
extends UsageItemList

UsageInterfaceList is a model class for manipulating Part Usage Links. This list corresponds to the list of the used wt.part.WTPartMasters for a wt.part.WTPart object.

Supported API: false

Extendable: false

See Also:
PartItem, UsageInterfaceItem, WTPart, WTPartMaster, Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.util.AbstractList
 
Field Summary
(package private)  Vector addedUsage
           
(package private)  boolean frameStarted
           
(package private)  PartItem part
           
(package private)  Vector removedUsage
           
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
UsesInterfaceList()
          Construct an empty list.
UsesInterfaceList(PartItem part)
          Construct a list of parts used for the specified part.
 
Method Summary
 void addElement(UsageInterfaceItem usage)
           
 UsageItem elementAt(String s)
          Implemented to fulfill base class obligation.
(package private)  void endFrame()
           
 void insertElementAt(UsageInterfaceItem usage, int index)
           
 UsageInterfaceItem interfaceElementAt(String id)
          Get the item at the specified position.
 void populate()
           
 void removeElementAt(String part_number)
           
(package private)  boolean saveFrame()
           
(package private)  void startFrame()
           
 String[] toMultiList()
           
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Field Detail

frameStarted

boolean frameStarted

removedUsage

Vector removedUsage

addedUsage

Vector addedUsage

part

PartItem part
Constructor Detail

UsesInterfaceList

public UsesInterfaceList(PartItem part)
                  throws WTException
Construct a list of parts used for the specified part.

Parameters:
part - the using part.
Throws:
WTException - if error occurred retrieving the list.

UsesInterfaceList

public UsesInterfaceList()
Construct an empty list.

Method Detail

interfaceElementAt

public UsageInterfaceItem interfaceElementAt(String id)
Get the item at the specified position.

Parameters:
id - the specified position.
Returns:
the item at the specified position.

elementAt

public UsageItem elementAt(String s)
Implemented to fulfill base class obligation.

Specified by:
elementAt in class UsageItemList
Returns:
null

insertElementAt

public void insertElementAt(UsageInterfaceItem usage,
                            int index)

removeElementAt

public void removeElementAt(String part_number)
Overrides:
removeElementAt in class UsageItemList

addElement

public void addElement(UsageInterfaceItem usage)

populate

public void populate()
              throws WTException
Throws:
WTException

toMultiList

public String[] toMultiList()

saveFrame

boolean saveFrame()
            throws WTException
Throws:
WTException

startFrame

void startFrame()

endFrame

void endFrame()