[Model] [Contact] [Enterprise]
The assignment entity represents a formal relationship between objects; unlike an [objectLink] which represents an information relationship between objects. The associated [Contact]s of a [Project] are one example of a formal assignment relationship, another would the be association of a [Contact] with an [Enterprise].
IMPORTANT: The assignment is one of the two entity types that can under go transformation; specific conditions can transform an assignment into an acl. Read Understanding Entities for specific information.
Name | Type | Description |
---|---|---|
object_id | Integer (objectId) | |
parent_id | Integer (objectId) | |
child_id | Integer (objectId) | |
info | String | Only applicable to [Project] assignments This attribute is always an empty string on [Contact]/[Enterprise] assignments. |
rights | String | Only applicable to [Project] assignments This attribute is always an empty string on [Contact]/[Enterprise] assignments. |
is_acl | Boolean | Only applicable to [Project] assignments This attribute is always False on [Contact]/[Enterprise] assignments. |
Notice that the Omphalos representation of an assignment is rotated depending upon the first-class entity under which is it being represented. In this way they are unlike [objectLinks] entities which retain their direction. The "targetObjectId" is the opposite end of the assignment from the local entity being represented, which is the source object of the assignment.
Attribute | Legacy | Level | Data Type | Write | Description |
---|---|---|---|---|---|
objectId | NO | 0 | integer (objectId) | NO |
Flag | ACL Char. | Description |
---|---|---|
n/a |
{'accessRight': '',
'entityName': 'assignment',
'info': '',
'objectId': 479370,
'sourceEntityName': 'Project',
'sourceObjectId': 479340,
'targetEntityName': 'Contact',
'targetObjectId': 306970, }
{'accessRight': '',
'entityName': 'assignment',
'info': '',
'objectId': 479480,
'sourceEntityName': 'Project',
'sourceObjectId': 479340,
'targetEntityName': 'Enterprise',
'targetObjectId': 373790, }
{'accessRight': 'drwm',
'entityName': 'assignment',
'info': '',
'objectId': 479400,
'sourceEntityName': 'Project',
'sourceObjectId': 479340,
'targetEntityName': 'Team',
'targetObjectId': 10003, }
{'sourceObjectId': 10181800,
'objectId': 10181818,
'entityName': 'assignment',
'targetEntityName': 'Enterprise',
'targetObjectId': 10181739,
'sourceEntityName': 'Contact', }
{'sourceObjectId': 10181739,
'objectId': 10181818,
'entityName': 'assignment',
'targetEntityName': 'Contact',
'targetObjectId': 10181800,
'sourceEntityName': 'Enterprise', }
Tickets: #208
Wiki: Contact
Wiki: Enterprise
Wiki: Model
Wiki: Project
Wiki: objectLink