company logo

Property :: collectionLocked - Is collection locked

The function checks, whether the collection has been locked calling lockCollection(). When the collection is locked, the function returns true. Instances are also locked implicitly, when being stored in a transaction.

When the property does not handle a collection, when no instance is selected in the parent property or when the property handle is not valid, the function throws an exception.

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation details

bool Property  :: collectionLocked (  )