An <property>
tag can contain zero or more <attribute>
tags. The <attribute>
tag is an empty tag that defines the property’s feature descriptor value or values. This tag lets you associate arbitrary name/string value pairs with any property. The name/value pairs are added to the property’s property descriptor via the setValue
method of java.beans.FeatureDescriptor
, and can later be used by the application. Here is an example:
<property name="employeeNumber" data-type="string"> <attribute name="unique" value="true"/> </property>
attribute attributes
Attribute | Description | Value |
---|---|---|
name | the name of the name/value pair | Required. |
value | the value of the name/value pair | Required |