|Determining whether an element contains a certain property [message #761237]
||Tue, 06 December 2011 06:55
| Roded Bahat
Registered: August 2011
I'm in the need of a condition which checks whether an element has a certain property.
At the moment, I'm doing the following:
property = element.getModelElementType().getProperty(this.property);
return property != null;
But for every failed getProperty() call, the host console shows the following message (in red nonetheless):
ERROR : Invalid model path "List" evaluated on my.package.IConstant.
Is there a better way?
[Updated on: Tue, 06 December 2011 08:44]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01487 seconds