public class PrimitiveNodeId extends java.lang.Object implements NodeProtoId, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public final TechId techId
public final java.lang.String name
public final java.lang.String fullName
public final int chronIndex
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