November 2018
Intermediate to advanced
528 pages
13h 21m
English
As presented earlier in the LC concepts and design section, we have four actors in our LC use case, namely, a buyer, a seller, an issuing bank, and a confirming bank. Let's define these participants in our CTO model as follows:
namespace org.example.lcenum ParticipantType { o BUYER o SELLER o ISSUING_BANK o CONFIRMING_BANK}// PARTICIPANTS//BANKparticipant Bank identified by bankID { o String bankID o String name o ParticipantType type}//USERparticipant User identified by userId { o String userId o String name o String lastName optional o String companyName
o ParticipantType type --> Bank bank}
We first define four types of participants—a buyer, seller, issuing bank, and confirming bank—in an enumeration, which is declared ...
Read now
Unlock full access