When i took develop branch some time ago , to take an object from a document i had to use getObject.
But then now its reverted back to getPosition or getSecurity and so on.
Can i kindly know which system would be followed in the future ?
As you are probably aware, the develop branch is continuously updated by a large development team. Part of this means that some changes go in, get experienced by others and then reverted. In this case, the change was reverted.
The ongoing design will use getPosition()/getSecurity() etc. If you need to access the value from an instance of the abstract class, the method is now getValue() rather than getObject() - and getValue() is implemented separately to getPosition()/getSecurity() etc.