|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nasa.arc.brahms.vm.api.JAPI
public class JAPI
The JAPI class is a class with static members providing access to the VM Controller, the model and the world state.
| Constructor Summary | |
|---|---|
JAPI()
|
|
| Method Summary | |
|---|---|
BrahmsClassDescriptor |
getBrahmsClassDescriptor(java.lang.String qualifiedName)
Returns the BrahmsClassDescriptor for the Brahms class with the specified qualified name. |
BrahmsGroupDescriptor |
getBrahmsGroupDescriptor(java.lang.String qualifiedName)
Returns the BrahmsGroupDescriptor for the Brahms group with the specified qualified name. |
static ConverterManager |
getConverterManager()
Returns the ConverterManager providing access to the helper classes for converting between Brahms and Java values. |
static IModel |
getModel()
Returns a reference to the model loaded in the virtual machine. |
static IVMController |
getVMController()
Returns the virtual machine's controller usable by this agent. |
static IWorldState |
getWorldState()
Returns a reference to the world state managing the fact set. |
static void |
reset()
Resets the JAPI. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JAPI()
| Method Detail |
|---|
public static final IVMController getVMController()
throws ExternalException
ExternalException - if there is a failure obtaining the controller
public static final IModel getModel()
throws ExternalException
ExternalException - is an internal error occurs.
public static final IWorldState getWorldState()
throws ExternalException
ExternalException - if an internal error occurs.public static final ConverterManager getConverterManager()
public BrahmsClassDescriptor getBrahmsClassDescriptor(java.lang.String qualifiedName)
qualifiedName - the class' qualified name
public BrahmsGroupDescriptor getBrahmsGroupDescriptor(java.lang.String qualifiedName)
qualifiedName - the class' qualified name
public static final void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||