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 Resource 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. |
Date Time and Time Zone | Default Value: | Enables a value to be automatically supplied. |
Number | 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. | |
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. | |
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. |
URI | None | There are no restrictions for these types. |
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.