Specification of a default value of an instance of type String or any of its specialisations.
Specializes
Attributes
| Name |
Data type |
Occurs |
Description |
|
value
|
String
|
0..1 |
The default value of an instance of type String or any of its specialisations, specified by this StringDefaultValueSpecification.
|
Constraints
| Type |
Name |
Specification |
| Instance is specification for constraint that binds to a PrimitiveType instance of kind String |
LRA Invariant |
inv: constraint.contraintBinding.instance.type->forAll(c: Class | c.oclIsType(Primitive) and ((c.qualifiedName = "lra::datatypes::uml::kernel::String")
or (c.ancestor()->exists(s: Class | s.qualifiedName = ("lra::datatypes::uml::kernel::String")))))
|
| Specification is exclusively by value or by reference |
LRA Invariant |
inv:
if not self.value.oclIsUndefined() then
self.valueRef.oclIsUndefined()
else
self.value.oclIsUndefined() and not self.valueRef.oclIsUndefined()
endif
|