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?

Film クラスの拡張

第 1 章では、TitleDescriptionTicketsSoldPlayingNow の 4 つのプロパティを持つ Film クラスを生成しました。これに 3 つのプロパティを追加し、Film を拡張します。これにより Caché の強力な機能を知ることができます。

  • 観客の年齢制限を表す Rating プロパティ

  • 映画の時間 (分) を表す Length プロパティ

  • “Drama” や “Thriller” などの映画の種類を表す Category プロパティ

まずは Rating から始めましょう。

FeedbackOpens in a new tab