Class Component
java.lang.Object
mastermicro.topologies.components.Component
- All Implemented Interfaces:
- JSONSerializable
- Direct Known Subclasses:
- NMOSTransistor,- Resistor
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidconnectTerminal(String terminal, String node) voiddisconnectTerminal(String terminal) static Componentstatic ComponentfromJSON(org.json.JSONObject obj) booleanisConnectedToNode(String node) Determine if this component is connected to a netlist node or not.protected voidvalidateTerminal(String terminal) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface mastermicro.topologies.io.JSONSerializabletoJSON
- 
Field Details- 
id
- 
netlist
 
- 
- 
Constructor Details- 
Component
 
- 
- 
Method Details- 
connectTerminal- Throws:
- UnrecognizedTerminalException
 
- 
disconnectTerminal- Throws:
- UnrecognizedTerminalException
 
- 
validateTerminal- Throws:
- UnrecognizedTerminalException
 
- 
getAvailableTerminals
- 
isConnectedToNodeDetermine if this component is connected to a netlist node or not. We need this for the requirement of get all components that are connected to a specific netlist node.- Parameters:
- node- name of the node
 
- 
fromJSON
- 
fromJSON
 
-