role

Extends: edcEntity
Namespace: http://eurotech.com/edc/2.0
XML Schema: edc.xsd

XML

Elements

name (type) min/max
occurs
description
id (long) 1/1
accountId (long) 1/1
name (string) 0/1
createdOn (dateTime) 0/1
createdBy (long) 1/1
modifiedOn (dateTime) 0/1
modifiedBy (long) 1/1
tags (string) 0/1
permissions/permission (string) 0/unbounded
optlock (int) 1/1 The optlock field is used to detect that this entity has not been modified by someone else. When updating an entity, first do a find to get the latest version of the entity and note the value of the optlock. Then in the update operation, set the optlock value to match the value that you found. If someone else has updated the entity between your find and update operations, the update will fail and the db/server will return an error.

See this stackoverflow question for more information on optimistic locking.

JSON

property type description
id id (long)
accountId accountId (long)
name name (string)
createdOn createdOn (dateTime)
createdBy createdBy (long)
modifiedOn modifiedOn (dateTime)
modifiedBy modifiedBy (long)
tags tags (string)
permissions array of permissions/permission (string)
optlock optlock (int) The optlock field is used to detect that this entity has not been modified by someone else. When updating an entity, first do a find to get the latest version of the entity and note the value of the optlock. Then in the update operation, set the optlock value to match the value that you found. If someone else has updated the entity between your find and update operations, the update will fail and the db/server will return an error.

See this stackoverflow question for more information on optimistic locking.