Simple Types
Since dynamic attributes are created at configuration time on the server, it is not possible to create simple types in the java dictionary to store the necessary type of information. The simple types for dynamic attributes are stored in the sap.com/tc/SimpleType entity service. These types also have the following attributes in addition to the standard attributes of an entity service.
Attribute Name |
Type |
key |
Description |
type |
com.sap.caf.core.name |
Y |
Name of the simple type |
typeDescription |
com.sap.caf.core.longText |
N |
Description of the simple type |
primitiveType |
com.sap.caf.core.shortText |
N |
XSD primitive type |
constraint |
complex attribute |
N |
Primitive type constraints |
constraint.minLength |
com.sap.caf.core.integer |
N |
Minimum length of the field type string |
constraint.maxLength |
com.sap.caf.core.integer |
N |
Maximum length of the field type string |
constraint.fractionDigits |
com.sap.caf.core.integer |
N |
Number of fraction digits of a decimal field type |
constraint.totalDigits |
com.sap.caf.core.integer |
N |
Total number of digits of a decimal field type |