Using the Default Standard Integer Scheme Properties
This standard integer scheme is defined in wt.properties using the following default property settings:
wt.series.IntegerSeries.min=1
wt.series.IntegerSeries.delta=1
wt.series.IntegerSeries.max=2147483647
The use of the standard integer versioning scheme can be defined by setting up an alternate series using wt.series.IntegerSeries. For example:
wt.series.HarvardSeries.seriesNames=MilSpec,IntegerSeries
wt.series.HarvardSeries.IntegerSeries.delimiter=.
wt.series.HarvardSeries.IntegerSeries.depth=16
wt.series.HarvardSeries.IntegerSeries.level.1=wt.series.IntegerSeries
Additionally, you must define object initialization rules to set the integer series versioning scheme for the object types where integer series versioning is to be used. Be aware that document templates (of type wt.doc.WTDocument) are installed in the site context and use the default alphabetic versioning scheme. Therefore, you cannot change the existing versioning scheme for the wt.doc.WTDocument object type in the site context to an integer series. The following example will set the integer series versioning scheme for all part objects.
<AttributeValues objType="wt.part.WTPart">
<!-- set the version using the alternate MilSpec IntegerSeries -->
<AttrValue id="MBA|versionInfo"
algorithm="com.ptc.core.foundation.vc.server.impl.VersionInfoGenerator">
<Arg>wt.series.HarvardSeries.IntegerSeries</Arg>
</AttrValue>
</AttribiteValues>
For more information about using an alternate series, see
Назначение версий объектов.