Home > Class Reference > ENSLIB namespace > %Studio.ProjectItem
Private  Storage   


persistent class %Studio.ProjectItem extends
%Persistent, %XML.Adaptor

Represents an item within a Studio Project.


Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 1


Name Project Type

%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PhysicalAddress %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SaveIndices %SerializeObject %SetModified %SortBegin
%SortEnd %SyncObjectIn %SyncTransport %UnlockExtent
%UnlockId %ValidateIndices %ValidateObject XMLDTD
XMLExport XMLExportToStream XMLExportToString XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType


• property Name as %String(MAXLEN=512,XMLNAME="name",XMLPROJECTION="attribute") [ Required ];
The name of the project item. For example if the class is called 'csp.loop' then this is 'csp.loop'. If the routine is 'TEST.INT' this is 'TEST.INT'.
• relationship Project as Project [ Inverse = Items,Cardinality = parent ];
• property Type as %String(XMLNAME="type",XMLPROJECTION="attribute") [ Required ];
Type of item in this project. Can be one of MAC, CSP, CLS, GBL, PKG, DIR or a user defined type. Note that MAC covers all routines types, such as INT, INC, BAS, MVB, MVI and MAC routines, the type of routine is put in the Name, such as 'TEST.INT'.


•index (NameIdx on Name,Type) [IdKey];