Overview | Package | Class | Use | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.togethersoft.openapi.rwi
Class RwiModelAccess

public abstract class RwiModelAccess

`RwiModelAccess` is an abstract class which contains the static `getModel` method. This method is used to get an `RwiModel` object:

     RwiModel model = RwiModelAccess.getModel();
     RwiPackageEnumeration roots=model.rootPackages(RwiProperty.MODEL);
     while (roots.hasMoreElements()) {
       ...
     }

Author:
  TogetherSoft

Method Summary
`static RwiModel` | `getModel()` Returns current RWI model.
`protected static void` | `setModel(RwiModel model)` Sets the RWI model to the specified model.

Method Detail

### getModel

    public static RwiModel getModel()

  Returns current RWI model. For example,

       RwiModel model = RwiModelAccess.getModel();
       RwiPackageEnumeration roots=model.rootPackages(RwiProperty.MODEL);
       while (roots.hasMoreElements()) {
         ...
       }

  Returns: `RwiModel` object
  See Also:
    RwiModel

### setModel

    protected static void setModel(RwiModel model)

  Sets the RWI model to the specified model.
  Parameters:
    model - the RWI model wich needs to be set as the current model

Association Links

to Class com.togethersoft.openapi.rwi.RwiModel

Overview | Package | Class | Use | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD