Skip to main content

%Studio.ProjectItem

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

SQL Table Name: %Studio.ProjectItem

Represents an item within a Studio Project.

Property Inventory

Properties

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'.
Property methods: NameDisplayToLogical(), NameGet(), NameGetStored(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
relationship Project as Project [ Required , Inverse = Items , Cardinality = parent ];
Property methods: ProjectGet(), ProjectGetObject(), ProjectGetObjectId(), ProjectGetStored(), ProjectGetSwizzled(), ProjectIsValid(), ProjectNewObject(), ProjectOnDelete(), ProjectRClose(), ProjectRExec(), ProjectRFetch(), ProjectRelate(), ProjectSQLCompute(), ProjectSet(), ProjectSetObject(), ProjectSetObjectId(), ProjectUnRelate(), ProjectUnSwizzle()
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'.
Property methods: TypeDisplayToLogical(), TypeGet(), TypeGetStored(), TypeIsValid(), TypeLogicalToDisplay(), TypeLogicalToOdbc(), TypeNormalize(), TypeSet()

Indexes

index (NameIdx on Name,Type) [IdKey, Type = key];
Index methods: NameIdxCheck(), NameIdxDelete(), NameIdxExists(), NameIdxOpen(), NameIdxSQLCheckUnique(), NameIdxSQLExists(), NameIdxSQLFindPKeyByConstraint(), NameIdxSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: Storage (%Studio.ProjectItem)

{%%PARENT}("Items")(ID)
=
%%CLASSNAME
FeedbackOpens in a new tab