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?

Cinema.TicketOrder

persistent class Cinema.TicketOrder extends %Library.Persistent

SQL Table Name: Cinema.TicketOrder

Property Inventory

Properties

property Complete as %Boolean [ InitialExpression = 0 ];
Set Complete to true (1) to indicate order has been completed. Complete will be false (0) while the order is being input.
Property methods: CompleteDisplayToLogical(), CompleteGet(), CompleteGetStored(), CompleteIsValid(), CompleteLogicalToDisplay(), CompleteNormalize(), CompleteSet()
relationship Items as array of Cinema.TicketItem [ InitialExpression = $listbuild("Cinema.TicketItem","TicketOrder",+$this,"children",1,1) , Transient , Inverse = TicketOrder , Cardinality = children ];
Property methods: ItemsGet(), ItemsGetObject(), ItemsGetObjectId(), ItemsGetSwizzled(), ItemsIsEmpty(), ItemsIsValid(), ItemsNewObject(), ItemsRClose(), ItemsRExec(), ItemsRFetch(), ItemsRelate(), ItemsSQLCompute(), ItemsSet(), ItemsUnRelate()
property Total as %Float (SCALE = 2);
Property methods: TotalDisplayToLogical(), TotalGet(), TotalGetStored(), TotalIsValid(), TotalLogicalToDisplay(), TotalNormalize(), TotalSet()

Indexes

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

Inherited Members

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: CacheStorage (Cinema.TicketOrder)

^CinemaooTicketOrderD(ID)
=
Customer
Items
Total
%%CLASSNAME
Complete
FeedbackOpens in a new tab