%ZHSLIB.PackageManager.Core.SemanticVersion
serial class %ZHSLIB.PackageManager.Core.SemanticVersion extends %Library.SerialObject, %XML.Adaptor
Property Inventory
Method Inventory
- Follows()
- FromListBuild()
- FromString()
- IsBackwardCompatibleWith()
- IsCompatibleWith()
- IsSnapshot()
- IsValid()
- Satisfies()
- ToString()
Parameters
parameter NAMESPACE = http://www.intersystems.com/HealthShare/PackageManager;
Inherited description: NAMESPACE specifies the XML namespace to be used when projecting the
class to XML. If NAMESPACE = "", the default namespace is used for the XML schema
is used as the namespace for his class.
Properties
property Build as RegExString (MAXLEN = 100, REGEX = "([0-9A-Za-z-])+(\.([0-9A-Za-z-])+)*");
Property methods: BuildDisplayToLogical(), BuildGet(), BuildIsValid(), BuildLogicalToDisplay(), BuildLogicalToOdbc(), BuildNormalize(), BuildSet()
property Major as %Integer (MINVAL = 0) [ Required ];
Property methods: MajorDisplayToLogical(), MajorGet(), MajorIsValid(), MajorLogicalToDisplay(), MajorNormalize(), MajorSet(), MajorXSDToLogical()
property Minor as %Integer (MINVAL = 0) [ Required ];
Property methods: MinorDisplayToLogical(), MinorGet(), MinorIsValid(), MinorLogicalToDisplay(), MinorNormalize(), MinorSet(), MinorXSDToLogical()
property Patch as %Integer (MINVAL = 0) [ Required ];
Property methods: PatchDisplayToLogical(), PatchGet(), PatchIsValid(), PatchLogicalToDisplay(), PatchNormalize(), PatchSet(), PatchXSDToLogical()
property Prerelease as RegExString (MAXLEN = 100, REGEX = "([0-9A-Za-z-])+(\.([0-9A-Za-z-])+)*");
Property methods: PrereleaseDisplayToLogical(), PrereleaseGet(), PrereleaseIsValid(), PrereleaseLogicalToDisplay(), PrereleaseLogicalToOdbc(), PrereleaseNormalize(), PrereleaseSet()
Methods
method Follows(pVersion As %ZHSLIB.PackageManager.Core.SemanticVersion) as %Boolean
Returns 1 if this version is a later version than pVersion.
From the SemVer 2.0.0 specificationOpens in a new tab:
1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta < 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1 < 1.0.0 Also, two prerelease versions with mismatched major/minor/patch should *not* follow each other; see: node-semverOpens in a new tab
From the SemVer 2.0.0 specificationOpens in a new tab:
1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta < 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1 < 1.0.0 Also, two prerelease versions with mismatched major/minor/patch should *not* follow each other; see: node-semverOpens in a new tab
classmethod FromListBuild(pList As %List) as %ZHSLIB.PackageManager.Core.SemanticVersion
classmethod FromString(pString As %String) as %ZHSLIB.PackageManager.Core.SemanticVersion
method IsBackwardCompatibleWith(pVersion As %ZHSLIB.PackageManager.Core.SemanticVersion) as %Boolean
Returns 1 if this version's number indicates that it will also support everything in pVersion.
That is, it has the same major and a later or equal minor version to pVersion.
method IsCompatibleWith(pVersion As %ZHSLIB.PackageManager.Core.SemanticVersion) as %Boolean
Returns 1 if this version's number indicates that it supports in pVersion.
That is, it has the same major and minor version as pVersion.
method IsSnapshot() as %Boolean
method Satisfies(pExpression As %ZHSLIB.PackageManager.Core.SemanticVersionExpression) as %Boolean
method ToString() as %String
Inherited Members
Inherited 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()
- LogicalToOdbc()
- OdbcToLogical()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()