Namespace: Consultingwerk.SmartFramework.System
Class 
SmartRelation_Generated Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.OERA.EntityTable
Inherited by: Consultingwerk.SmartFramework.System.SmartRelation
ABSTRACT

File:SmartRelation
Author(s):Mike Fechner
Created:28.04.2013 00:33:34



Top Method Summary
Options Name Purpose
# AssignFromBuffer (handle) Copies the buffer values to the entity table's properties
Overrides Consultingwerk.OERA.EntityTable:AssignFromBuffer (handle)
# AssignToBuffer (handle) Copies the entity table's properties to the buffer values
Overrides Consultingwerk.OERA.EntityTable:AssignToBuffer (handle)
# HANDLE GetChildRecord (handle, character) Returns the first (and typically only) child record of a to-one relation
Inherited from Consultingwerk.OERA.EntityTable
# GetChildRecords (handle, character, Object, character) Populates a List of child records
Inherited from Consultingwerk.OERA.EntityTable
+ InitializeNewRow () Initializes a New row
Inherited from Consultingwerk.OERA.EntityTable
# OnChildCardinalityChanged (EventArgs) Raises the ChildCardinalityChanged event
# OnChildRoleDescriptionChanged (EventArgs) Raises the ChildRoleDescriptionChanged event
# OnChildTableGUIDChanged (EventArgs) Raises the ChildTableGUIDChanged event
# OnChildTableNameChanged (EventArgs) Raises the ChildTableNameChanged event
# OnDefaultParentRelationChanged (EventArgs) Raises the DefaultParentRelationChanged event
# OnOnParentDeleteChanged (EventArgs) Raises the OnParentDeleteChanged event
# OnParentCardinalityChanged (EventArgs) Raises the ParentCardinalityChanged event
# OnParentRoleDescriptionChanged (EventArgs) Raises the ParentRoleDescriptionChanged event
# OnParentTableGUIDChanged (EventArgs) Raises the ParentTableGUIDChanged event
# OnParentTableNameChanged (EventArgs) Raises the ParentTableNameChanged event
# OnRelationDescriptionChanged (EventArgs) Raises the RelationDescriptionChanged event
# OnRelationFieldPairChanged (EventArgs) Raises the RelationFieldPairChanged event
# OnRelationGuidChanged (EventArgs) Raises the RelationGuidChanged event
# OnRelationNameChanged (EventArgs) Raises the RelationNameChanged event
# OnSmartAttachmentsChanged (EventArgs) Raises the SmartAttachmentsChanged event
# OnSmartCommentsChanged (EventArgs) Raises the SmartCommentsChanged event
# OnSmartRecordKeyChanged (EventArgs) Raises the SmartRecordKeyChanged event
+ PopulateList (handle, character, Object, character) Populates a List object with EntityTable objects for buffers
Inherited from Consultingwerk.OERA.EntityTable
+ PopulateList (handle, Object, character) Populates a List object with EntityTable objects for buffers
Inherited from Consultingwerk.OERA.EntityTable
# SetModified () Set's the current row to modified
Inherited from Consultingwerk.OERA.EntityTable

Top Constructor Summary
Options Name Purpose
+ SmartRelation_Generated () Constructor of the SmartRelation_Generated class
+ SmartRelation_Generated (handle) Constructor of the SmartRelation_Generated class

Top Event Summary
Options Name Purpose
+ ChildCardinalityChanged (Object, EventArgs) Raised when the ChildCardinality property value changes
+ ChildRoleDescriptionChanged (Object, EventArgs) Raised when the ChildRoleDescription property value changes
+ ChildTableGUIDChanged (Object, EventArgs) Raised when the ChildTableGUID property value changes
+ ChildTableNameChanged (Object, EventArgs) Raised when the ChildTableName property value changes
+ DefaultParentRelationChanged (Object, EventArgs) Raised when the DefaultParentRelation property value changes
+ OnParentDeleteChanged (Object, EventArgs) Raised when the OnParentDelete property value changes
+ ParentCardinalityChanged (Object, EventArgs) Raised when the ParentCardinality property value changes
+ ParentRoleDescriptionChanged (Object, EventArgs) Raised when the ParentRoleDescription property value changes
+ ParentTableGUIDChanged (Object, EventArgs) Raised when the ParentTableGUID property value changes
+ ParentTableNameChanged (Object, EventArgs) Raised when the ParentTableName property value changes
+ RelationDescriptionChanged (Object, EventArgs) Raised when the RelationDescription property value changes
+ RelationFieldPairChanged (Object, EventArgs) Raised when the RelationFieldPair property value changes
+ RelationGuidChanged (Object, EventArgs) Raised when the RelationGuid property value changes
+ RelationNameChanged (Object, EventArgs) Raised when the RelationName property value changes
+ SmartAttachmentsChanged (Object, EventArgs) Raised when the SmartAttachments property value changes
+ SmartCommentsChanged (Object, EventArgs) Raised when the SmartComments property value changes
+ SmartRecordKeyChanged (Object, EventArgs) Raised when the SmartRecordKey property value changes

