|
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.BodyCode
public class BodyCode
Class BodyCode represents body-name mappings that are initialized by specification of a body ID code.
SPICE applications normally won't need to use
this class directly; they should use the class
Body
instead.
Constructor Summary | |
---|---|
BodyCode(int code)
Create a new BodyCode from an int ID code. |
Method Summary | |
---|---|
BodyCode |
deepCopy()
Return a deep copy of this instance. |
int |
getIDCode()
Return the integer Body ID code of this BodyCode instance. |
java.lang.String |
getName()
Return the body 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 BodyCode(int code)
Method Detail |
---|
public int getIDCode()
getIDCode
in class IDMap
public java.lang.String getName() throws SpiceException
getName
in class IDMap
SpiceException
public BodyCode 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 |