OpenM++ runtime library (libopenm)
openm::EntityAttrRow Struct Reference

entity_attr table row. More...

#include <dbMetaRow.h>

Inheritance diagram for openm::EntityAttrRow:
Collaboration diagram for openm::EntityAttrRow:

Public Member Functions

 EntityAttrRow (int i_modelId, int i_entityId, int i_attrId)
 create row with supplied key field values.
 
 EntityAttrRow (void)
 create row with default empty field values.
 
const string columnName (void) const
 return db column name based on attribute id, example: attr1
 

Static Public Member Functions

static bool isKeyLess (const EntityAttrRow &i_left, const EntityAttrRow &i_right)
 less comparator by unique key: model id, model entity id, attribute id.
 
static bool isKeyEqual (const EntityAttrRow &i_left, const EntityAttrRow &i_right)
 equal comparator by unique key: model id, model entity id, attribute id.
 
- Static Public Member Functions inherited from openm::IMetaRow< EntityAttrRow >
static bool keyLess (const IRowBaseUptr &i_left, const IRowBaseUptr &i_right)
 less comparator by row primary key.
 
static bool keyEqual (const IRowBaseUptr &i_left, const IRowBaseUptr &i_right)
 equal comparator by row primary key.
 

Public Attributes

int modelId
 model_id INT NOT NULL
 
int entityId
 entity_id INT NOT NULL
 
int attrId
 attr_id INT NOT NULL
 
string name
 attr_name VARCHAR(255) NOT NULL
 
int typeId
 mod_type_id INT NOT NULL
 
bool isInternal
 is_internal SMALLINT NOT NULL
 

Detailed Description

entity_attr table row.


The documentation for this struct was generated from the following files: