Choose the correct answer.
When defining a stereotype, a modeler may wish to put some constraints on the stereotype, its properties, or its relationships. What is the most suitable language to accomplish this?
26 comments · newest first
AH
Ahmad
1 month ago
But OCL is more standard for constraints, right?
EI
Eileen
1 month ago
I’m leaning towards A) DSL. It’s more flexible for modeling.
JE
Jennie
2 months ago
I agree, OCL is specific for defining properties.
DE
Dexter
2 months ago
I think the answer is B) OCL. It’s great for constraints.
KR
Kristal
2 months ago
D) XMI seems outdated. I’d stick with OCL for clarity.
TA
Tamar
2 months ago
I feel like C) VSL could work too, but not as strong as OCL.
HE
Herman
2 months ago
I’m leaning towards A) DSL. It’s more flexible for modeling.
LO
Lonna
2 months ago
I think the answer is B) OCL. It’s great for constraints.
CA
Cassi
3 months ago
I’m not sure, but E) XML seems too general for this question.
DO
Dorinda
3 months ago
I feel like B) OCL is the best choice too. It’s specific for constraints.
TR
Trina
3 months ago
I’m leaning towards A) DSL. It’s more flexible for modeling.
MA
Margurite
3 months ago
I think the answer is B) OCL. It’s great for constraints.
LO
Lonny
3 months ago
OCL definitely makes the most sense for this.
KA
Karon
4 months ago
Surprised that XML isn't the answer, thought it was more versatile.
LA
Lawanda
5 months ago
Wait, isn't DSL also a good option?
SH
Shawna
5 months ago
Totally agree, OCL is perfect for constraints!
CA
Carli
5 months ago
I think OCL is the right choice here.
PU
Pura
6 months ago
Surprised OCL is the answer, I always thought it was more complex!
AR
Arletta
6 months ago
I thought XML was for data representation, not constraints.
TA
Tashia
6 months ago
Wait, isn't DSL also a good option?
GL
Glendora
6 months ago
Definitely agree, OCL is used for constraints.
TI
Tiera
6 months ago
I think OCL is the right choice here.
HE
Hector
6 months ago
XML seems like it could be related, but I don't think it's used for defining constraints on stereotypes.
MA
Maybelle
7 months ago
I feel like VSL could be relevant too, but I can't recall its exact purpose in this context.
NI
Nichelle
7 months ago
I remember practicing a question about modeling languages, and I think DSL is more about domain-specific languages rather than constraints.
ER
Ernestine
7 months ago
I think the answer might be OCL since it deals with constraints in UML models, but I'm not entirely sure.