public interface NodeProtoId
The NodeProtoId is immutable and identifies NodeProto independently of threads. It differs from NodeProto objects, some of them (Cells) will be owned by threads in transactional database. PrimitiveNodes will be shared too, so they are both NodeProtoId and NodeProto.
Modifier and Type | Method and Description |
---|---|
PortProtoId |
getPortId(int chronIndex)
Returns PortProtoId in this node proto with specified chronological index.
|
NodeProto |
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.
|
PortProtoId |
newPortId(java.lang.String externalId)
Returns PortProtoId in this node proto with specified external id.
|
PortProtoId getPortId(int chronIndex)
chronIndex
- chronological index of ExportId.java.lang.ArrayIndexOutOfBoundsException
- if no such ExportId.PortProtoId newPortId(java.lang.String externalId)
externalId
- external id of PortProtoId.java.lang.NullPointerException
- if externalId is null.boolean isIcon()
NodeProto inDatabase(EDatabase database)
database
- EDatabase where to get from.