Top Property Summary
Options Name Purpose
+ CHARACTER ChildCardinality
+ CHARACTER ChildRoleDescription
+ CHARACTER ChildTableGUID
+ CHARACTER ChildTableName
+ LOGICAL DefaultParentRelation
+ CHARACTER OnParentDelete
+ CHARACTER ParentCardinality
+ CHARACTER ParentRoleDescription
+ CHARACTER ParentTableGUID
+ CHARACTER ParentTableName
+ CHARACTER RelationDescription
+ CHARACTER RelationFieldPair
+ CHARACTER RelationGuid
+ CHARACTER RelationName
+ RowStateEnum RowState Returns the RowState of the EntityTable instance
Inherited from Consultingwerk.OERA.EntityTable
+ LOGICAL SmartAttachments
+ LOGICAL SmartComments
+ CHARACTER SmartRecordKey


Method Detail
Top

PROTECTED AssignFromBuffer (handle)

Overrides Consultingwerk.OERA.EntityTable:AssignFromBuffer (handle)
Purpose: Copies the buffer values to the entity table's properties
Notes:

Parameters:
phBuffer HANDLE
The handle of the record buffer to assign properties from
Top

PROTECTED AssignToBuffer (handle)

Overrides Consultingwerk.OERA.EntityTable:AssignToBuffer (handle)
Purpose: Copies the entity table's properties to the buffer values
Notes:

Parameters:
phBuffer HANDLE
The handle of the record buffer to assign properties from
Top

PROTECTED HANDLE GetChildRecord (handle, character)

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Returns the first (and typically only) child record of a to-one
relation
Notes:

Parameters:
phParentBuffer HANDLE
The handle to the parent buffer
pcDataRelationName CHARACTER
The name of the data-relation to return the child buffer for
Returns HANDLE
The handle of the child record, already located to the first record (if any)
Top

PROTECTED GetChildRecords (handle, character, Object, character)

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Populates a List of child records
Notes: As we currently don't support "generic Interfaces", we can only access
the strong typed Add method of the Generic lists using the DYNAMIC-INVOKE
statement.

Parameters:
phParentBuffer HANDLE
The handle to the parent buffer
pcDataRelationName CHARACTER
The name of the data-relation to return the child buffer for
poList Progress.Lang.Object
The List to populate
pcClassName CHARACTER
The name of the ChildClass
Top

PUBLIC InitializeNewRow ()

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Initializes a New row
Notes: Provides a method to provide initial values when records are added to
differentiate from the Constructor usage when Rows are populate based
on existing DB records
Override this method to provide initial values

Top

PROTECTED OnChildCardinalityChanged (EventArgs)

Purpose: Raises the ChildCardinalityChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnChildRoleDescriptionChanged (EventArgs)

Purpose: Raises the ChildRoleDescriptionChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnChildTableGUIDChanged (EventArgs)

Purpose: Raises the ChildTableGUIDChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnChildTableNameChanged (EventArgs)

Purpose: Raises the ChildTableNameChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnDefaultParentRelationChanged (EventArgs)

Purpose: Raises the DefaultParentRelationChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnOnParentDeleteChanged (EventArgs)

Purpose: Raises the OnParentDeleteChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnParentCardinalityChanged (EventArgs)

Purpose: Raises the ParentCardinalityChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnParentRoleDescriptionChanged (EventArgs)

Purpose: Raises the ParentRoleDescriptionChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnParentTableGUIDChanged (EventArgs)

Purpose: Raises the ParentTableGUIDChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnParentTableNameChanged (EventArgs)

Purpose: Raises the ParentTableNameChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnRelationDescriptionChanged (EventArgs)

Purpose: Raises the RelationDescriptionChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnRelationFieldPairChanged (EventArgs)

Purpose: Raises the RelationFieldPairChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnRelationGuidChanged (EventArgs)

Purpose: Raises the RelationGuidChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnRelationNameChanged (EventArgs)

Purpose: Raises the RelationNameChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnSmartAttachmentsChanged (EventArgs)

Purpose: Raises the SmartAttachmentsChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnSmartCommentsChanged (EventArgs)

Purpose: Raises the SmartCommentsChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnSmartRecordKeyChanged (EventArgs)

Purpose: Raises the SmartRecordKeyChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC PopulateList (handle, character, Object, character)

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Populates a List object with EntityTable objects for buffers
Notes: Selects the buffer records using an optional Query string
As we currently don't support "generic Interfaces", we can only access
the strong typed Add method of the Generic lists using the DYNAMIC-INVOKE
statement.

