epsilonlabs / emc-ptcim

EMC driver for the PTC Integrity Modeler
Eclipse Public License 1.0
2 stars 0 forks source link

getPtcProperty(property) rename and signature change #14

Open zolotas4 opened 7 years ago

zolotas4 commented 7 years ago

The current getPtcProperty(property) implementation returns a PtcProperty for the property given as input. However, the way it works is different. It returns null as it only updates the cache (so return in signature must change to void rather than PtcProperty). Secondly, it updates the cache with all the properties of the object so needs to be renamed from getPtcProperty to something more appropriate (e.g. retrieveObjectProperties() - no need for a parameter as the object is stored in the lastSetProperty).