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

ZENMVC.Person

persistent class ZENMVC.Person extends %Library.Persistent, %ZEN.DataModel.Adaptor

SQL Table Name: ZENMVC.Person

Simple example of a persistent class that is also a DataModel.

Property Inventory

Properties

property Business as Address;
Property methods: BusinessGet(), BusinessGetObject(), BusinessGetObjectId(), BusinessGetStored(), BusinessGetSwizzled(), BusinessIsEmpty(), BusinessIsValid(), BusinessNewObject(), BusinessSet(), BusinessSetObject(), BusinessSetObjectId(), BusinessUnSwizzle()
property Home as Address;
Property methods: HomeGet(), HomeGetObject(), HomeGetObjectId(), HomeGetStored(), HomeGetSwizzled(), HomeIsEmpty(), HomeIsValid(), HomeNewObject(), HomeSet(), HomeSetObject(), HomeSetObjectId(), HomeUnSwizzle()
property Name as %String;
Property methods: NameDisplayToLogical(), NameGet(), NameGetStored(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property SSN as %String;
Property methods: SSNDisplayToLogical(), SSNGet(), SSNGetStored(), SSNIsValid(), SSNLogicalToDisplay(), SSNLogicalToOdbc(), SSNNormalize(), SSNSet()

Indexes

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

Inherited Members

Inherited Properties

Inherited Methods

Storage

Storage Model: CacheStorage (ZENMVC.Person)

^ZENMVC.PersonD(ID)
=
%%CLASSNAME
Name
Home
DOB
FavoriteColor
MaritalStatus
SSN
Sex
Home2
Business
FeedbackOpens in a new tab