|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.database.id.PrimitiveNodeId
public class PrimitiveNodeId
The PrimitiveNodeId immutable class identifies primitive node proto independently of threads. It differs from PrimitiveNode objects, which will be owned by threads in transactional database. This class is thread-safe except inCurrentThread method.
Field Summary | |
---|---|
int |
chronIndex
Unique index of this PrimtiveNodeId in TechId. |
java.lang.String |
fullName
PrimitiveNode full name |
java.lang.String |
name
PrimitiveNode name |
TechId |
techId
TechId of this PrimitiveNodeId. |
Method Summary | |
---|---|
PrimitivePortId |
getPortId(int chronIndex)
Returns PrimitivePortId in this PrimitiveNodeId with specified chronological index. |
PrimitiveNode |
inDatabase(EDatabase database)
Method to return the NodeProto representing NodeProtoId in the specified EDatabase. |
boolean |
isIcon()
Returns true if this NodeProtoId is Id of icon Cell. |
PrimitivePortId |
newPortId(java.lang.String externalId)
Returns PrimtiivePortId in this node proto with specified external id. |
java.lang.String |
toString()
Returns a printable version of this ArcProtoId. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final TechId techId
public final java.lang.String name
public final java.lang.String fullName
public final int chronIndex
Method Detail |
---|
public PrimitivePortId getPortId(int chronIndex)
getPortId
in interface NodeProtoId
chronIndex
- chronological index of PrimitivePortId.
java.lang.ArrayIndexOutOfBoundsException
- if no such PrimitivePortId.public PrimitivePortId newPortId(java.lang.String externalId)
newPortId
in interface NodeProtoId
externalId
- external id of PrimitivePortId.
java.lang.NullPointerException
- if externalId is null.public boolean isIcon()
isIcon
in interface NodeProtoId
public PrimitiveNode inDatabase(EDatabase database)
inDatabase
in interface NodeProtoId
database
- EDatabase where to get from.
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |