serial class %ZHSLIB.PackageManager.Core.SemVer.Comparator extends %Library.SerialObject

Property Inventory (Including Private)

Method Inventory (Including Private)


property Build as %String (MAXLEN = 100);
Property methods: BuildDisplayToLogical(), BuildGet(), BuildIsValid(), BuildLogicalToDisplay(), BuildLogicalToOdbc(), BuildNormalize(), BuildSet()
property Expression as %String [ ReadOnly ];
Property methods: ExpressionDisplayToLogical(), ExpressionGet(), ExpressionIsValid(), ExpressionLogicalToDisplay(), ExpressionLogicalToOdbc(), ExpressionNormalize()
property Major as %Integer (MINVAL = 0) [ Required ];
Property methods: MajorDisplayToLogical(), MajorGet(), MajorIsValid(), MajorLogicalToDisplay(), MajorNormalize(), MajorSet()
property Minor as %Integer (MINVAL = 0) [ Required ];
Property methods: MinorDisplayToLogical(), MinorGet(), MinorIsValid(), MinorLogicalToDisplay(), MinorNormalize(), MinorSet()
property Operator as %String (VALUELIST = ",=,<,<=,>,>=") [ InitialExpression = "=" , Required ];
Property methods: OperatorDisplayToLogical(), OperatorGet(), OperatorIsValid(), OperatorLogicalToDisplay(), OperatorLogicalToOdbc(), OperatorNormalize(), OperatorSet()
property Patch as %Integer (MINVAL = 0) [ Required ];
Property methods: PatchDisplayToLogical(), PatchGet(), PatchIsValid(), PatchLogicalToDisplay(), PatchNormalize(), PatchSet()
property Prerelease as %String (MAXLEN = 100);
Property methods: PrereleaseDisplayToLogical(), PrereleaseGet(), PrereleaseIsValid(), PrereleaseLogicalToDisplay(), PrereleaseLogicalToOdbc(), PrereleaseNormalize(), PrereleaseSet()


private method %OnNew(pExpr As %String) as %Status [ Language = objectscript ]
Inherited description: This callback method is invoked by the %New() method to provide notification that a new instance of an object is being created.

If this method returns an error then the object will not be created.

It is passed the arguments provided in the %New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:

Method %OnNew(dob as %Date = "", name as %Name = "") as %Status If instead of returning a %Status code this returns an oref and this oref is a subclass of the current class then this oref will be the one returned to the caller of %New method.

method Evaluate(pVersion As %ZHSLIB.PackageManager.Core.SemanticVersion) as %Boolean [ Language = objectscript ]
classmethod FromString(pExpr As %String, Output pComparator As %ZHSLIB.PackageManager.Core.SemVer.Comparator) as %Status [ Language = objectscript ]
method ToResolvedString() as %String [ Language = objectscript ]
method ToString() as %String [ Language = objectscript ]

Inherited Members

Inherited Methods (Including Private)