All Packages Class Hierarchy This Package Previous Next Index
Class uhr.core.structure.PartReaderStd
java.lang.Object
|
+----uhr.core.structure.PartReaderStd
- public class PartReaderStd
- extends Object
- implements PartReader, NodeUser
This class allows reading parts from a cell. It acts
as a cell Fascade. (More methods will be added)
-
PartReaderStd()
-
-
enumeratePartNames()
- Returns an Enumeration of the part names in the cell, in order.
-
findPart(String)
- Finds and returns the named part.
-
getPart(String)
- Returns the named part in the cell.
-
getPartCount()
- Returns the number of parts in the cell.
-
listTree(boolean, boolean)
- Returns a String representing nodes in the the System Tree.
-
replicate()
- Returns a copy of itself without mission state.
-
setMyNode(Node)
- Sets the node the part is in.
PartReaderStd
public PartReaderStd()
setMyNode
public void setMyNode(Node node)
- Sets the node the part is in.
replicate
public Object replicate()
- Returns a copy of itself without mission state.
- Returns:
- the replication.
findPart
public Object findPart(String partName)
- Finds and returns the named part.
See full documentation.
- Parameters:
- partName - the name of the part to find.
- Returns:
- the part found.
getPart
public Object getPart(String partName)
- Returns the named part in the cell.
See full documentation.
- Parameters:
- partName - the name of the part to retrieve.
- Returns:
- the part in the cell with that name.
enumeratePartNames
public Enumeration enumeratePartNames()
- Returns an Enumeration of the part names in the cell, in order.
- Returns:
- the part names in the cell.
getPartCount
public int getPartCount()
- Returns the number of parts in the cell.
- Returns:
- the number of parts in the cell.
listTree
public String listTree(boolean startAtRoot,
boolean includeHidden)
- Returns a String representing nodes in the the System Tree.
Format is one line per node with indentation. This
is for developement use.
- Parameters:
- startAtRoot - true to start at the root or false to
start at the cell this PartReader is in.
- includeHidden - true to include hidden nodes or false
to not include them.
- Returns:
- a String representing the System Tree.
All Packages Class Hierarchy This Package Previous Next Index