Home > Class Reference > ENSLIB namespace > %Dictionary.CompiledMethod
Private   Storage    


persistent class %Dictionary.CompiledMethod extends %Persistent, %Dictionary.CompiledMethodQuery


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 65 4 1 2


Abstract ClassMethod ClientMethod ClientName
CodeMode CompilerGenerated DefaultArgs Deprecated
Description ExternalProcName Final ForceGenerate
FormalSpec FormalSpecParsed FormalType GenerateAfter
Hash Id Implementation InheritedId
Internal KeywordError KeywordModified Label
Language Name NoContext NotForProperty
NotInheritable OptimizedMAC OptimizedRun Origin
OriginalName PlaceAfter Private ProcedureBlock
PublicList ReturnResultsets ReturnType ReturnTypeParams
RtnLabel Runnable RuntimeClient RuntimeCodeMode
RuntimeHash RuntimeLanguage SequenceNumber ServerOnly
SoapAction SoapBindingStyle SoapBodyUse SoapMessageName
SoapNameSpace SoapRequestMessage SoapTypeNameSpace SqlName
SqlProc SqlRoutine Stub StubMember
TagGenerator UserActualType WebMethod ZenMethod
%AddToSaveSet %AddToSyncSet %BuildIndices %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
%IsA %IsModified %IsNull %KillExtent
%LockExtent %LockId %New %NormalizeObject
%ObjectIsNull %ObjectModified %Oid %OnBeforeAddToSync
%OnDetermineClass %Open %OpenId %OriginalNamespace
%PackageName %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SerializeObject %SetModified %SortBegin %SortEnd
%SyncObjectIn %SyncTransport %UnlockExtent %UnlockId
%ValidateIndices %ValidateObject SummaryClose SummaryExecute
SummaryFetch parentOnDelete


parameter SQLENABLED = 1;


