|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspice.basic.IDMap
spice.basic.InstrumentCode
public class InstrumentCode
Class InstrumentCode represents instrument-name mappings that are initialized by specification of a instrument ID code.
SPICE applications normally won't need to use
this class directly; they should use the class
Instrument
instead.
Constructor Summary | |
---|---|
InstrumentCode(int code)
Create a new InstrumentCode from an int ID code. |
Method Summary | |
---|---|
InstrumentCode |
deepCopy()
Return a deep copy of this instance. |
int |
getIDCode()
Return the integer Instrument ID code of this InstrumentCode instance. |
java.lang.String |
getName()
Return the instrument name associated with this ID code. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InstrumentCode(int code)
Method Detail |
---|
public int getIDCode()
getIDCode
in class IDMap
public java.lang.String getName() throws SpiceException
getName
in class IDMap
SpiceException
public InstrumentCode deepCopy() throws SpiceException
deepCopy
in class IDMap
SpiceException
|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |