Sybase XML manual Defining field general properties, ™ To create an identity constraint field

Models: XML

1 290
Download 290 pages 48.58 Kb
Page 86
Image 86

Defining identity constraints

Defining field general properties

The General page of a field property sheet displays the following properties:

Property

Description

XPath

An XPath expression relative to each element selected by the

 

selector of the identity constraint. It identifies a single element

 

(with a simple type) whose content or value is used for the

 

identity constraint

Stereotype

Sub-classification used to extend the semantics of an object

 

without changing its structure. It can be predefined or user-

 

defined

ID

ID of the field. Its value must be of type ID and unique within

 

the model containing the field

 

 

™To create an identity constraint field:

1Click the Fields tab of an identity constraint (unique, key or keyRef) property sheet.

2Click any empty line in the Fields page.

An arrow appears at the beginning of the line.

3Type an XPath expression.

4Click Apply.

5Double-click the arrow left of the row.

74

PowerDesigner

Page 86
Image 86
Sybase XML manual Defining field general properties, ™ To create an identity constraint field