Псевдоним
Загрузите объект com.ptc.windchill.option.model.ExpressionAlias в базу данных Windchill с помощью загрузчика Windchill.
Формат XML:
Атрибуты для csvBeginExpressionAlias
Атрибут
|
Описание
|
Обязательный или необязательный?
|
csvnumber
|
Номер правила
|
Необязательный
|
csvversion
|
Версия псевдонима
|
Необязательный
|
csviteration
|
Итерация псевдонима
|
Необязательный
|
csvdescription
|
Описание псевдонима
|
Необязательный
|
csvcontainerPath
|
Путь к контексту, в котором находится псевдоним
|
Необязательный
|
csvlifecycletemplate
|
Шаблон жизненного цикла
|
Необязательный
|
csvlifecyclestate
|
Шаблон состояния жизненного цикла
|
Необязательный
|
csvfolder
|
Расположение папки
|
Необязательный
|
Пример
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE NmLoader SYSTEM "standardX24.dtd">
<NmLoader>
<!-- Create alias "PURPLE" version [B.2] -->
<csvBeginAlias handler="com.ptc.windchill.option.load.Loader.beginAlias">
<csvtypedef>com.ptc.windchill.option.model.ExpressionAlias</csvtypedef>
<csvname>PURPLE</csvname>
<csvexpressionString>"Telecom" OR "Modem"</csvexpressionString>
<csvversion>B</csvversion>
<csviteration>2</csviteration>
<csvnumber>PURPLE</csvnumber>
<csvdescription>This is an alias named "PURPLE"</csvdescription>
<csvcontainerPath>/wt.inf.container.OrgContainer=Demo Organization/wt.pdmlink.PDMLinkProduct=Power System</csvcontainerPath>
<csvfolder>Default/folder1</csvfolder>
<csvlifecycletemplate>Default</csvlifecycletemplate>
<csvlifecyclestate>RELEASED</csvlifecyclestate>
</csvBeginAlias>
<csvEndAlias handler="com.ptc.windchill.option.load.Loader.endAlias"/>
<!-- Create alias "PURPLE" version [A.1] -->
<csvBeginAlias handler="com.ptc.windchill.option.load.Loader.beginAlias">
<csvtypedef>com.ptc.windchill.option.model.ExpressionAlias</csvtypedef>
<csvname>PURPLE</csvname>
<csvexpressionString>"Telecom" OR "Modem"</csvexpressionString>
<csvversion>A</csvversion>
<csviteration>1</csviteration>
<csvnumber>PURPLE</csvnumber>
<csvdescription>This is an alias named "PURPLE"</csvdescription>
<csvcontainerPath>/wt.inf.container.OrgContainer=Demo Organization/wt.pdmlink.PDMLinkProduct=Power System</csvcontainerPath>
<csvfolder>Default/folder1</csvfolder>
<csvlifecycletemplate>Default</csvlifecycletemplate>
<csvlifecyclestate>RELEASED</csvlifecyclestate>
</csvBeginAlias>
<csvEndAlias handler="com.ptc.windchill.option.load.Loader.endAlias"/>
<!-- Create alias "IVORY" version [A.1] -->
<csvBeginAlias handler="com.ptc.windchill.option.load.Loader.beginAlias">
<csvtypedef>com.ptc.windchill.option.model.ExpressionAlias</csvtypedef>
<csvname>IVORY</csvname>
<csvexpressionString>PURPLE</csvexpressionString>
<csvnumber>IVORY</csvnumber>
<csvdescription>This is an alias named "IVORY"</csvdescription>
<csvcontainerPath>/wt.inf.container.OrgContainer=Demo Organization/wt.pdmlink.PDMLinkProduct=Power System</csvcontainerPath>
<csvfolder>Default/folder1</csvfolder>
<csvlifecycletemplate>Default</csvlifecycletemplate>
<csvlifecyclestate>RELEASED</csvlifecyclestate>
</csvBeginAlias>
<csvEndAlias handler="com.ptc.windchill.option.load.Loader.endAlias"/>
<!-- Create alias "TURQUOISE" version [C.3] -->
<csvBeginAlias handler="com.ptc.windchill.option.load.Loader.beginAlias">
<csvtypedef>com.ptc.windchill.option.model.ExpressionAlias</csvtypedef>
<csvname>TURQUOISE</csvname>
<csvexpressionString>None</csvexpressionString>
<csvversion>C</csvversion>
<csviteration>3</csviteration>
<csvnumber>TURQUOISE</csvnumber>
<csvdescription>This is an alias named "TURQUOISE"</csvdescription>
<csvcontainerPath>/wt.inf.container.OrgContainer=Demo Organization/wt.pdmlink.PDMLinkProduct=Power System
</csvcontainerPath>
<csvfolder>Default/folder1</csvfolder>
<csvlifecycletemplate>Default</csvlifecycletemplate>
<csvlifecyclestate>UNDERREVIEW</csvlifecyclestate>
</csvBeginAlias>
<csvEndAlias handler="com.ptc.windchill.option.load.Loader.endAlias"/>
<!-- Create alias "MAGENTA" version [A.1] -->
<csvBeginAlias handler="com.ptc.windchill.option.load.Loader.beginAlias">
<csvtypedef>com.ptc.windchill.option.model.ExpressionAlias</csvtypedef>
<csvname>MAGENTA</csvname>
<csvexpressionString>"TURQUOISE" AND "Battery"</csvexpressionString>
<csvnumber>MAGENTA</csvnumber>
<csvdescription>This is an alias named "MAGENTA"</csvdescription>
<csvcontainerPath>/wt.inf.container.OrgContainer=Demo Organization/wt.pdmlink.PDMLinkProduct=Power System</csvcontainerPath>
<csvfolder>Default/folder1</csvfolder>
<csvlifecycletemplate>Default</csvlifecycletemplate>
<csvlifecyclestate>INWORK</csvlifecyclestate>
</csvBeginAlias><csvEndAlias handler="com.ptc.windchill.option.load.Loader.endAlias"/>
</NmLoader>