Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

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