Menu

assignment

Adam Tauno Williams

[Model] [Contact] [Enterprise]

assignment

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.

  • [#208] - assignment entity not rotated in Omphalos representation

Properties

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.

Omphalos

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

Flags

Flag ACL Char. Description
n/a

Examples

Project with Contact

 {'accessRight': '',
  'entityName': 'assignment',
  'info': '',
  'objectId': 479370,
  'sourceEntityName': 'Project',
  'sourceObjectId': 479340,
  'targetEntityName': 'Contact',
  'targetObjectId': 306970, }

Project with Enterprise

{'accessRight': '',
 'entityName': 'assignment',
 'info': '',
 'objectId': 479480,
 'sourceEntityName': 'Project',
 'sourceObjectId': 479340,
 'targetEntityName': 'Enterprise',
 'targetObjectId': 373790, }

Project with Team

{'accessRight': 'drwm',
 'entityName': 'assignment',
 'info': '',
 'objectId': 479400,
 'sourceEntityName': 'Project',
 'sourceObjectId': 479340,
 'targetEntityName': 'Team',
 'targetObjectId': 10003, }

Contact with Enterprise

{'sourceObjectId': 10181800,
 'objectId': 10181818, 
 'entityName': 'assignment',
 'targetEntityName': 'Enterprise',
 'targetObjectId': 10181739,
 'sourceEntityName': 'Contact', }

Enterprise with Contacts

{'sourceObjectId': 10181739,
 'objectId': 10181818,
 'entityName': 'assignment',
 'targetEntityName': 'Contact', 
 'targetObjectId': 10181800,
 'sourceEntityName': 'Enterprise', }

Related

Tickets: #208
Wiki: Contact
Wiki: Enterprise
Wiki: Model
Wiki: Project
Wiki: objectLink

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.