wt.clients.replication.unit
Class UnitUsesInterfaceList
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.Vector
wt.clients.replication.unit.UnitUsageItemList
wt.clients.replication.unit.UnitUsesInterfaceList
- All Implemented Interfaces:
- Cloneable, Collection, List, RandomAccess, Serializable
- public class UnitUsesInterfaceList
- extends UnitUsageItemList
UsesInterfaceList is a model class for manipulating Links of parts to units.
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
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 |
frameStarted
boolean frameStarted
removedUsage
Vector removedUsage
addedUsage
Vector addedUsage
unit
UnitItem unit
UnitUsesInterfaceList
public UnitUsesInterfaceList(UnitItem unit)
throws WTException
- Construct a list of parts contained by a unit.
- Parameters:
unit
- the containing unit.
- Throws:
WTException
- if error occurred retrieving the list.
UnitUsesInterfaceList
public UnitUsesInterfaceList()
- Construct an empty list.
interfaceElementAt
public UnitUsageInterfaceItem interfaceElementAt(String id)
- Get the item at the specified position.
- Parameters:
id
- the specified position.
- Returns:
- the item at the specified position.
elementAt
public UnitUsageItem elementAt(String s)
- Implemented to fulfill base class obligation.
- Specified by:
elementAt
in class UnitUsageItemList
- Returns:
- null
insertElementAt
public void insertElementAt(UnitUsageInterfaceItem usage,
int index)
removeElementAt
public void removeElementAt(String part_number)
- Overrides:
removeElementAt
in class UnitUsageItemList
addElement
public void addElement(UnitUsageInterfaceItem 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()