Open main menu

CDOT Wiki β

Changes

JSON Integration Adapter

306 bytes added, 09:53, 23 June 2011
Listed possible multiplicities
To determine multiplicity of MessageParts, use isCollection() method of MessagePart .
Note that multiplicity of the above screenshot are all : 0..1, that is zero or one instance. Possible node multiplicities:; '''[0.. A real message would have messages and values with > 1 multiplicity ]''' : zero or one instance (i.e. an optional entry); '''[1..1]''' : exactly one instance (i.e. required); '''[1..N]''' : collection of at least one, at most N instances; '''[0 ..0]''' : collection of zero to infinite instances (infinitedisplayed as '''[*]''') multiplicity; '''[1..0]''' : collection of at least one, possibly unlimited instances 
XMLJSONMessageMappingLoader.java - Used by the framework to autoload JSONMessagePartMapping for each of the message parts.