public class Port extends NetObject implements PortReport.PortReportable
NetObject.Type
Constructor and Description |
---|
Port(java.lang.String name,
PortCharacteristic type,
Wire w) |
Modifier and Type | Method and Description |
---|---|
void |
addExport(java.lang.String nm,
PortCharacteristic type,
boolean oneNamePerPort) |
void |
checkMe(Circuit parent)
Make sure this object is OK.
|
java.lang.String |
connectionDescription(int n)
human readable description of things connected this NetObject
|
java.lang.String |
exportNamesString()
Electric allows multiple Exports to be attached to network.
|
java.util.Iterator<NetObject> |
getConnected() |
java.util.Iterator<java.lang.String> |
getExportNames() |
java.lang.String |
getName()
instance name qualified by path prefix
|
NetObject.Type |
getNetObjType()
Distinguish Parts, Wires, and Ports.
|
boolean |
getToBeRenamed() |
PortCharacteristic |
getType() |
Wire |
getWire() |
java.lang.String |
getWireName() |
java.lang.String |
instanceDescription()
human readable identification of instance
|
boolean |
isDeleted() |
boolean |
isImplied() |
void |
setToBeRenamed() |
java.lang.String |
valueDescription()
human readable enumeration of sizes and other values
|
error, fullDescription, getCode, getParent, setParent, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fullDescription
public Port(java.lang.String name, PortCharacteristic type, Wire w)
public java.lang.String getName()
NetObject
getName
in interface NetObjReport.NetObjReportable
getName
in class NetObject
public NetObject.Type getNetObjType()
NetObject
getNetObjType
in class NetObject
public java.util.Iterator<NetObject> getConnected()
getConnected
in class NetObject
public void addExport(java.lang.String nm, PortCharacteristic type, boolean oneNamePerPort)
public PortCharacteristic getType()
public Wire getWire()
public java.lang.String getWireName()
getWireName
in interface PortReport.PortReportable
public void checkMe(Circuit parent)
NetObject
public java.lang.String exportNamesString()
exportNamesString
in interface PortReport.PortReportable
public java.util.Iterator<java.lang.String> getExportNames()
public boolean isImplied()
isImplied
in interface PortReport.PortReportable
public void setToBeRenamed()
public boolean getToBeRenamed()
public java.lang.String instanceDescription()
NetObject
instanceDescription
in interface NetObjReport.NetObjReportable
instanceDescription
in class NetObject
public java.lang.String valueDescription()
NetObject
valueDescription
in class NetObject
public java.lang.String connectionDescription(int n)
NetObject
connectionDescription
in class NetObject