counter

Returns the counter associated with the name or null if the named element is not in the model.

Return

the associated Counter. May be null if the provided name does not exist in the model

Note for Java users: This method may return null. Always check for null before using the result.

Parameters

name

The name of the Counter model element