Class Address

Summary

The Address class wraps some access methods around an address. In particular, it provides methods for mapping an address to/from the forms needed for database storage and for GUI processing.

Superclasses:
Object

Package:
addressbook
File:
addressdb.icn
Methods:
fromIRecord, fromRecord, toIRecord, toRecord, toString

Methods inherited from Object:
Type, className, clone, equals, fieldNames, genMethods, getField, get_class, get_class_name, get_id, hasField, hasMethod, hash_code, instanceOf, invoke, is_instance, setField, to_string

Fields:
aRec

Source code.

Details
Constructor

Address()

Methods:

fromIRecord(rec)

Parameter:
rec
an address record
Returns:
self

Build this address from its GUI equivalent.


fromRecord(rec)

Parameter:
rec
an address record
Returns:
self

Build this address from its DB equivalent.


toIRecord()

Returns:
address as an address record

Produce this address in a form suitable for GUI display. (i.e. all Unicon structures)


toRecord()

Returns:
address as an address record

Produce this address in form suitable for storing into DB.


toString()

Returns:
multiline string representation of this address

Produce a readable version of the Address (mainly for debugging)


Fields:
aRec


This page produced by UniDoc on 2021/04/15 @ 23:59:53.