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.Show

persistent class Cinema.Show extends %Library.Persistent

SQL Table Name: Cinema.Show

Information about when and where films are shown.

Property Inventory

Properties

property Film as Cinema.Film;
Property methods: FilmGet(), FilmGetObject(), FilmGetObjectId(), FilmGetStored(), FilmGetSwizzled(), FilmIsValid(), FilmNewObject(), FilmSet(), FilmSetObject(), FilmSetObjectId(), FilmUnSwizzle()
property StartTime as %Library.Time (FORMAT = 2);
Property methods: StartTimeDisplayToLogical(), StartTimeGet(), StartTimeGetStored(), StartTimeIsValid(), StartTimeLogicalToDisplay(), StartTimeLogicalToOdbc(), StartTimeNormalize(), StartTimeOdbcToLogical(), StartTimeSet()
property Theater as Cinema.Theater;
Property methods: TheaterGet(), TheaterGetObject(), TheaterGetObjectId(), TheaterGetStored(), TheaterGetSwizzled(), TheaterIsValid(), TheaterNewObject(), TheaterSet(), TheaterSetObject(), TheaterSetObjectId(), TheaterUnSwizzle()

Queries

query ShowTimes(P1 As %Library.String)
Selects ID, StartTime As %Library.Time, TheaterName As %Library.String
SQL Query:
SELECT ID, StartTime, Theater->TheaterName FROM Show WHERE (Film = :P1) ORDER BY StartTime, Theater
List of show times and locations for a single film.

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.Show)

^CinemaooShowD(ID)
=
Film
StartTime
Theater
%%CLASSNAME
FeedbackOpens in a new tab