Restriction Property Sheet Detail Tab

Facets are the constraints on the set of values of a simple type. The Details tab lists the facets associated with the restriction:

Icon

Facet



Length - Exact number of characters or list items allowed. It must be equal to or greater than zero



Minimum length - Minimum number of characters or list items allowed. It must be equal to or greater than zero



Maximum length - Maximum number of characters or list items allowed. It must be equal to or greater than zero



Minimum exclusive - Lower bound for numeric values. All values are greater than this value



Maximum exclusive - Upper bound for numeric values. All values are lower than this value



Minimum inclusive - Minimum value allowed for data type



Maximum inclusive - Maximum value allowed for data type



Total digits - Exact number of decimal digits allowed. It must be greater than zero



Fraction digits - Maximum number of decimal digits in the fractional part



Whitespace - Way of handling white spaces. The following values are available:

Preserve - white spaces are unchanged.

Replace - Tabs, line feeds and carriage returns are replaced with spaces.

Collapse - Contiguous sequences of spaces are collapsed to a single space. Leading and trailing spaces are removed.

A facet icon is displayed in the title bar of a facet property sheet.

Note:

For Enumeration and Pattern facets, click their corresponding tabs in the restriction property sheet and double-click the arrow left of an enumeration or a pattern value to display its property sheet.

Warning!  

Facets only appear in the schema, within a simple type declaration (see Preview tab in the model property sheet).

Facet General Properties

The General tab of a facet property sheet displays the following properties:

Property

Description

ID

ID of the facet. Its value must be of type ID and unique within the model containing the facet

Value

Value(s) of the facet

Fixed

To prevent a modification of the facet value(s), select the Fixed property


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com