public class Model extends Object
| Constructor and Description |
|---|
Model() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntity(Entity e) |
void |
addModule(Module e) |
Entity |
findEntity(String name)
find entity across local entities, and the ones contained in modules
|
String |
findModuleNameForEntity(String name) |
String |
findRemoveEntity(String name)
Find and remove an entity from either root or a module.
|
List<Entity> |
getEntities() |
Entity |
getEntity(String name) |
String |
getLabel() |
Module |
getModule(String name) |
List<Module> |
getModules() |
String |
getName() |
List<Screen> |
getScreens() |
String |
getVersion() |
Integer |
removeModule(String name)
Remove module, and return the index of the module that came before this
one in the list (for GUI select purposes).
|
void |
setEntities(List<Entity> entities) |
void |
setLabel(String label) |
void |
setModules(List<Module> modules) |
void |
setName(String name) |
void |
setScreens(List<Screen> screens) |
void |
setVersion(String version) |
public String getName()
public void setName(String name)
public String getLabel()
public void setLabel(String label)
public String getVersion()
public void setVersion(String version)
public void addEntity(Entity e)
public void addModule(Module e)
public Entity findEntity(String name)
name - public Integer removeModule(String name)
name - public String findRemoveEntity(String name)
string - Copyright © 2015. All Rights Reserved.