To Set Restrictions on Primitive Types and Attributes

You can specify restrictions for Primitive Types and Attributes. To do this, in the Properties View for the Primitive Type or Attribute, select the Advanced tab and expand the Restrictions.

The restrictions you can specify depend on the type (including subtype where appropriate) of your Attribute or Primitive Type. The following table describes the restrictions you can set for each type.

Type Property Description
Boolean Default Value: A default value of either True or False.
Date Default Value: Enables you to specify a value that should be automatically supplied for the type.
DateTime Default Value: Enables a value to be automatically supplied.
Decimal Decimal Places: Enables you to specify how many numbers there should be after the decimal point.

Does not apply to the Floating Point subtype.

  Default Value: Enables you to specify a value that should be automatically supplied for the type.
  Lower Limit: Enables you to specify the smallest number the type should allow.
  Lower Limit inclusive: Enables you to specify a lower limit within a range of numbers.
  Number Length: Enables you to specify the maximum length of the number.

Does not apply to the Floating Point subtype.

  Sub Type: Either Floating Point (the default) or Fixed Point.
  Upper Limit: Enables you to specify the highest number the type should allow.
  Upper Limit Inclusive: Enables you to specify a higher limit within a range of numbers.
Integer Default Value: Enables you to specify a value that should be automatically supplied for the type.
  Lower Limit: Enables you to specify the smallest number the type should allow.
  Number Length: Enables you to specify the maximum length of the number.

Does not apply to the Signed Integer subtype.

  Sub Type: Either Signed Integer (the default) or Fixed Length.
  Upper Limit: Enables you to specify the highest number the type should allow.
Object Sub Type: xsd:Any
Text Default Value: Enables you to specify a value that should be automatically supplied for the type.
  Maximum Length: The maximum length of the value allowed.
  Pattern: Enables you to create a pattern.
Time Default Value: Enables you to specify a value that should be automatically supplied for the type.
Attachment
Duration
ID
URI None There are no restrictions for these types.