|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.database.id.TechId
public final class TechId
The TechId immutable class identifies technology independently of threads. It differs from Technology 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 TechId. |
static TechId[] |
NULL_ARRAY
Empty TechId array for initialization. |
int |
techIndex
Unique index of this TechId. |
java.lang.String |
techName
Technology name |
Method Summary | |
---|---|
Technology |
inDatabase(EDatabase database)
Method to return the Technology representing TechId in the specified EDatabase. |
static boolean |
jelibSafeName(java.lang.String str)
Method checks that string is safe to write into JELIB file without conversion. |
ArcProtoId |
newArcProtoId(java.lang.String arcProtoName)
Returns ArcProtoId with specified arcProtoName. |
PrimitiveNodeId |
newPrimitiveNodeId(java.lang.String primitiveNodeName)
Returns PrimitiveNodeId with specified primitiveNodeName. |
java.lang.String |
toString()
Returns a printable version of this TechId. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final TechId[] NULL_ARRAY
public final IdManager idManager
public final java.lang.String techName
public final int techIndex
Method Detail |
---|
public ArcProtoId newArcProtoId(java.lang.String arcProtoName)
arcProtoName
- arc proto name.
public PrimitiveNodeId newPrimitiveNodeId(java.lang.String primitiveNodeName)
primitiveNodeName
- primitive node name.
public Technology inDatabase(EDatabase database)
database
- EDatabase where to get from.
public java.lang.String toString()
toString
in class java.lang.Object
public static boolean jelibSafeName(java.lang.String str)
str
- the string to check.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |