<Attribute>
セクション:
Class
必須:
不要
値のタイプ:
データベース属性名
擬似属性も可
初期設定値:
デフォルトなし
製品:
Creo Elements/Direct Model Manager、Creo Elements/Direct Drawing Manager
説明
<Attribute> タグには、データベース内の属性名、または擬似属性名のいずれかが含まれます。また、属性の特性を定義するタグを包含します。
ローカライゼーションカタログを使用するよう、このタグを設定できます。
この例は、すべてのオプション タグ付きで構成された属性を示しています。属性の名前が Attribute タグに含まれることに注目してください (この例では、最初の行に示されている MY_ATTRIBUTE)。
<Attribute>MY_ATTRIBUTE
<AttributeEditorClass>com.mydomain.datamgmt.editor.MyAttributeEditor</AttributeEditorClass>
<BusinessObjectClass>com.mydomain.datamgmt.biz.MyBusinessObject</BusinessObjectClass>
<DataType>INTEGER</DataType>
<Description>This is a custom attribute for [insert description] </Description>
<DisplayName>My Attribute</DisplayName>
<IncludeIn2DBOM>true</IncludeIn2DBOM>
<IsLinkAttribute>true</IsLinkAttribute>
<IsPartAttribute>false</IsPartAttribute>
<Searchable>false</Searchable>
<SourceAttributeName>SOURCE_ATTRIBUTE</SourceAttributeName>
<Visible>false</Visible>
<Protect>true</Protect>
</Attribute>
詳しくは、各タグの解説を参照してください。
これは役に立ちましたか?