( documentation for Telosys generator version 4.0.0 )
Object giving access to the current model
Since : 2.0.0
Attributes and methods |
.allEntites : List
Returns a list containing all the entities defined in the model |
.allEntities : List
Returns a list containing all the entities defined in the model |
.databaseId : String
Returns the id of the database used to generate the model |
.databaseName : String
Returns the name of the database used to generate the model |
.databaseType : String
Returns the type of the database used to generate the model |
.description : String
Returns the model description |
.folderName : String
Returns the name of the folder where entities are located |
.getEntityByClassName(String name) : EntityInContext
Returns the entity identified by the given name |
.getEntityByTableName(String tableName) : EntityInContext
Returns the entity identified by the given database table name |
.hasEntityWithClassName(String name) : boolean
Returns TRUE if the model contains an entity identified by the given class name |
.hasEntityWithTableName(String tableName) : boolean
Returns TRUE if the model contains an entity identified by the given table name |
.name : String
Returns the model name as defined by file/folder in the project directory |
.numberOfEntities : int
Returns the number of entities defined in the model |
.title : String
Returns the model title |
.type : String
Returns the Telosys model type (DSL-MODEL, DB-MODEL, etc) |
.version : String
Returns the Telosys model version |