Home > Class Reference > ENSLIB namespace > %Library.SystemBase

%Library.SystemBase

donotuse class %Library.SystemBase

Base superclass. For internal use only, this is automatically added to all classes as a superclass.

Method Inventory

Methods

classmethod %ClassIsLatestVersion() as %Boolean [ Language = objectscript ]
Return true if this instance is the latest version of this class, and false if the class has been recompiled so there is a newer version on disk
classmethod %ClassName(fullname As %Boolean) as %String [ Language = objectscript ]
Returns the object's class name. The fullname determines how the class name is represented. If it is 1 then it returns the full class name including any package qualifier. If it is 0 (the default) then it returns the name of the class without the package, this is mainly for backward compatibility with the pre-package behaviour of %ClassName.
abstract classmethod %DispatchClassMethod(Class As %String, Method As %String, Args...) [ Language = objectscript ]
Is used to implement an unknown class method call
abstract method %DispatchGetModified(Property As %String) [ Language = objectscript ]
Is used to get the value of the modified flag for an unknown property.
abstract method %DispatchGetProperty(Property As %String) [ Language = objectscript ]
Is used to get the value of an unknown property.
abstract method %DispatchMethod(Method As %String, Args...) [ Language = objectscript ]
Is used to implement an unknown method call. It is also used to resolve an unknown multidimensional property reference (to get the value of a property) because that syntax is identical to a method call.
abstract method %DispatchSetModified(Property As %String, Val) [ Language = objectscript ]
Is used to set the value of the modified flag for an unknown property.
abstract method %DispatchSetMultidimProperty(Property As %String, Val, Subs...) [ Language = objectscript ]
Is used to set the value of an unknown multidimensional property.
abstract method %DispatchSetProperty(Property As %String, Val) [ Language = objectscript ]
is used to set the value of an unknown property.
classmethod %Extends(isclass As %String) as %Integer [ Language = objectscript ]
Returns true (1) if this class is inherited either via primary or secondary inheritance from 'isclass'.
final classmethod %GetParameter(paramname As %String = "") as %String [ Language = objectscript ]
This method returns the value of a class parameter at runtime
classmethod %IsA(isclass As %String) as %Integer [ Language = objectscript ]
Returns true (1) if instances of this class are also instances of the isclass parameter. That is 'isclass' is a primary superclass of this object.
final classmethod %New(initvalue As %RawString) as %ObjectHandle [ Language = objectscript ]
Creates a new instance of object in memory. %New() creates an OREF value that refers to the object instance, registers the OREF with the system along with its class name, and reserves system storage for the properties.

%New() initializes all the object's properties to their default values and calls the user-provided method, %OnNew(), if it is present. The optional arguments are passed on to the %OnNew() method. If the object is persistent, its OID is set to null string (""). %New() returns an OREF value that refers to the new object instance or $$$NULLOREF if unable to create the object instance.

classmethod %OriginalNamespace() as %String [ Language = objectscript ]
Return the namespace this oref was created in. This also returns the namespace this class was first referenced in if calling class methods.
final classmethod %PackageName() as %String [ Language = objectscript ]
Returns the object's package name.
method %SetModified(value As %Integer) as %Status [ Language = objectscript ]
Setting the modified state of the object.

Subclasses