Parameters:
phBuffer HANDLE
The Buffer to return add EntityTable instances to the list
pcQueryString CHARACTER
The QueryString to use while populating the list
poList Progress.Lang.Object
The list to add the EntityTable instances to
pcClassName CHARACTER
The name of the class to create EntityTable instances of (child class of the EntityTable)
Top

PUBLIC PopulateList (handle, Object, character)

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Populates a List object with EntityTable objects for buffers
Notes:

Parameters:
phBuffer HANDLE
The Buffer to return add EntityTable instances to the list
poList Progress.Lang.Object
The list to add the EntityTable instances to
pcClassName CHARACTER
The name of the class to create EntityTable instances of (child class of the EntityTable)
Top

PROTECTED SetModified ()

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Set's the current row to modified
Notes: When the RowState is Add or Deleted it will not be changed



Constructor Detail
Top

PUBLIC SmartRelation_Generated ()

Purpose: Constructor of the SmartRelation_Generated class
Notes:

Top

PUBLIC SmartRelation_Generated (handle)

Purpose: Constructor of the SmartRelation_Generated class
Notes:

Parameters:
phBuffer HANDLE
A source buffer to copy the values from


Event Detail
Top

PUBLIC ChildCardinalityChanged (Object, EventArgs)

Purpose: Raised when the ChildCardinality property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC ChildRoleDescriptionChanged (Object, EventArgs)

Purpose: Raised when the ChildRoleDescription property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC ChildTableGUIDChanged (Object, EventArgs)

Purpose: Raised when the ChildTableGUID property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC ChildTableNameChanged (Object, EventArgs)

Purpose: Raised when the ChildTableName property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC DefaultParentRelationChanged (Object, EventArgs)

Purpose: Raised when the DefaultParentRelation property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC OnParentDeleteChanged (Object, EventArgs)

Purpose: Raised when the OnParentDelete property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC ParentCardinalityChanged (Object, EventArgs)

Purpose: Raised when the ParentCardinality property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC ParentRoleDescriptionChanged (Object, EventArgs)

Purpose: Raised when the ParentRoleDescription property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC ParentTableGUIDChanged (Object, EventArgs)

Purpose: Raised when the ParentTableGUID property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC ParentTableNameChanged (Object, EventArgs)

Purpose: Raised when the ParentTableName property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC RelationDescriptionChanged (Object, EventArgs)

Purpose: Raised when the RelationDescription property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC RelationFieldPairChanged (Object, EventArgs)

Purpose: Raised when the RelationFieldPair property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC RelationGuidChanged (Object, EventArgs)

Purpose: Raised when the RelationGuid property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC RelationNameChanged (Object, EventArgs)

Purpose: Raised when the RelationName property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC SmartAttachmentsChanged (Object, EventArgs)

Purpose: Raised when the SmartAttachments property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC SmartCommentsChanged (Object, EventArgs)

Purpose: Raised when the SmartComments property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC SmartRecordKeyChanged (Object, EventArgs)

Purpose: Raised when the SmartRecordKey property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event


Property Detail
Top

PUBLIC CHARACTER ChildCardinality


Returns CHARACTER
Top

PUBLIC CHARACTER ChildRoleDescription


Returns CHARACTER
Top

PUBLIC CHARACTER ChildTableGUID


Returns CHARACTER
Top

PUBLIC CHARACTER ChildTableName


Returns CHARACTER
Top

PUBLIC LOGICAL DefaultParentRelation


Returns LOGICAL
Top

PUBLIC CHARACTER OnParentDelete


Returns CHARACTER
Top

PUBLIC CHARACTER ParentCardinality


Returns CHARACTER
Top

PUBLIC CHARACTER ParentRoleDescription


Returns CHARACTER
Top

PUBLIC CHARACTER ParentTableGUID


Returns CHARACTER
Top

PUBLIC CHARACTER ParentTableName


Returns CHARACTER
Top

PUBLIC CHARACTER RelationDescription


Returns CHARACTER
Top

PUBLIC CHARACTER RelationFieldPair


Returns CHARACTER
Top

PUBLIC CHARACTER RelationGuid


Returns CHARACTER
Top

PUBLIC CHARACTER RelationName


Returns CHARACTER
Top

PUBLIC RowStateEnum RowState

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Returns the RowState of the EntityTable instance
Notes:

Returns RowStateEnum
Top

PUBLIC LOGICAL SmartAttachments


Returns LOGICAL
Top

PUBLIC LOGICAL SmartComments


Returns LOGICAL
Top

PUBLIC CHARACTER SmartRecordKey


Returns CHARACTER


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:43:57