IRISLIB database
Adaptor Class Reference

This is class is used to add support for the DataModel interface to a persistent class. More...

Inheritance diagram for Adaptor:
Collaboration diagram for Adaptor:

Static Public Attributes

 DYNAMICPROPERTIES = None
 This is class is used to add support for the DataModel interface to a persistent class. More...
 
- Static Public Attributes inherited from ObjectDataModel
 DOMAIN = None
 This class is used to implement the Model portion of the Zen Model-View-Controller mechanism. More...
 
 DYNAMICPROPERTIES = None
 If true (the default), then this dataModel class supports dynamic properties: More...
 
- Static Public Attributes inherited from DataModel
 READONLYMODEL = None
 This is the abstract base class used by all model classes within the Zen Model-View-Controller mechanism. More...
 
- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Private Member Functions

_.Library.RegisteredObject OnOpenSource (_.Library.String pID, _.Library.Integer pConcurrency, _.Library.Status pSC)
 This callback method is invoked when a DataModel is opened. More...
 
_.Library.Status OnSaveSource (_.Library.RegisteredObject pSource)
 This callback method is called when the DataModel is saved. More...
 

Static Private Member Functions

_.Library.RegisteredObject CreateModelInstance (_.Library.String pID, _.Library.Integer pConcurrency, _.Library.Status pSC)
 Create an instance of this DataModel object. More...
 
_.Library.Status OnDeleteSource (_.Library.String pID)
 This callback method is called when the DataModel is deleted.
 

Additional Inherited Members

- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 

Detailed Description

This is class is used to add support for the DataModel interface to a persistent class.

Member Function Documentation

◆ CreateModelInstance()

_.Library.RegisteredObject CreateModelInstance ( _.Library.String  pID,
_.Library.Integer  pConcurrency,
_.Library.Status  pSC 
)
staticprivate

Create an instance of this DataModel object.


Subclasses may override this for special behavior.

Reimplemented from ObjectDataModel.

◆ OnOpenSource()

_.Library.RegisteredObject OnOpenSource ( _.Library.String  pID,
_.Library.Integer  pConcurrency,
_.Library.Status  pSC 
)
private

This callback method is invoked when a DataModel is opened.

If implemented, it opens an instance of the data source object used by the DataModel.

Reimplemented from ObjectDataModel.

◆ OnSaveSource()

_.Library.Status OnSaveSource ( _.Library.RegisteredObject  pSource)
private

This callback method is called when the DataModel is saved.

If

implemented, it is responsible for saving changes to the data source.

Reimplemented from ObjectDataModel.

Member Data Documentation

◆ DYNAMICPROPERTIES

DYNAMICPROPERTIES = None
static

This is class is used to add support for the DataModel interface to a persistent class.

Set this false so that dynamic properties do not inadvertently

interfere with the user's persistent object.