Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%IPM] >  [General] >  [SemanticVersionExpression] >  [Comparator]
Private  Storage   

serial class %IPM.General.SemanticVersionExpression.Comparator extends %SerialObject

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 7 5


Summary

Properties
Build Expression Major Minor Operator
Patch Prerelease

Methods
%AddToSaveSet %AddToSyncSet %ClassIsLatestVersion %ClassName
%ConstructClone %Delete %DeleteId %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %Extends %GetParameter
%GetSwizzleObject %IsA %IsModified %IsNull
%New %NormalizeObject %ObjectIsNull %ObjectModified
%OnBeforeAddToSync %OnDetermineClass %Open %OpenId
%OriginalNamespace %PackageName %RemoveFromSaveSet %ResolveConcurrencyConflict
%SerializeObject %SetModified %SyncObjectIn %SyncTransport
%ValidateObject Evaluate FromString LogicalToOdbc
OdbcToLogical ToResolvedString ToString


Parameters

• parameter DEFAULTGLOBAL = "^IPM.General.SemVer.Comp";

Properties

• property Build as %String(MAXLEN=100);
• property Expression as %String [ ReadOnly ];
• property Major as %Integer(MINVAL=0) [ Required ];
• property Minor as %Integer(MINVAL=0) [ Required ];
• property Operator as %String(VALUELIST=",=,<,<=,>,>=") [ InitialExpression = "=",Required ];
• property Patch as %Integer(MINVAL=0) [ Required ];
• property Prerelease as %String(MAXLEN=100);

Methods

• method Evaluate(pVersion As %IPM.General.SemanticVersion) as %Boolean
• classmethod FromString(pExpr As %String, Output pComparator As %IPM.General.SemanticVersionExpression.Comparator) as %Status
• method ToResolvedString() as %String
• method ToString() as %String


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.