public class Model extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
Field |
findField(String f) |
Vector<Entity> |
getConcreteEntities() |
DBSchema |
getDatabase() |
String |
getDBDescription() |
Vector<Entity> |
getEntities() |
Vector<Entity> |
getEntities(boolean includeSystemTable) |
Vector<Entity> |
getEntities(boolean includeSystemTable,
boolean includeNonConcretes) |
Entity |
getEntity(String name) |
String |
getLabel() |
Vector<Matrix> |
getMatrices() |
Vector<Method> |
getMethods() |
MethodSchema |
getMethodSchema() |
List<Module> |
getModules() |
String |
getName() |
int |
getNumberOfReferencesTo(Entity e) |
String |
getPRDescription() |
Record |
getRecord(String name) |
Vector<Entity> |
getRootEntities()
Get entities that are NOT in modules (and are NOT mrefs).
|
String |
getUIDescription() |
UISchema |
getUserinterface() |
Vector<View> |
getViews() |
void |
setDBDescription(String description) |
void |
setLabel(String label) |
void |
setName(String name) |
void |
setPRDescription(String description) |
void |
setUIDescription(String description) |
String |
toString() |
public Model(String name)
public String getName()
public void setName(String name)
public String getLabel()
public void setLabel(String label)
public DBSchema getDatabase()
public UISchema getUserinterface()
public MethodSchema getMethodSchema()
public String getDBDescription()
public void setDBDescription(String description)
public String getUIDescription()
public void setUIDescription(String description)
public String getPRDescription()
public void setPRDescription(String description)
public Vector<Entity> getRootEntities()
public Vector<Entity> getEntities(boolean includeSystemTable, boolean includeNonConcretes)
public Entity getEntity(String name)
MolgenisModelExceptionpublic Field findField(String f) throws MolgenisModelException
MolgenisModelExceptionpublic int getNumberOfReferencesTo(Entity e) throws MolgenisModelException
MolgenisModelExceptionCopyright © 2014. All Rights Reserved.