Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

Sample.Address

serial class Sample.Address extends %Library.SerialObject, %Library.Populate, %XML.Adaptor

This is a sample embeddable class representing an address.

Property Inventory

Properties

property City as %String (MAXLEN = 80, POPSPEC = "City()");
The city name.
Property methods: CityDisplayToLogical(), CityGet(), CityIsValid(), CityLogicalToDisplay(), CityLogicalToOdbc(), CityNormalize(), CitySet()
property State as %String (MAXLEN = 2, POPSPEC = "USState()");
The 2-letter state abbreviation.
Property methods: StateDisplayToLogical(), StateGet(), StateIsValid(), StateLogicalToDisplay(), StateLogicalToOdbc(), StateNormalize(), StateSet()
property Street as %String (MAXLEN = 80, POPSPEC = "Street()");
The street address.
Property methods: StreetDisplayToLogical(), StreetGet(), StreetIsValid(), StreetLogicalToDisplay(), StreetLogicalToOdbc(), StreetNormalize(), StreetSet()
property Zip as %String (MAXLEN = 5, POPSPEC = "USZip()");
The 5-digit U.S. Zone Improvement Plan (ZIP) code.
Property methods: ZipDisplayToLogical(), ZipGet(), ZipIsValid(), ZipLogicalToDisplay(), ZipLogicalToOdbc(), ZipNormalize(), ZipSet()

Inherited Members

Inherited Methods

FeedbackOpens in a new tab