Figure 5.3 illustrates this: the Default choice
is made when the caller wants to communicate in Spanish; otherwise English is
chosen.
CPL recognizes different kinds of conditions. These were represented in the
languages using different switch types, that is, with dedicated object types as
modeling concepts for each switch type. Each switch type thus had different kinds of
properties to be entered. Their de?¬?nition was taken directly from the DTD as with the
signaling actions discussed earlier:
. An address switch speci?¬?es decisions based on one of the addresses present in
the original call request. For this purpose the modeling concept needs two
property types: Field and Sub?¬?eld. The value for Field is mandatory and is
implemented as a list of ?¬?xed values, where the most common value is already
given as a default value. The Sub?¬?eld is used to specify which part of the
address is considered. To support the modelers, a prede?¬?ned list of possible
address parts is provided in the language. Because the Sub?¬?eld property is
optional, no default value was speci?¬?ed. If no sub?¬?eld is speci?¬?ed, then the
entire address was used when evaluating the switch. The results of the address
switch were represented along with the Address switch concept: a string value
to be matched and a matching policy.
Pages:
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217