Try OpenEdge Now
skip to main content
Online Help
Data Object overview : Reference : Data Service Catalog schema properties : Field property
 
Field property
The Field property, @openapi.openedge.entity.field.property, uses the following parameters:
Parameter
Description
Field
Specifies the name of the field in the schema.
Name
Specifies the name of the property to be added at the field level.
Value
Specifies the value of the property as a string. The value can also be a comma delimited list of strings.
Type
(Optional) Indicates how the property is generated in the Data Service Catalog file. The type can be a string, integer, boolean, or an array.
Note: The default type is a string. If the type is an array, the generated code looks like a JSON array of strings where each item corresponds to each item in the comma delimited value string.
Sample Field property annotation:
@openapi.openedge.entity.field.property (field="numOrders", name="readOnly", value="true", type="boolean").