Main Page | Packages | Class Tree | Index | Help

xp.data

class DataRelation

Object
  |
  +--xp.data.DataRelation


class DataRelation
extends Object

A parent child data relation


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:


Field Summary


child: Object
The child DataSource


childCols: Object
The child columns in the relation


parent: Object
The parent DataSource


parentCols: Object
The parent columns in the relation

Constructor

public
DataRelation ( parent: Object, parentCols: Object, child: Object, childCols: Object)
Create a new DataRelation

Method Summary

public static
addDataRelation ( parent: Object, parentCols: Object, child: Object, childCols: Object ): Object
Create a new DataRelation

public
modelChangedHandler ( e: ModelChangedEvent ): Void
Our internal event handler to listen for event from the parent datasource

public
validateHandler ( e: Event ): Void
Our internal event handler to listen for validation events from the parent datasource



Field Documentation

child

var child: Object
The child DataSource

childCols

var childCols: Object
The child columns in the relation

parent

var parent: Object
The parent DataSource

parentCols

var parentCols: Object
The parent columns in the relation


Constructor Documentation

DataRelation

public function DataRelation(parent: Object,
 parentCols: Object,
 child: Object,
 childCols: Object)
Create a new DataRelation

Parameters:
parent
The parent DataSource
parentCols
The parent columns involved in the relationships
child
The child DataSource
childCols
The child columns involved in the relationships

Method Documentation

addDataRelation

public static function addDataRelation(parent: Object,
 parentCols: Object,
 child: Object,
 childCols: Object): Object
Create a new DataRelation

Parameters:
parent
The parent DataSource
parentCols
The parent columns involved in the relationships
child
The child DataSource
childCols
The child columns involved in the relationships

modelChangedHandler

public function modelChangedHandler(e: ModelChangedEvent): Void
Our internal event handler to listen for event from the parent datasource

validateHandler

public function validateHandler(e: Event): Void
Our internal event handler to listen for validation events from the parent datasource


The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc