InterSystems IRIS Data Platform 2019.2  /  InterSystems Programming Tools Index

InterSystems Programming Tools Index
Previous section           Next section
InterSystems: The power behind what matters   

Define objects.
Background Information
An object is a container for a set of values that are stored together or passed together as a set. An object often corresponds to a real-life entity, such as a patient, a patient diagnosis, a transaction, and so on.
To define a class that can represent objects, you create a class that inherit from the core InterSystems object classes. An instance of that class is an object. For details, see Defining and Using Classes.
Available Tools
%RegisteredObject class
Defines registered objects. You can create these objects but you cannot save them. Registered objects are useful for carrying sets of related values that do not need to be stored.
Availability: All namespaces.
%Persistent class
Defines persistent objects. You can create and save these objects.
A persistent class is automatically projected to a table that you can access via InterSystems SQL.
Availability: All namespaces.
%SerialObject class
Defines serial objects. A serial class is meant for use as a property of another object. You can create and delete these objects, but you cannot save them or open them independently of the object that contains them.
When contained in persistent objects, these objects have an automatic projection to SQL.
Availability: All namespaces.
These classes are explained extensively in Defining and Using Classes.

Previous section           Next section
Send us comments on this page
View this book as PDF   |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-08-22 06:48:58