property Abstract as %Boolean;
Specifies that this is an abstract method. An abstract method has no implementation and has no executable code generated for it. Abstract methods exist solely for the purpose of defining a method signature or interface that can be overridden and implemented within one or more subclasses.
property ClassMethod as %Boolean;
Specifies that the method is a class method. Instance methods can only be invoked via an instantiated object while class methods can be directly invoked without an object instance.
property ClientMethod as %Boolean;
If true this method is only available on the server, and is to be projected as a client method.
property ClientName as %CacheString;
property CodeMode as %CacheString;
Specifies how a given method is implemented: as a routine call, lines of code to be compiled, an expression, or a method that will generate the resulting method or object.
property CompilerGenerated as %Boolean;
property DefaultArgs as %CacheString;
property Deprecated as %Boolean;
True if this method is deprecated.
property Description as %CacheString;
Specifies a description of the method.
property ExternalProcName as %CacheString;
Specifies the SQL procedure name in the foreign database.
property Final as %Boolean;
Specifies that subclasses cannot override the implementation of the method.
property ForceGenerate as %Boolean;
When true we always regenerate this method into each subclass even if normal rules would allow us to call the superclass implementation.
property FormalSpec as %CacheString;
Specifies the list of arguments. Each argument is of the format [&|*]<name>[:<type>][=<default>] where & means pass-by-reference and * means output-only.
property FormalSpecParsed as %CacheString;
property FormalType as %CacheString;
property GenerateAfter as %CacheString;
In the case of a method generator method, specifies that the generator should be invoked after the listed methods are generated.
property Hash as %CacheString;
property Id as %Integer;
property Implementation as %Stream.TmpCharacter;
The code that is executed when the method is invoked. In the case of an expression method, this is an expression. In the case of a call method, this is the name of a Cache routine to call.
property InheritedId as %Boolean;
property Internal as %Boolean;
If true, then do not display this item in automatic documentation.
property KeywordError as %Boolean;
property KeywordModified as %Boolean;
property Label as %CacheString;
property Language as %CacheString [ SqlFieldName = _Language ];
The language used to implement this method.
property Name as %Dictionary.CacheIdentifier [ Required ];
The name of the method.
property NoContext as %Boolean;
If true and in a datatype method, this prevents the * Set %val=..prop Set $this="" * that is added to the property method so you can override things like the Get/Set methods.
property NotForProperty as %Boolean;
property NotInheritable as %Boolean;
Specifies that this method is not inherited in subclasses.
property OptimizedMAC as %CacheString;
property OptimizedRun as %CacheString;
property Origin as %CacheString;
property OriginalName as %CacheString;
property PlaceAfter as %CacheString;
Specifies that the class compiler should place this method after the listed methods in the routine it creates for the class.
property Private as %Boolean;
Specifies that the method is private. Private methods can only be invoked by instance methods of this class or its subclasses.
property ProcedureBlock as %CacheString;
Specifies that this method uses procedure block for method code.
property PublicList as %CacheString;
Specifies the public list. This keyword is used only if the ProcedureBlock keyword is set to true.
property ReturnResultsets as %Boolean;
If true this method may return zero, one, or more Resultsets in the %sqlcontext.
property ReturnType as %Dictionary.CacheClassname;
Specifies the data type of the value returned by a call to the method. Setting ReturnType to an empty string specifies that there is no return value.
property ReturnTypeParams as %CacheString;
A comma separated list of any parameters on the ReturnType keyword.
property RtnLabel as %CacheString;
property Runnable as %Boolean;
property RuntimeClient as %Boolean;
property RuntimeCodeMode as %CacheString;
CodeMode to use for generated methods
property RuntimeHash as %CacheString;
property RuntimeLanguage as %CacheString;
property SequenceNumber as %Integer;
property ServerOnly as %CacheString;
Specifies that a method will not be projected to a Java or C++ client.
property SoapAction as %CacheString;
Lets you specify the HTTP SOAP action that must be used when invoking this web service method as a web method. For SOAP 1.1, the SOAP action is obtained from the SOAPAction HTTP header. For SOAP 1.2, it is obtained from the Content-Type HTTP header.
property SoapBindingStyle as %CacheString;
Specifies what type of SOAP invocation is used for a web method. This keyword is ignored for non-web methods.
property SoapBodyUse as %CacheString;
Specifies what kind of SOAP encoding is used for the inputs and outputs of a web method. This keyword is ignored for non-web methods.
property SoapMessageName as %CacheString;
Specifies the name of the child element of the body of the response message for a web service method.
property SoapNameSpace as %CacheString;
Overrides the SOAPNAMESPACE class parameter for this web service or web service client.
property SoapRequestMessage as %CacheString;
This keyword will reflects the expected element name for top element of the SOAP body in the SOAP request. This element is needed to distinguish between multiple requests which have the same SoapAction but different top level body elements.
property SoapTypeNameSpace as %CacheString;
Overrides the SOAPTYPENAMESPACE class parameter for this web service or web service client.
property SqlName as %CacheString;
If this method is projected as an SQL stored procedure, then this name is used as the name of the stored procedure.
property SqlProc as %Boolean;
Specifies that the method can be invoked as an SQL stored procedure. Only class methods can be called as SQL stored procedures.
property SqlRoutine as %CacheString;
If 'procedure' then this is equivalent to SqlProc keyword and means class method can be called as an SQL procedure. If 'function' then this class method can be called as an SQL function.
property Stub as %CacheString;
property StubMember as %CacheString;
property TagGenerator as %CacheString;
property UserActualType as %CacheString;
property WebMethod as %Boolean;
Specifies that a method can be invoked as a web method using the SOAP protocol.
property ZenMethod as %Boolean;
Specifies that the method should be projected to the web client for use in the Zen framework.
relationship parent as %Dictionary.CompiledClass [ Inverse = Methods,Cardinality = parent ];
Pointer to the containing parent object


classmethod %Exists(oid As %ObjectIdentity) as %Boolean
Checks to see if the object identified by the OID oid exists in the extent.

Returns %Boolean TRUE if it exists, FALSE if it does not.

classmethod %LockId(id As %String, shared As %Boolean = 0, timeout As %Integer) as %Status
Obtain an exclusive or shared lock on the object identified by id. The type of lock obtained is determined by shared. This method is normally generated by the storage class for persistent classes using %Library.CacheStorage or %Library.CacheSQLStorage.
classmethod %UnlockId(id As %String, shared As %Boolean = 0, immediate As %Boolean = 0) as %Status
Release an exclusive or shared lock on the object identified by id. The type of lock released is determined by shared. If this method is not overridden then the default implementation returns an error. This method is normally generated by the storage class for persistent classes using %Library.CacheStorage or %Library.CacheSQLStorage.
classmethod parentOnDelete(id As %String, concurrency As %Integer) as %Status


•index (IDKEY on Name) [IdKey];


•trigger OnDelete (BEFORE event DELETE)
•trigger OnInsertUpdate (BEFORE event INSERT/UPDATE)