Namespace: OpenEdge.Web.DataObject.Writer
Class
ArgumentValueWriter
Parent classes:
Inherits: Progress.Lang.Object
Implements: OpenEdge.Logging.ISupportLogging
ABSTRACT

/* *************************************************************************************************************************
Copyright (c) 2016 by Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.
File:ArgumentValueWriter
Purpose:Abstract OperationArgument:ArgumentValue writer
Author(s):pjudge
Created:2016-06-07
Notes:* The default behaviour of all the Write() methods is a NO-OP
which also writes a log message. The only exception to this
is the abstract Write(Progress.Lang.Object) method.




Method Summary
Options Name Purpose
Close () /** Closes the writer. */
Flush ()
Open () /** Opens the writer for output. Open/Close allows us to write the same message multiple times without requiring a new writer each time. */
Write (character)
Write (character[])
Write (date)
Write (date[])
Write (datetime)
Write (datetime-tz)
Write (datetime-tz[])
Write (datetime[])
Write (decimal)
Write (decimal[])
Write (handle) /** Write data to/from the entity @param handle Data to write */
Write (handle[])
Write (int64)
Write (int64[])
Write (integer)
Write (integer[])
Write (logical)
Write (logical[])
Write (longchar)
Write (longchar[])
Write (memptr)
Write (memptr[])
Write (Object) /** Write data to/from the entity @param Object Data to write */
Write (Object[]) /** Write data to/from the entity @param Object[] Data to write */
Write (raw)
Write (raw[])
Write (recid)
Write (recid[])
Write (rowid)
Write (rowid[])

Constructor Summary
Options Name Purpose
ArgumentValueWriter (Class) /** Default constructor. */
ArgumentValueWriter (Class, Object) /** Constructor. @param Class The type of the entity - pseudo-generics here. @param Object The 'real' entity being written */

Property Summary
Options Name Purpose
Progress.Lang.Class ArgumentType /** (mandatory) The type that the entity this writer can write to. */
OpenEdge.Logging.ILogWriter Logger
Progress.Lang.Object Value /** (mandatory) The message entity that's being written to. The values passed in to the Write() methods will be parsed/processed and written to this entity. */


Method Detail
Top

Close ()

Purpose: Closes the writer.
Top

Flush ()

Top

Open ()

Purpose: Opens the writer for output. Open/Close allows us to write the same message multiple
times without requiring a new writer each time.
Top

Write (character)

Parameters:
p0 CHARACTER
Top

Write (character[])

Parameters:
p0 CHARACTER
Top

Write (date)

Parameters:
p0 DATE
Top

Write (date[])

Parameters:
p0 DATE
Top

Write (datetime)

Parameters:
p0 DATETIME
Top

Write (datetime-tz)

Parameters:
p0 DATETIME-TZ
Top

Write (datetime-tz[])

Parameters:
p0 DATETIME-TZ
Top

Write (datetime[])

Parameters:
p0 DATETIME
Top

Write (decimal)

Parameters:
p0 DECIMAL
Top

Write (decimal[])

Parameters:
p0 DECIMAL
Top

Write (handle)

Purpose: Write data to/from the entity
Parameters:
phData HANDLE
Top

Write (handle[])

Parameters:
phData HANDLE
Top

Write (int64)

Parameters:
p0 INT64
Top

Write (int64[])

Parameters:
p0 INT64
Top

Write (integer)

Parameters:
p0 INTEGER
Top

Write (integer[])

Parameters:
p0 INTEGER
Top

Write (logical)

Parameters:
p0 LOGICAL
Top

Write (logical[])

Parameters:
p0 LOGICAL
Top

Write (longchar)

Parameters:
p0 LONGCHAR
Top

Write (longchar[])

Parameters:
p0 LONGCHAR
Top

Write (memptr)

Parameters:
p0 MEMPTR
Top

Write (memptr[])

Parameters:
p0 MEMPTR
Top

Write (Object)

Purpose: Write data to/from the entity
Parameters:
poData Progress.Lang.Object
Top

Write (Object[])

Purpose: Write data to/from the entity
Parameters:
poData Progress.Lang.Object
Top

Write (raw)

Parameters:
p0 RAW
Top

Write (raw[])

Parameters:
p0 RAW
Top

Write (recid)

Parameters:
p0 RECID
Top

Write (recid[])

Parameters:
p0 RECID
Top

Write (rowid)

Parameters:
p0 ROWID
Top

Write (rowid[])

Parameters:
p0 ROWID


Constructor Detail
Top

ArgumentValueWriter (Class)

Purpose: Default constructor.
Parameters:
poType Progress.Lang.Class
Top

ArgumentValueWriter (Class, Object)

Purpose: Constructor.
Parameters:
poType Progress.Lang.Class
poValue Progress.Lang.Object


Property Detail
Top

Progress.Lang.Class ArgumentType

Purpose: (mandatory) The type that the entity this writer can write to.
Returns Progress.Lang.Class
Top

OpenEdge.Logging.ILogWriter Logger

Returns OpenEdge.Logging.ILogWriter
Top

Progress.Lang.Object Value

Purpose: (mandatory) The message entity that's being written to. The values passed
in to the Write() methods will be parsed/processed and written to this entity.
Returns Progress.Lang.Object


Copyright © 2017 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7