|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.database.id.PortProtoId
public abstract class PortProtoId
The PortProtoId class identifies a type of PortInst . It can be implemented as PrimitiveNodeId (for primitives from Technologies) or as ExportId (for cells in Libraries).
The PortProtoId is immutable and identifies PortProto independently of threads. It differs from PortProto objects, which are owned by threads in transactional database.
Field Summary | |
---|---|
int |
chronIndex
chronological index of this PortProtoId in parent. |
java.lang.String |
externalId
representation of PortProtoId in disk files. |
NodeProtoId |
parentId
Parent NodeProtoId of this PortProtoId |
Method Summary | |
---|---|
int |
getChronIndex()
Method to return chronological index of this PortProtoId in parent. |
java.lang.String |
getExternalId()
Method to return the representation of this PortProtoId in disk files. |
abstract java.lang.String |
getName(Snapshot snapshot)
Method to return the name of this PortProtoId in a specified Snapshot. |
NodeProtoId |
getParentId()
Method to return the parent NodeProtoId of this PortProtoId. |
int |
hashCode()
|
abstract PortProto |
inDatabase(EDatabase database)
Method to return the PortProto representing PortProtoId in the specified EDatabase. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final NodeProtoId parentId
public final int chronIndex
public final java.lang.String externalId
Method Detail |
---|
public NodeProtoId getParentId()
public int getChronIndex()
public java.lang.String getExternalId()
public abstract java.lang.String getName(Snapshot snapshot)
snapshot
- snapshot for name search.
public abstract PortProto inDatabase(EDatabase database)
database
- EDatabase where to get from.
public int hashCode()
hashCode
in class java.lang.Object
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 |