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
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
to Class com.togethersoft.openapi.rwi.RwiModel