Namespace: Consultingwerk
Class 
Serializable Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.ISerializable
ABSTRACT SERIALIZABLE

File:Serializable
Purpose:Implements serialization functionality i.e. for parameter
object to be passed around the AppServer boundary
Description:Serialization based on a property temp-table
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Sep 15 18:25:22 CEST 2010



Top Method Summary
Options Name Purpose
+ Deserialize (longchar) Deserializes a LONGCHAR representation of the state of the class instance
+ Consultingwerk.ISerializable DeserializeInstance (longchar) Deserializes a LONGCHAR representation of an object to a new instance
# CHARACTER GetCharacterProperty (character) Returns a value from a CHARACTER property in the property store
# DATE GetDateProperty (character) Returns a value from a DATE property in the property store
# DATETIME-TZ GetDateTime-TZProperty (character) Returns a value from a DATETIME-TZ property in the property store
# DATETIME GetDateTimeProperty (character) Returns a value from a DATETIME property in the property store
# DECIMAL GetDecimalProperty (character) Returns a value from a DECIMAL property in the property store
# INT64 GetInt64Property (character) Returns a value from a INTEGER property in the property store
# INTEGER GetIntegerProperty (character) Returns a value from a INTEGER property in the property store
# LOGICAL GetLogicalProperty (character) Returns a value from a INTEGER property in the property store
# LONGCHAR GetLongCharProperty (character) Returns a value from a LONGCHAR property in the property store
+ LONGCHAR Serialize () Returns a LONGCHAR representation of the state of the class instance
# SetCharacterProperty (character, character) Assigns a CHARACTER property in the property store
# SetDateProperty (character, date) Assigns a DATE property in the property store
# SetDateTime-TZProperty (character, datetime-tz) Assigns a DATETIME-TZ property in the property store
# SetDateTimeProperty (character, datetime) Assigns a DATETIME property in the property store
# SetDecimalProperty (character, decimal) Assigns a DECIMAL property in the property store
# SetInt64Property (character, int64) Assigns a INTEGER property in the property store
# SetIntegerProperty (character, integer) Assigns a INTEGER property in the property store
# SetLogicalProperty (character, logical) Assigns a LOGICAL property in the property store
# SetLongcharProperty (character, longchar) Assigns a LOGICAL property in the property store


Method Detail
Top

PUBLIC Deserialize (longchar)

Purpose: Deserializes a LONGCHAR representation of the state of the class instance
Notes:

Parameters:
pcSerializedReprasentation LONGCHAR
The stored LONGCHAR representation of the objects data
Top

PUBLIC Consultingwerk.ISerializable DeserializeInstance (longchar)

Purpose: Deserializes a LONGCHAR representation of an object to a new
instance
Notes: Uses IDeserializationFactory service to create deserialized object
instance

Parameters:
plcSerializable LONGCHAR
The serialized representation to be deserialized
Returns Consultingwerk.ISerializable
The LONGCHAR representation of the ISerializable objects data
Top

PROTECTED CHARACTER GetCharacterProperty (character)

Purpose: Returns a value from a CHARACTER property in the property store
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the objects property
Returns CHARACTER
The property value
Top

PROTECTED DATE GetDateProperty (character)

Purpose: Returns a value from a DATE property in the property store
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the objects property
Returns DATE
The property value
Top

PROTECTED DATETIME-TZ GetDateTime-TZProperty (character)

Purpose: Returns a value from a DATETIME-TZ property in the property store
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the objects property
Returns DATETIME-TZ
The property value
Top

PROTECTED DATETIME GetDateTimeProperty (character)

Purpose: Returns a value from a DATETIME property in the property store
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the objects property
Returns DATETIME
The property value
Top

PROTECTED DECIMAL GetDecimalProperty (character)

Purpose: Returns a value from a DECIMAL property in the property store
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the objects property
Returns DECIMAL
The property value
Top

PROTECTED INT64 GetInt64Property (character)

Purpose: Returns a value from a INTEGER property in the property store
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the objects property
Returns INT64
The property value
Top

PROTECTED INTEGER GetIntegerProperty (character)

Purpose: Returns a value from a INTEGER property in the property store
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the objects property
Returns INTEGER
The property value
Top

PROTECTED LOGICAL GetLogicalProperty (character)

Purpose: Returns a value from a INTEGER property in the property store
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the objects property
Returns LOGICAL
The property value
Top

PROTECTED LONGCHAR GetLongCharProperty (character)

Purpose: Returns a value from a LONGCHAR property in the property store
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the objects property
Returns LONGCHAR
The property value
Top

PUBLIC LONGCHAR Serialize ()

Purpose: Returns a LONGCHAR representation of the state of the class instance
Notes: Returns the classname together with the XML serialization of the
temp-table

Returns LONGCHAR
The LONGCHAR representation of the ISerializable objects data
Top

PROTECTED SetCharacterProperty (character, character)

Purpose: Assigns a CHARACTER property in the property store
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the objects property
pcValue CHARACTER
The value of the objects property
Top

PROTECTED SetDateProperty (character, date)

Purpose: Assigns a DATE property in the property store
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the objects property
pdaValue DATE
The value of the objects property
Top

PROTECTED SetDateTime-TZProperty (character, datetime-tz)

Purpose: Assigns a DATETIME-TZ property in the property store
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the objects property
pdtValue DATETIME-TZ
The value of the objects property
Top

PROTECTED SetDateTimeProperty (character, datetime)

Purpose: Assigns a DATETIME property in the property store
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the objects property
pdtValue DATETIME
The value of the objects property
Top

PROTECTED SetDecimalProperty (character, decimal)

Purpose: Assigns a DECIMAL property in the property store
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the objects property
pdeValue DECIMAL
The value of the objects property
Top

PROTECTED SetInt64Property (character, int64)

Purpose: Assigns a INTEGER property in the property store
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the objects property
piValue INT64
The value of the objects property
Top

PROTECTED SetIntegerProperty (character, integer)

Purpose: Assigns a INTEGER property in the property store
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the objects property
piValue INTEGER
The value of the objects property
Top

PROTECTED SetLogicalProperty (character, logical)

Purpose: Assigns a LOGICAL property in the property store
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the objects property
plValue LOGICAL
The value of the objects property
Top

PROTECTED SetLongcharProperty (character, longchar)

Purpose: Assigns a LOGICAL property in the property store
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the objects property
plcValue LONGCHAR
The value of the objects property


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:16:09