( documentation for Telosys generator version 3.3.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 |
.databaseId : int
Returns the ID of the database used to generate the model |
.databaseProductName : String
Returns the product name 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 class name |
.getEntityByTableName(String name) : 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 name) : 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 |