<Attribute>
Section:
Class
Required:
No
Value type:
Database attribute name
May be a pseudo attribute
Default:
No default
Product:
Creo Elements/Direct Model Manager, Creo Elements/Direct Drawing Manager
Description
The <Attribute> tag contains either the name of the attribute in the database, or a pseudo attribute name. It also encloses tags that define the attribute's characteristics.
This tag may be configured to use a localization catalog.
Example
This example shows an attribute configured with all the optional tags. Notice that the name of the attribute is contained within the Attribute tags, shown as MY_ATTRIBUTE in the first line of this example:
<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>
Please refer to the descriptions for each tag.
Was this helpful?