def ucis_GetHandleProperty(db: UCIS, obj: Obj, coverindex: int, property: HandleProperty) -> Scope: if obj is not None: return obj.getHandleProperty(coverindex, property) else: return db.getHandleProperty(coverindex, property)
def ucis_SetHandleProperty(db: UCIS, obj: Obj, coverindex: int, property: HandleProperty, value: Scope): if obj is not None: obj.setHandleProperty(coverindex, property, value) else: db.setHandleProperty(coverindex, property, value)
def ucis_SetStringProperty(db: UCIS, obj: Obj, coverindex: int, property: StrProperty, value: str): if obj is not None: obj.setStringProperty(coverindex, property, value) else: db.setStringProperty(coverindex, property, value)
def ucis_GetStringProperty(db: UCIS, obj: Obj, coverindex: int, property: StrProperty) -> str: if obj is not None: return obj.getStringProperty(coverindex, property) else: return db.getStringProperty(coverindex, property)
def ucis_SetRealProperty(db: UCIS, obj: Obj, coverindex: int, property: RealProperty, value: float): if obj is not None: obj.setRealProperty(coverindex, property, value) else: db.setRealProperty(coverindex, property, value)
def ucis_GetRealProperty(db: UCIS, obj: Obj, coverindex: int, property: RealProperty) -> float: if obj is not None: return obj.getRealProperty(coverindex, property) else: return db.getRealProperty(coverindex, property)
def ucis_GetIntProperty(db: UCIS, obj: Obj, coverindex: int, property: IntProperty) -> int: if obj is not None: return obj.getIntProperty(coverindex, property) else: return db.getIntProperty(coverindex, property)