|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.database.id.PortProtoId
com.sun.electric.database.id.PrimitivePortId
public class PrimitivePortId
The PrimitivePortId immutable class identifies primitive port proto independently of threads. It differs from PrimitivePort objects, which will be owned by threads in transactional database. This class is thread-safe except inCurrentThread method.
Field Summary |
---|
Fields inherited from class com.sun.electric.database.id.PortProtoId |
---|
chronIndex, externalId, parentId |
Method Summary | |
---|---|
java.lang.String |
getName(Snapshot snapshot)
Method to return the name of this PortProtoId in a specified Snapshot. |
PrimitiveNodeId |
getParentId()
Method to return the parent NodeProtoId of this PortProtoId. |
PrimitivePort |
inDatabase(EDatabase database)
Method to return the PortProto representing PortProtoId in the specified EDatabase. |
PrimitivePort |
inSnapshot(Snapshot snapshot)
Method to return the PrimitivePort representing PrimitivePortId in the specified Snapshot. |
Methods inherited from class com.sun.electric.database.id.PortProtoId |
---|
getChronIndex, getExternalId, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public PrimitiveNodeId getParentId()
getParentId
in class PortProtoId
public java.lang.String getName(Snapshot snapshot)
getName
in class PortProtoId
snapshot
- snapshot for name search.
public PrimitivePort inSnapshot(Snapshot snapshot)
snapshot
- Snapshot where to get from.
public PrimitivePort inDatabase(EDatabase database)
inDatabase
in class PortProtoId
database
- EDatabase where to get from.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |