public final class LibId
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final LibId[] NULL_ARRAY
public final IdManager idManager
public final java.lang.String libName
public final int libIndex
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.