|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.database.id.LibId
public final class LibId
The LibId immutable class identifies library independently of threads. It differs from Library objects, which will be owned by threads in transactional database. This class is thread-safe except inCurrentThread method.
Field Summary | |
---|---|
IdManager |
idManager
IdManager which owns this LibId. |
int |
libIndex
Unique index of this lib in the database. |
java.lang.String |
libName
Library name |
static LibId[] |
NULL_ARRAY
Empty LibId array for initialization. |
Method Summary | |
---|---|
Library |
inDatabase(EDatabase database)
Method to return the Library representing LibId in the specified EDatabase. |
static java.lang.String |
legalLibraryName(java.lang.String libName)
Checks that string is legal library name. |
CellId |
newCellId(CellName cellName)
Returns new CellId with cellIndex unique in this IdManager. |
java.lang.String |
toString()
Returns a printable version of this LibId. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final LibId[] NULL_ARRAY
public final IdManager idManager
public final java.lang.String libName
public final int libIndex
Method Detail |
---|
public CellId newCellId(CellName cellName)
public Library inDatabase(EDatabase database)
database
- EDatabase where to get from.
public java.lang.String toString()
toString
in class java.lang.Object
public static java.lang.String legalLibraryName(java.lang.String libName)
libName
- specified library name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |