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?

ZENDemo.Data.City

persistent class ZENDemo.Data.City extends %Library.Persistent, %Library.Populate

SQL Table Name: ZENDemo_Data.City

Sample data class for Zen sample pages. This defines a set of city names used for lookups.

Property Inventory

Properties

property Name as %String (MAXLEN = 100, POPSPEC = "City()") [ Required ];
City Name
Property methods: NameDisplayToLogical(), NameGet(), NameGetStored(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property ZIP as %String (MAXLEN = 12, POPSPEC = "USZip()") [ Required ];
ZIP Code
Property methods: ZIPDisplayToLogical(), ZIPGet(), ZIPGetStored(), ZIPIsValid(), ZIPLogicalToDisplay(), ZIPLogicalToOdbc(), ZIPNormalize(), ZIPSet()

Indexes

index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: CacheStorage (ZENDemo.Data.City)

^ZENDemo.Data.CityD(ID)
=
%%CLASSNAME
Name
ZIP
FeedbackOpens in a new tab