public abstract class PortProtoId
extends java.lang.Object
implements java.io.Serializable
The PortProtoId is immutable and identifies PortProto independently of threads. It differs from PortProto objects, which are owned by threads in transactional database.
Modifier and Type | Field and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
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() |
public final NodeProtoId parentId
public final int chronIndex
public final java.lang.String externalId
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