wt.clients.prodmgmt
Class UsesInterfaceList
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.Vector
wt.clients.prodmgmt.UsageItemList
wt.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
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
part
PartItem part
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.
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()