Sybase PowerDesigner XML User Manual page 117

Table of Contents

Advertisement

Restriction general
properties
Defining restriction facets
Restriction detail
properties
XSM User's Guide
The General page of a simple type restriction property sheet displays the
following properties:
Property
Description
ID
ID of the simple type restriction. Its value must be of type ID
and unique within the model containing the simple type
restriction
Base type
Data type on which the restriction is based. Select a data type
in the Base type dropdown listbox or with the Browse tool
Embedded type
If selected, the base type disappears and a simple type is
created in the schema within the current simple type
Facets are the constraints on the set of values of a simple type.
You can find these facets in the Detail, Enumerations and Patterns pages of a
simple type restriction property sheet.
The Detail page of a simple type restriction property sheet displays a range of
facets:
Icon
Facet
Length
Minimum length
Maximum length
Minimum exclusive
Maximum exclusive
Minimum inclusive
Maximum inclusive
Total digits
Chapter 2 Building an XML model
Description
Exact number of characters or list items
allowed. It must be equal to or greater than zero
Minimum number of characters or list items
allowed. It must be equal to or greater than zero
Maximum number of characters or list items
allowed. It must be equal to or greater than zero
Lower bound for numeric values. All values are
greater than this value
Upper bound for numeric values. All values are
lower than this value
Minimum value allowed for data type
Maximum value allowed for data type
Exact number of decimal digits allowed. It must
be greater than zero
105

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PowerDesigner XML and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Powerdesigner 11.1

Table of Contents