Element
|
Description
|
upperLimit, lowerLimit Constraints
|
A constraint defined when defining the modeled class. See the information on PropertyConstraint in Modeling Business Objects for more information.
|
String length Constraint
|
A constraint defined in the Type and Attribute Management utility. See Attribute Constraint Rules for more information.
|
Character Entry Limit
|
The property Character Entry Limit can be set on a modeled, global or local attribute. See Configuration Points for more information.
|
If you want to…..
|
Configuration
|
Restrict input to a certain number of characters on all the UIs in which the attribute will be displayed for editing.
Also apply this restriction during persistence. This applies when you want to create an object programmatically (without a UI) or, when some attributes of an object are not added to the Create UI of an attribute.
|
For modeled attributes, use upper limit, lower limit constraints.
For global and local attributes, use the String length constraint.
The string length constraint can be used on modeled attributes also to make configurations without requiring Java code compilation.
Limitation: The length of the Name attribute conforms to Windchill UI standards and so cannot be overridden using this constraint.
|
Restrict input to a certain number of characters on a specific UI only.
Also, do not apply this restriction during persistence.
|
Use the property Character Entry Limit.
Note: This limit has to be less than the maximum string length.
|