Annotation Interface PropertyConstraints
Supported API: true
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDetermines whether the generated setter for the associated property should veto a change if the object owning the property has been persisted.intThe fixed length of the array.intThe lower limit of a number or string.booleanIndicates whether or not this value is required.The case of the string.intThe upper limit of a number or string.
-
Element Details
-
stringCase
StringCase stringCaseThe case of the string. Ignored if the associated property is not a string.Rose conversion note: Corresponds to Class Attribute Specification -> Windchill -> StringCase.
Supported API: true
- Default:
DEFAULT
-
lowerLimit
int lowerLimitThe lower limit of a number or string. If unchanged for a string (left asInteger.MIN_VALUE) assumed to be zero (0).Rose conversion note: Corresponds to Class Attribute Specification -> Windchill -> LowerLimit.
Supported API: true
- Default:
-2147483648
-
upperLimit
int upperLimitThe upper limit of a number or string. If unchanged for a string (left asInteger.MAX_VALUE) assumed to be two hundred (200). This property affects the size of the associatedVARCHAR2/NVARCHAR(for example, a value of200will result in aSQLcolumn with "VARCHAR2(200)").Rose conversion note: Corresponds to Class Attribute Specification -> Windchill -> UpperLimit.
Supported API: true
- Default:
2147483647
-
fixedArrayLength
int fixedArrayLengthThe fixed length of the array. If left as the default value of0, assumes no fixed length. Any positive value implies that the array's length is fixed to the value specified.This property makes sense only if the property's type is an array. Setting this property will result in "n" columns numbered as
columnName_0tocolumnName_n-1. Non-fixed arrays (and collections) are stored as blobs.Supported API: true
- Default:
0
-
required
boolean requiredIndicates whether or not this value is required. Note that this doesn't always imply that the column be defined asNOT NULL, as the field may be part of anObjectMappablethat is not itself required.For foreign key roles, setting this property to
truehas the effect of giving it a cardinality of 1, otherwise it's considered 0..1. If you are constraining an existing foreign key, you may leave this value unspecified, or you may constrain a setting of 0..1 (required=false) by setting this totrue; "unconstraining" (going fromtruetofalse) is not supported, however.Rose conversion note: Corresponds to Class Attribute Specification -> Windchill -> Required and Association Specification -> Role A/B Detail -> Multiplicity.
Supported API: true
- Default:
false
-
changeable
Changeable changeableDetermines whether the generated setter for the associated property should veto a change if the object owning the property has been persisted.Rose conversion note: Corresponds to Class Attribute Specification -> Windchill -> Changeable.
Supported API: true
- Default:
DEFAULT
-