An OBE input type is a descriptor of a type of property for an OBE. For instance, it describes that a name field/property is an alphanumeric. We use this object to describe to the UI how to render a property to the user for editing.
| name | data type | constraints | description |
|---|---|---|---|
| code | string | A short code to identify the input type with. Do not change this. | |
| name | string | A long name to identify the input type with. | |
| dropdown | boolean | required boolean | A flag that determines if the value should come from a predefined list. |
Properties inherited from BaseHibernateEntity |
|||
| id | number | The unique internal ID of the object. | |
| version | number | For internal use only. This is the serialization recorder for optimistic locking of several objects between sessions. | |
Properties inherited from BaseEntity |
|||
| violations | array of SimpleViolation | A list of constraint violations, if any, that this object has. | |
Example
{
"code" : "...",
"name" : "...",
"dropdown" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
}