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

User.LotteryActivity

persistent class User.LotteryActivity extends %Library.Persistent

SQL Table Name: SQLUser.LotteryActivity

The LotteryUser class represents a specific user activity the CSP Lottery Example application.

Property Inventory

Properties

property ActivityTime as %TimeStamp [ InitialExpression = $zdt($H,3) , Required ];
Property methods: ActivityTimeDisplayToLogical(), ActivityTimeGet(), ActivityTimeGetStored(), ActivityTimeIsValid(), ActivityTimeLogicalToDisplay(), ActivityTimeNormalize(), ActivityTimeOdbcToLogical(), ActivityTimeSet()
property ActivityType as %String [ Required ];
Property methods: ActivityTypeDisplayToLogical(), ActivityTypeGet(), ActivityTypeGetStored(), ActivityTypeIsValid(), ActivityTypeLogicalToDisplay(), ActivityTypeLogicalToOdbc(), ActivityTypeNormalize(), ActivityTypeSet()
property Amount as %Integer [ InitialExpression = 0 , Required ];
Property methods: AmountDisplayToLogical(), AmountGet(), AmountGetStored(), AmountIsValid(), AmountLogicalToDisplay(), AmountNormalize(), AmountSet()
property Product as %String [ Required ];
Property methods: ProductDisplayToLogical(), ProductGet(), ProductGetStored(), ProductIsValid(), ProductLogicalToDisplay(), ProductLogicalToOdbc(), ProductNormalize(), ProductSet()
property TheUser as LotteryUser;
Property methods: TheUserGet(), TheUserGetObject(), TheUserGetObjectId(), TheUserGetStored(), TheUserGetSwizzled(), TheUserIsValid(), TheUserNewObject(), TheUserSet(), TheUserSetObject(), TheUserSetObjectId(), TheUserUnSwizzle()

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 (User.LotteryActivity)

^User.LotteryActivityD(ID)
=
%%CLASSNAME
ActivityTime
ActivityType
Amount
Product
TheUser
FeedbackOpens in a new tab