Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-ocl.dev] Legacy support for Juno

Hi

The bug/373289 branch now has a lot to review. (bug/377262 also awaits review).

Axel - the new selectByKind/Type() and selectByType() shortcutting select(oclIsKind/TypeOf(...)).oclAsType(...) may need IA support.

New String operations

String::+ - I thought this was Indigo but it isn't String::at() - I thought this was Indigo but it isn't String::characters() - I thought this was Indigo but it isn't
String::endsWith()
String::equalsIgnoreCase() - I thought this was Indigo but it isn't String::indexOf() - I thought this was Indigo but it isn't
String::lastIndexOf()
String::startsWith()
String::substituteAll()
String::substituteFirst()
String::toBoolean()
String::toLowerCase() - I thought this was Indigo but it isn't - toLower already there String::toUpperCase() - I thought this was Indigo but it isn't - toUpper already there
String::tokenize(*3)
String::trim()

New String regex support

String::matches()
String::replaceAll()
String::replaceFirst()

New Collection operations

Collection::max() - I thought this was Indigo but it isn't Collection::min() - I thought this was Indigo but it isn't
Collection::selectByKind()
Collection::selectByType()

Collection::sum() now works on a mix of Integer/Real/BigDecimal

New OclAny operations

OclAny::toString() - giving 'invalid' and 'null' appropriately

Inherited OclAny operations

Collection.oclIsInvalid
Collection::oclInUndefined

Complete OCL Import syntax

    Regards

        Ed Willink


Back to the top